Anders Åstrand
f68460603a
Add client-side user ignore list
...
This commit adds a client-side per-server ignore list.
* Whispers and talk from an ignored user is hidden
* Ignored users cannot join your tables
* Ignored users tables are hidden
2017-02-22 22:16:09 +01:00
vraskulin
a15220d51e
Bugfixes with != instead of equals and default toString calls
2017-02-15 19:52:20 +03:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
spjspj
fa97e4647e
Add field for server console
2017-02-05 14:11:05 +11:00
LevelX2
cec9d00a59
* Fixed that non creature spells with morph could not be countered with Remove if cast with morph.
2017-01-24 23:08:47 +01:00
LevelX2
0014c7dcc5
* Fixed some possible null pointer exceptions.
2017-01-22 22:46:14 +01:00
LevelX2
fdd28cde4b
* Possibility Storm - Fixed a problem with split card moving.
2017-01-22 22:04:50 +01:00
LevelX2
b7c0c1e8b4
* Mindbreak Trap - Fixed a problem with exiling copied (e.g. by Storm)spells.
2017-01-15 16:04:45 +01:00
igoudt
ac8962cb29
replaced enum comparison from equals to ==
2017-01-11 09:53:16 +01:00
igoudt
316137b5e2
replaced various !contains -> put with putIfAbsent
2017-01-09 13:07:32 +01:00
igoudt
ab624c22ef
library replaced !contains -> put with putIfAbsent
2017-01-09 12:09:03 +01:00
LevelX2
a75e4f4fcb
Fixed that adding counters to players did not work correctly (e.g. Winding Constrictor).
2017-01-07 23:53:47 +01:00
vraskulin
f04ba151f7
Refactoring
...
See github line by line comments in 'File changed'
2016-12-29 16:49:12 +03:00
LevelX2
ecc18072cf
Cyclopean Tomb - Update.
2016-12-28 02:02:57 +01:00
LevelX2
862ac38f51
* Fixed that special actions (e.g. delve mana payment) were handled correctly if a player plays a turn for another player.
2016-12-24 16:52:06 +01:00
LevelX2
3d95849c10
Some fixes to the Monarch designation.
2016-12-07 17:14:08 +01:00
LevelX2
68d0e6b9fa
Added the monarch concept to xmage and all related cards.
2016-11-27 01:14:32 +01:00
Dilnu
9ff3e2c670
Fix the counter removal code so it doesn't throw events when it's removing nonexistent counters.
2016-11-21 07:39:47 -05:00
LevelX2
a4e1c7aefd
Merge origin/master
2016-11-03 22:38:14 +01:00
LevelX2
d2561c1752
* Fixed a problem with triggered mana abilities. Fixed a problem that AI did not always select the needed mana color. Fixed a problem with Reflecting Pool not taking triggered mana abilities into account.
2016-11-03 22:37:54 +01:00
emerald000
c38f96ae55
[C16] Implemented Partner ability.
2016-11-01 22:59:39 -04:00
LevelX2
3f882b73c4
Fixed a problem with activated spells that could not be used but were used by AI and available mana calculation.
2016-11-01 14:31:02 +01:00
LevelX2
6598e6cc7f
* Some minor changes.
2016-10-28 07:53:18 +02:00
fireshoes
89dd981075
Merge
2016-10-17 23:45:47 -05:00
LevelX2
9cf9d69c55
Fixed minor problem of Volrath's Laboratory. Added combat flag to LIFE_LOST event.
2016-09-28 08:00:32 +02:00
LevelX2
c9bb0be016
Reworked selected modes handling. That fixed the Subtle Strike targeting problem.
2016-09-24 01:12:01 +02:00
LevelX2
8fb04ddbef
Fixed a bug that let cards disappear after moving cards from hand to library (e.g. Teferi's puzzle).
2016-09-22 21:36:21 +02:00
LevelX2
c82d6b5566
* Fixed some possible null pointer exceptions.
2016-09-20 23:40:25 +02:00
LevelX2
0042dc1ad9
Some minor fixes to game log / card rules text /messages.
2016-09-15 16:10:17 +02:00
LevelX2
14cd2dfa6d
* Jeleva, Nephalia's Scourge and Knowledge Pool - Fixed a bug that created null pointer exception if card was cast from exile.
2016-09-14 22:31:04 +02:00
LevelX2
445a8a242e
* Reverted the library quick fix for random because RandomUtil works now.
2016-09-14 19:02:27 +02:00
ingmargoudt
3128bd2b4b
replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead
2016-09-14 15:27:31 +02:00
LevelX2
d0a570aeee
Quick fix to get random shuffling.
2016-09-10 19:39:59 +02:00
Samuel Sandeen
ac6a289275
Merge branch 'magefree/master'
2016-09-08 19:12:19 -04:00
LevelX2
21baa14404
* Fixed a problem with token P/T reset (fixes the problem with Tree of Perdition and Soul Separator).
2016-09-08 17:15:40 +02:00
Samuel Sandeen
80da09471d
Merge remote-tracking branch 'magefree/master'
2016-09-07 23:31:38 -04:00
Samuel Sandeen
c33a731a4a
Refactor the core zone change code to use a common code path.
2016-09-07 23:31:26 -04:00
emerald000
bc0f53973d
Added an easier way to put custom text on buttons in a chooseUse prompt.
2016-09-06 02:07:59 -04:00
Samuel Sandeen
34846170c4
Remove an unused argument to Player.putInGraveyard
2016-09-05 11:47:52 -04:00
Samuel Sandeen
db3c2e9d8c
Clean up an inconsistency in ZoneChangeEvent handling
...
Some places set a bit on the ZoneChangeEvent if a permanent was meant
to enter the battlefield tapped but only MeldCard ever read that bit to
determine whether things should come into play tapped.
2016-09-05 09:51:32 -04:00
ingmargoudt
e2a479255a
refactor : removed all instances of new Random() and replaced with RandomUtil for a ThreadLocal randomizer
2016-09-05 15:03:47 +02:00
Samuel Sandeen
ef5ed5256a
Clean up the deprecated moveCards methods in Player
2016-09-03 20:04:12 -04:00
Samuel Sandeen
bec11804f5
Make the handling of counters more consistent.
...
This dramatically reduces the code duplication around counters handling.
2016-09-03 16:52:41 -04:00
LevelX2
6f89a67f68
* Some more changes to return boolean for addCounters.
2016-08-11 19:14:18 +02:00
LevelX2
9b683ef481
* Fixed that cost modification with target check (Icefall Regent) did not work for flashbacked spells ( fixes #1405 ).
2016-08-05 17:33:52 +02:00
drmDev
642de722f6
Mind Shatter bug fix for #2110 . Before a discard effect can happen, checks the amount of cards to be discarded > 0
2016-07-24 15:00:07 -04:00
emerald000
e1b3428a39
[EMN] Implemented basic Meld functionality.
2016-07-11 04:49:40 -04:00
draxdyn
62d5d45a45
Add support for F6
...
Skips everything until next turn, except for declare attackers and blockers.
F11 and F9 are a better design, but F6 is provided for compatibility with
established conventions.
There is currently no GUI button for it.
2016-06-24 21:34:30 +02:00
LevelX2
e74f5995cb
Fixed some more possible null pointer exceptions.
2016-06-18 14:46:35 +02:00