Evan Kranzler
f177ce14d2
fixed emblems not being removed when a player leaves a multiplayer game
2017-09-28 19:12:53 -04:00
Evan Kranzler
f7ba5716e9
fixed player becoming monarch incorrectly triggering things when they're already the monarch
...
fixes #3527
2017-09-25 20:23:34 -04:00
Evan Kranzler
7bb7754bb3
Updated how spell triggers get information about the spell that triggered them.
...
This prevents countering the spell from removing the effect of the trigger.
2017-09-18 17:02:55 -04:00
Evan Kranzler
217a17b864
Removed planeswalker uniqueness rule
2017-09-15 23:34:49 -04:00
Evan Kranzler
3cc178196e
Refactored more subtypes usages to enum
2017-09-08 11:05:58 -04:00
LevelX2
77f6f7b2b6
* Tawnos's Coffin - Fixed that it did not work correctly if abilities were copied by Mairsil, The Pretenderand and general rework.
2017-09-01 12:36:40 +02:00
LevelX2
2b8737b026
* Fixed text of planeswalker to keep to only include type not name.
2017-08-17 01:11:03 +02:00
LevelX2
a3e7aa6230
* Karn Liberated - fixed that after using its -14 ability the game does not properly set the starting player of the new game ( fixes #3786 ).
2017-08-10 07:04:32 +02:00
igoudt
89ac77e28a
clean ups, talk to interface rather than implementation
2017-07-29 23:55:11 +02:00
ingmargoudt
09f0c9ad97
huge rework on subtypes ( #3668 )
...
* huge rework on subtypes
* update for coat of arms
* fix test
2017-07-16 16:57:39 -05:00
LevelX2
3c6ede7407
* Improved game is infinite loop check to ask players only if some kind of iteration is recognized.
2017-06-05 12:27:59 +02:00
LevelX2
09e4435a89
* Fixed a problem that watcher added from cards are not reset between games of a match ( fixes #3228 ).
2017-05-28 18:24:37 +02:00
igoudt
c44c301f5b
subtypes #1
2017-05-20 22:41:25 +02:00
LevelX2
51b075bfdb
* Reworked infinite loop handling a bit.
2017-05-16 21:13:20 +02:00
LevelX2
5ce813ad87
* Added a simple check for infinite loops so that if players confirm the game ends in a draw ( #3329 ).
2017-05-16 14:45:30 +02:00
LevelX2
e284922017
* Added Celestial Convergence and some changes to game draw handling.
2017-04-21 15:18:04 +02:00
LevelX2
c033868795
[AKH] Added Vizier of Many Faces.
2017-04-16 13:04:38 +02:00
LevelX2
097a8ce0dd
Some rework to end turn logic and removing of stack objects (related to #2977 ).
2017-04-02 15:18:50 +02:00
ingmargoudt
594ffa2754
rewrote some streams and optionals
2017-04-01 22:45:40 +02:00
fireshoes
55b433ae36
[AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards.
2017-03-28 22:25:29 -05:00
ingmargoudt
5a57731968
added new helper methods to test for CardType, to get rid of the contains(CardType.XXX) everywhere, put the logic of that in one place and use the interface call
2017-03-04 00:16:36 +01:00
ingmargoudt
d01aed42ed
change enum equals to ==
2017-03-01 15:05:44 +01:00
vraskulin
11dc1e10f1
Few lambda's and removed explicit type from creating lists and hashmaps
2017-02-28 13:46:57 +03: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
emerald000
f4c9ac53db
Added Battlefield Scrounger, Death Spark and Rasputin Dreamweaver.
2017-01-31 11:06:49 -05:00
LevelX2
75cbfdf3b9
* Some changes to EnterTheBattlefield events, some other fixes ( fixes #2765 ).
2017-01-15 15:22:33 +01:00
vraskulin
076840df53
Big refactoring
...
I used Intellij IDEA to automatically refactor code to achive 3 goals.
1) get rid of anonymouse classes, and replace the with lamba to get more readeable and clean code (like in TableWaitingDialog).
2) make effectively final variables actually final to avoid inadvertent changes on it in further releases and keep objects as immutable, as possible.
3) Get rid of unused imports (most of the changes) in whole project classes.
2017-01-09 19:16:53 +03:00
Justin Herlehy
f3c0d3fce0
[MMQ] Ramosian Rally
...
Also fixed order of check in GameImpl for attached player to prevent possible NPE.
2016-12-31 14:41:38 -05:00
LevelX2
eb5b1771e6
Merge pull request #2728 from sotovdev/fix_29122016_2
...
Refactoring
2016-12-31 00:12:03 +01:00
Justin Herlehy
14507e7dc5
Fix GameImpl SBA for auras attached to players.
...
attachedToPlayer was always getting set to something so the null check in the SBA loop was not allowing auras to be put into the graveyard for being attached to an illegal player. Currently checks for hasLost() as the player leaving also sets loses to true.
2016-12-30 01:56:04 -05:00
vraskulin
c0cf22bbf7
Refactoring
...
See github line by line comments in 'File changed'
2016-12-29 16:16:08 +03:00
LevelX2
8075ea2e50
* Fixed a problem that Emblems created by permanents where its owner left the game caused errors in clients. Some handling cganges of emblems.
2016-12-27 16:00:22 +01:00
LevelX2
d85b9943f1
* Added logic to remove control effects that refer to permanents of a player that leaves the game.
2016-12-18 16:57:34 +01:00
LevelX2
61dd62b148
* Undiscovered Paradise - Fixed that it was not returned to hand on untap step ( fixes #2693 ).
2016-12-17 09:27:24 +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
LevelX2
8bf299e342
* Fixed and extended extra turn test.
2016-11-26 13:46:10 +01:00
LevelX2
360db9104f
* Fixed that the order of opening hand actions could not be chosen by the player.
2016-11-19 17:49:51 +01:00
LevelX2
8e42660e33
Fixed a problem that tokens that came into play with modified attributes (P/T e.g. from Master of Etherium) were seen for triggered abilities (e.g. Sword of the Meek ) with unmodified attributes.
2016-11-19 12:08:44 +01:00
LevelX2
777025bea4
Unstable Shapeshifter fixed some bugs and clean up.
2016-11-01 01:19:52 +01:00
Quercitron
75432f5b61
Revert rollback changes, fix rollback when extra turn was taken during an opponent's turn.
2016-10-31 02:51:40 +03:00
LevelX2
bf43ea9936
Added test and fixed some possible null pointer exception.
2016-10-22 12:45:50 +02:00
fireshoes
89dd981075
Merge
2016-10-17 23:45:47 -05:00
Dilnu
41c1540f45
Fix a couple typos
2016-09-18 20:16:56 -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
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
434be545f7
Merge remote-tracking branch 'magefree/master'
...
# Conflicts:
#
Mage/src/main/java/mage/abilities/condition/common/SourceHasSubtypeCondi
tion.java
# Mage/src/main/java/mage/game/permanent/PermanentToken.java
2016-09-03 20:06:33 -04:00
Samuel Sandeen
148f633672
Make the Counters API for card and permanent consistent.
2016-09-03 10:33:54 -04:00