Commit graph

1493 commits

Author SHA1 Message Date
Neil Gentleman
085b00499c fix Grinning Totem
the exiled card wouldn't be put in its owner's graveyard if Grinning Totem
changed zones before the delayed trigger

any cards using CardUtil.getCardExileZoneId for delayed effects are likely
broken in the same way
2015-11-22 18:40:46 -08:00
Neil Gentleman
230d1d37bd fix Grinning Totem, Thada Adel, Commune with Lava
opponent was able to cast the exiled cards

also changed Knacksaw Clique to use the same templating as Ornate Kanzashi
2015-11-22 18:40:38 -08:00
Neil Gentleman
f06de472a4 fix Hostility
was preventing damage to opponents regardless of source
2015-11-22 18:00:28 -08:00
Neil Gentleman
038d02e8d7 add test for non-standard booster generation 2015-11-21 18:35:10 -08:00
LevelX2
96bc3172f5 * Fixed a problem of returning cards from exile (e.g. Fiend Hunter) if the triggering permanent made multiple zone changes before the left battlefield triggered ability resolved to return the exiled permanents. 2015-11-21 23:41:41 +01:00
poixen
b0da2f2260 Merge pull request #1378 from poixen/mana_cleanup
Removed minus subtraction limits
2015-11-21 12:06:02 +01:00
poixen
a5242ff087 resolved conflicts 2015-11-21 12:02:55 +01:00
poixen
5c6bdfceb8 Merge pull request #1379 from poixen/manasymbol
Manasymbol
2015-11-21 11:47:28 +01:00
LevelX2
0d86e8e063 Xmage 1.4.5v0 2015-11-21 10:33:43 +01:00
poixen
bb8137c81a Fixed broken evolve test
As mentioned in the test comments:

“* I take two Ivy Lane Denizen on to the stack and then Renegade
Krasis's Evolve
     * Ability, so resolving Renegade Krasis's Evolve Ability is first
. (Maybe
     * Ivy Lane Denizen's target is any.) When Renegade Krasis's Evolve
Ability
     * resolves, +1/+1 counter is placed on it, but doesn't triggers
Renegade
     * Krasis's second ability.”

This means that Renegade dent put a counter on Adaptive, as the ivy +1
triggers are still on the stack
2015-11-21 00:12:23 +01:00
poixen
f2972c5b8e Updated Phyrexian Mana
+ “A Phyrexian mana symbol represents a cost that can be paid either
with *one mana of its color* or by paying 2 life”. These symbols are
mono colored, as such I have made them so.
+ Added test cases for phyrexian mana symbols
2015-11-20 22:43:26 +01:00
poixen
6138af0ffb Added Snow Mana Test
+ Added test case for snow mana
2015-11-20 22:29:49 +01:00
poixen
09ea717ed3 Added Hybrid Mana Tests
+ Added hybrid mana test cases
2015-11-20 22:24:55 +01:00
poixen
f34e69308e Updated mono colored hybrid mana type
+ “107.4e. Hybrid mana symbols are also colored mana symbols.” I have
added the Type COLORED to each mono hybrid symbol
+ added tests for hybrid mana symbols
2015-11-20 22:07:24 +01:00
poixen
f6cc03ec44 Added W mana test case
Added U mana test case
Added B mana test case
Added R mana test case
Added G mana test case
2015-11-20 20:59:52 +01:00
poixen
56be135532 Removed minus subtraction limits
+ Removed minus subtraction limits to allow other areas of code to work
2015-11-20 17:22:48 +01:00
LevelX2
8a133a43d0 Added test for Mana.enough method. 2015-11-20 15:06:00 +01:00
Quercitron
7e58dc70d5 Update Swiss tournament pairing - For the last round, for each unpaired player pair against the highest ranked player they haven't played against 2015-11-20 02:54:50 +03:00
LevelX2
b30a6c4b15 * Cryptoplasm - Fixed that the copied creature did not have the triggered ability (fixes #1367). 2015-11-19 23:28:12 +01:00
LevelX2
c4ab5806e0 Revert "Mana Class Overhaul" 2015-11-19 22:59:57 +01:00
LevelX2
68ff09c219 Revert "Mana updates" 2015-11-19 22:59:15 +01:00
LevelX2
f4871fe489 Merge pull request #1375 from poixen/mana_cleanup
Mana updates
2015-11-19 22:37:14 +01:00
poixen
05b841577a added subtraction logic to enough()
+ added subornation logic to enough(). We do not want to mix the public
subtract() call with this method. As doing so would mean that either a)
subtraction can go below 0 (this should not happen) or b) we break this
function with exceptions. This is a work around for these scenarios.
2015-11-19 17:42:59 +01:00
poixen
2c617a6aaf Mana updates
+ calling subtraction will now throw an exception if you try and use
more mana than is available. This is better than setting it to 0.
Setting to 0 impose that you should still be allowed to perform the
action.
+ updated subtraction test to check for exception
+ subtractionCost() will not allow using mana that is not available,
same as subtract()
2015-11-19 17:09:40 +01:00
LevelX2
ec7c888044 Some fixes to put token onto battlefield handling of cards. Some minor reworks. 2015-11-19 15:52:45 +01:00
LevelX2
7bb5d1bb43 Merge pull request #1374 from poixen/mana_cleanup
Mana Class Overhaul
2015-11-19 14:37:39 +01:00
Quercitron
486d547f5e Fix Swiss pairing for the case when some players have left the tournament 2015-11-19 13:18:43 +03:00
poixen
1f5638539f Class Overhaul
+ added javadoc
+ added final to method variables that should not be mutated
+ Mana can no longer be initialised with minus values
+ added null assertions
+ renamed ‘addXXX’ to ‘increaseXXX’. Add implies that you are able to
add variable amounts.
+ subtraction can no longer allow minus values.
+ removed unused state
+ refactored classes use renamed/removed mana calls
+ added comment to contains(), needs to be looked into?
+ Added validation to setting of mana. Can no longer be set to minus
values. Will log if an attempt is made
+Added comment to static mana, this is unsafe.
2015-11-19 09:53:52 +01:00
Quercitron
05a789cd8b Use approach with minimal weight matching to determine Swiss tournament pairings 2015-11-19 02:58:02 +03:00
LevelX2
7044e58231 [C15] Added Scourge of Nel Toth. 2015-11-18 17:39:32 +01:00
LevelX2
70bce1c082 * Void Winnower - Fixed that the check for even casting costs did not work correctly. 2015-11-14 11:24:26 +01:00
LevelX2
d3000da3a3 * Void Winnower - Fixed that the check for even casting costs did not work correctly. 2015-11-14 11:14:50 +01:00
LevelX2
50b5602459 * Conflagrate - Fixed that the damage amount could be calulated if cast by flashback. 2015-11-14 10:01:13 +01:00
LevelX2
1335d58e77 * Collapsing Borders - Fixed that it did not give life to players. 2015-11-14 02:33:24 +01:00
LevelX2
4711e0cf99 Changed ability handling of modal spells to be able to select the same mode multiple times with different targets. 2015-11-14 01:56:56 +01:00
LevelX2
431d0005f2 Updated modes to handle selection of modes multiple times (not working yet if targets included). 2015-11-08 20:07:02 +01:00
LevelX2
6f2d3a18c0 [C15] Added Myriad keyword. 2015-11-08 11:51:36 +01:00
LevelX2
f3e8a93316 * Renegade Krasis - Fixed that check if Renegade Krasis was evolved did not always work correctly. 2015-11-07 21:21:03 +01:00
LevelX2
b1c3d690f5 * Fixed some ability and subtype removing effects (fixes #1352). 2015-11-07 12:29:31 +01:00
LevelX2
27ae613ce8 * Fixed handling of zoneChangeCounter of PermanentCard (fixes #1353). 2015-11-06 12:28:58 +01:00
LevelX2
3de7ff6808 * Some rework of card moving after spell countering. 2015-11-05 00:37:30 +01:00
LevelX2
1139495fd7 * SetPowerToughnessSourceEffect - Set the correct sublayer to use (fixes #1354). 2015-11-04 22:31:35 +01:00
LevelX2
af18f95bba Minor changes. 2015-11-04 17:16:45 +01:00
LevelX2
54d28550b4 Added a test. 2015-11-04 12:28:48 +01:00
LevelX2
2e49a74aab * Fixed test with Flashback and converge. 2015-10-31 10:32:45 +01:00
LevelX2
3beb5568c4 * Karn Liberated - Fixed that commanders were not returned to command zone after game reset. 2015-10-31 00:55:12 +01:00
LevelX2
e0c1492f88 * Fixed a problem that the AI was locked if a attack fee has to be paid but the AI was not able to pay the costs. 2015-10-30 22:34:42 +01:00
LevelX2
2153d5ccf5 * Fixed that for spells cast with flashback values calculated from the paid mana (e.g. Converge) did not work correctly. 2015-10-30 00:30:53 +01:00
LevelX2
d79776e589 * Added some tests. 2015-10-28 17:05:58 +01:00
Neil Gentleman
0c988de9fb fix Impelled Giant 2015-10-27 20:24:57 -07:00
LevelX2
5c31b03c00 * Fixed a problem that ability controller of replacement effects for cards entering the battlefield were not changed early enough (e.g. causing problem if putting Canopy Vista of opponent with Oblivion Sower onto th ebattlefield). 2015-10-27 17:55:38 +01:00
Toby Lawrence
d42e5fed78 Razorverge Thicket should enter untapped only if you control two or less lands. 2015-10-25 17:58:20 -04:00
LevelX2
f14cbb7f36 * Fixed a bug with removing spells from stack (e.g. Split Second had some problems) fixes #1333. 2015-10-23 18:25:36 +02:00
LevelX2
92bcd0d522 * Changed some more card movement handling. 2015-10-22 23:02:07 +02:00
LevelX2
2aaea46dc6 * Fixed that the exile and return effect of the flip planeswalker did not always work correctly. 2015-10-22 15:38:50 +02:00
LevelX2
af67e27bcd * Alesha, Who Smiles at Death - Fixed that the move card to battlefield worked not correctly. 2015-10-22 15:37:58 +02:00
LevelX2
4629366ae7 * Fixed that spells without mana costs but suspend could be cast with no mana (e.g. Ancestral Vision). 2015-10-21 20:16:52 +02:00
LevelX2
d906fc8c00 * Fixed that damage redirection to planeswalker did cause an exception. 2015-10-21 15:35:58 +02:00
LevelX2
d20bbcfe0b * Fixed that permanents brought onto battlefield by search abilities were always tapped. 2015-10-21 15:14:20 +02:00
LevelX2
701a722904 * Fixed some redirect effect sthat were implemented as prevention effects (fixes #1216). 2015-10-20 22:58:24 +02:00
LevelX2
d58288da6d Some changes to RedirectionEffect class. Fixed that Harm's Way and Shaman en-Kor prevented the damage instead of only redirecting the damage. 2015-10-20 17:16:13 +02:00
LevelX2
606bf4d6e0 * Fixed that it was not possible to play spells without costs with alternative costs (e.g. Ancestral Visions with Omniscience). Fixed that playing spells with alternate costs did also remove additional costs (e.g. card with entwine cast with Omniscience). 2015-10-20 00:44:32 +02:00
LevelX2
7c35a69360 * Fixed a bug that if copied spells should be shuffled into the library the original spell was removed from the stack. 2015-10-19 22:36:28 +02:00
Neil Gentleman
3817118bc0 Fix 'Of', 'By' and 'The' in card names 2015-10-19 00:44:26 -07:00
LevelX2
415700ccb2 * Some more changes for rework of ENTERS_THE_BATTLEFIELD event and card movement. 2015-10-18 23:33:23 +02:00
LevelX2
4216fbab8c * Some more changes for tework ENTERS_THE_BATTLEFIELD event for replacement effects. 2015-10-18 11:11:48 +02:00
LevelX2
d145885d2d * Sylvan Library - Fixed that a player that controlled a Sylvan Library from another player was not forced to play life for cards he kept from Sylvan Library's triggered ability (fixes #1307). 2015-10-18 10:21:12 +02:00
LevelX2
4243a1d3a3 Merge origin/master
Conflicts:
	Mage.Sets/src/mage/sets/gatecrash/MasterBiomancer.java
2015-10-17 16:33:05 +02:00
LevelX2
59ef2a2889 * Reworked ENTERS_THE_BATTLEFIELD event for replacement effects. Some rework to card movement. 2015-10-17 16:30:28 +02:00
LevelX2
597d530a37 Some minor changes. 2015-10-16 15:03:40 +02:00
LevelX2
d264dd83e1 * Replaced some custom card effects. Updated enters battlefield replacement effects for new handling. 2015-10-15 23:47:06 +02:00
LevelX2
046da0f5d1 * Some changed to card moving (not finished) 2015-10-15 08:32:58 +02:00
LevelX2
52d0adcac1 Fixed some problems with UUID comparing and some problems with card moving. 2015-10-14 17:54:55 +02:00
LevelX2
e166018027 * Fixed that continuous effects were not yet applied to lands entering the battlefield (preventing Prismatic Omen and Valakut the Molten Pinnacle combo to work). 2015-10-13 22:35:50 +02:00
LevelX2
00f48b005d Added test. 2015-10-12 23:50:29 +02:00
LevelX2
288a1ec02c * Oath of Lieges - Fixed target handling (fixes #1312). 2015-10-12 23:10:16 +02:00
LevelX2
303362fa12 * Paradox Haze - Fixed that check if a step is the first upkeep step of a turn did not work always correctly (fixes #1313). 2015-10-12 17:35:04 +02:00
LevelX2
aa525bf0d2 Merge origin/master 2015-10-12 09:12:22 +02:00
LevelX2
8dd9fbea40 Conspire - The player is now asked to use conspire only if he is able to pay the tap costs. 2015-10-11 23:56:29 +02:00
LevelX2
981a27ccbf * Fate transfer - Fixed that +1/+1 or -1/-1 counters on target permanent were not applied. 2015-10-11 18:13:14 +02:00
LevelX2
8b8097878c * Reworked/Cleaned card movement handling. 2015-10-11 03:52:38 +02:00
LevelX2
819d341fbb * Nissa, Sage Animist - Added test for +1 ability. 2015-10-09 14:55:39 +02:00
LevelX2
987280c4e7 * Blizzard Specter - Fixed that the seond mode (discard) did not work. 2015-10-09 14:22:21 +02:00
LevelX2
d8cf0d7a4b Fixed that land enchantments that caused the enchanted land to become a basic land type removed wrongly other card types than Land and non basic land subtypes (e.g. Spreding Seas enchanting animated Blinkmoth Nexus). 2015-10-09 00:13:41 +02:00
LevelX2
cb250a065a Fixed that triggered abilities from sacrificed permanents did also trigger if the permanent was face down before the sacrifice. 2015-10-07 17:47:25 +02:00
LevelX2
f24a1b3898 * Fixed check of dies attched triggered abilities not always triggering if attachment and attached object went to graveyard at the same time. 2015-10-03 19:23:58 +02:00
LevelX2
85f0cc6bb3 Fixed variable remove counter costs to work also correctly if X=0 (e.g. Retribution of the Ancients and Willbreaker). 2015-10-03 18:22:14 +02:00
LevelX2
f6ec543b1b TestPlayer fixed that target events created by RestPlayer are reset back if ability activation failed. 2015-10-03 18:20:59 +02:00
LevelX2
7b68604471 Some changes/fixes to conspire ability. 2015-10-03 13:33:22 +02:00
emerald000
435eb49b58 Added missing Licids + tests (including 2 failing tests). 2015-10-02 23:38:11 -04:00
LevelX2
63c6aa226a * Spellskite - Fixed a bug that wrong log message was written if target was chnaged from a player to spellskite. 2015-10-01 22:01:49 +02:00
LevelX2
4b41628032 * Added test. 2015-09-30 16:58:03 +02:00
LevelX2
8044940a97 * Fixed a bug that if all targets (if targets were set) of a spell with an up to target definition (e.g. Adverse Conditions) became illegal the spell did not fizzle as it should. 2015-09-30 00:53:33 +02:00
LevelX2
0d755b3c89 Some minor changes. 2015-09-29 17:37:51 +02:00
LevelX2
6cc2ac0e70 * Zada, Hedron Grinder - Fixed a bug with checking and copying modal spells. 2015-09-28 19:27:51 +02:00
LevelX2
0680560225 * Compost - Fixed that it triggered for all cards going to opponents graveyard (instead of only black cards). 2015-09-28 15:14:50 +02:00
LevelX2
7650f53dee * Rosheen Meanderer - Fixed that the created conditional mana could only be used for spells. 2015-09-27 10:29:30 +02:00
LevelX2
9e1111748d * Enslave - Fixed that the set source of the damge was wrong. 2015-09-27 09:23:40 +02:00
LevelX2
f22fb380b7 * Reaper of Sheoldred - Fixed that damage was sometimes dealt to Reaper of Sheoldred controller. 2015-09-27 01:21:47 +02:00
LevelX2
46fa935172 * Emrakul, the Aeons Torn, Ulamog, the Infinite Gyre, Kozilek, Butcher of Truth - Fixed that the shuffle graveyard to library was wrongly done for the controller of instead the owner. 2015-09-27 00:22:51 +02:00
LevelX2
822528d05c * Splice onto Arcane - Fixed that an arcane spell with no targets did not fizzle if a targeted spell was spliced with it that has no more legal targets on resolution (so all targets of the spell were illegal). 2015-09-21 17:57:27 +02:00
LevelX2
b2ff7ac380 * Monocolor hybrid mana - Fixed that the payment did not always try to pay the colored cost if possible. 2015-09-20 19:13:18 +02:00
LevelX2
391d247e7c * Brutal Expulsion - Fixed that also spell targets were handled correctly. 2015-09-20 10:31:14 +02:00
LevelX2
5a8ca36916 * Ondu Rising - Fixed that the attacking creatures did not get lifelink. 2015-09-20 09:25:25 +02:00
LevelX2
391b766b6e Some minor changes. 2015-09-16 15:45:38 +02:00
LevelX2
8f64a2ab54 * Fixed that a player doing a library search with a stated quality (701.15b) couldn't fail to find a card if cards with the stated quality did exist in the searched library. 2015-09-14 23:36:32 +02:00
LevelX2
6b50a02e3c Added a test. 2015-09-14 17:47:06 +02:00
LevelX2
63e25cf132 * Shallow Grave - Fixed that the delayed triggered ability did also effect the target if it changed zone meanwhile (fixes #1262). 2015-09-13 08:47:45 +02:00
LevelX2
b29fe86aa0 Added a test. 2015-09-12 20:37:24 +02:00
LevelX2
88c18bcd8c * Infernal Scarring - Fixed that the "Dies" trigger did not work if the enchanted creature was sacrificed (e.g. using Nantuko Husk). 2015-09-12 20:14:44 +02:00
LevelX2
0ca991c4ba * Starfield of Nyx - Fixed that the continuous effect's dependancy to continuousEffects that add subtype aura was not checked. Reworked the dependency check to be a bit more generic (#1259). 2015-09-12 19:35:02 +02:00
LevelX2
1175a18661 * Fixed put token into play thta's of copy of target effects to handle targets correctly that already copy something (e.g. Kiki-Jiki, Mirror Breaker copying a Body Double creature). 2015-09-12 14:52:14 +02:00
LevelX2
963f371c12 * Anafenza the Foremost - Fixed that animated permanents (e.g. Lavaclaw Reaches) were not moved to exile if they died while beeing a creatures. 2015-09-11 21:50:23 +02:00
LevelX2
464955bd3a Fixed that for enchantments put into play (e.g. by Zur the Enchanter) that the selection of the enchanted permanent is not handled targeted. 2015-09-10 23:59:53 +02:00
LevelX2
340398fb74 * Fixed that state triggered abilities were not checked at the correct times. 2015-09-09 00:51:41 +02:00
LevelX2
e37c9a6472 * Fixed some problems with creation of tokens of target permanents (fixes #1244). 2015-09-08 18:13:32 +02:00
LevelX2
9aa14cdba8 * Added some tests. 2015-09-07 16:14:57 +02:00
LevelX2
94c0e05891 * Suspend - Fixed that creatures coming into play with suspend didn't gain haste anymore. 2015-09-07 15:03:19 +02:00
LevelX2
fb819f1f51 Added test (failing because bug not fixed yet). Some minor changes. 2015-09-06 23:29:58 +02:00
LevelX2
9a37bd28ad Xmage 1.4.4v0 2015-09-05 12:51:07 +02:00
LevelX2
e5c667cca9 * Roiling Terrain - Fixed exception bug as it was cast. 2015-09-05 11:37:57 +02:00
LevelX2
0aacff4e6a * Fixed a bug that ended continuous effects were not already removed before an aura enters the battlefield (e.g. Brago + Pentarch Ward combo) fixes #1238. 2015-09-05 10:27:04 +02:00
LevelX2
707c1acf6b * Added an option to auto order triggers with the same text. Added options to pass priority automatically after spell cast and ability activation. Fixed a problem of the tests with the new Scry mulligan. 2015-09-04 00:25:23 +02:00
LevelX2
5a812f022d Added the new mulligan rule with Scry. Litte Scry rework. 2015-09-03 17:27:43 +02:00
LevelX2
71860b0168 Adde AbilityWord "Rally" to rule text of AllyEntersBattlefieldTriggeredAbility. Added a test. 2015-09-03 11:29:59 +02:00
LevelX2
7627935d93 * Chain of Vapor - Fixed that the copied spell did nor work correctly. 2015-09-03 01:28:26 +02:00
LevelX2
1ee22be81a [BFZ] Added Radiant Flames. 2015-09-02 23:28:25 +02:00
LevelX2
74109afcbb [BFZ] Added Awaken ability. 2015-09-02 16:20:58 +02:00
LevelX2
2c4d23bbb4 * Protection - Fixed that protection from spells is also checked for determining if a spell can be cast due to have a valid target available. 2015-09-02 08:32:57 +02:00
LevelX2
bb1839f79b Added a test. 2015-09-01 23:54:56 +02:00
LevelX2
fa14128486 * SOURCE_CAST_SPELL_ABILITY check for sourceId added. 2015-09-01 22:52:00 +02:00
LevelX2
1213fd22c8 * Followed Footsteps - Fixed that the token copy was not working correctly if the target was already copying something (e.g. a Cryptoplasm). 2015-09-01 17:34:21 +02:00
LevelX2
be485dc810 Added a test. 2015-08-31 17:06:22 +02:00
LevelX2
8d683a7e5c * Split cards - Fixed a bug when split cards get copied (e.g. by Isochron Scepter) refering still to the copied card. 2015-08-30 23:49:38 +02:00
LevelX2
eb3aef7ee5 * Fixed that the new early way to add counters to permanents entering the battlefield (e.g. used for Undying) checked effects while the permanents was not already set to Zone battlefield. That caused e.g. the ability of Tatterkite not to work at that time. 2015-08-30 10:04:36 +02:00
LevelX2
1d8c3949be * Fixed test after fix of emblem ability. 2015-08-30 10:01:26 +02:00
LevelX2
fb965ebdd6 * Opalescence - Fixed that the dependent effect (613.7) Opalescence was applied before the effect of Enchanted Evening if Opalescence was cast earlier. 2015-08-29 18:52:46 +02:00
LevelX2
dfe1e2ef5a Some minor changes. 2015-08-28 16:52:33 +02:00
LevelX2
758f56792e * Added button popup menu to be able to automatically answer ability related "Yes" / "No" requests (related to #328). 2015-08-28 11:44:14 +02:00
LevelX2
78071ce0a3 * Fixed a bug that order of triggered abilities of tokens were not shown to human player and the UI was locked (fixes #910). 2015-08-25 23:34:15 +02:00
LevelX2
b62dadf95d * Fixed that conditional mana (e.g. River of Tears) did not trigger mana adding effects like Vorinclex, Voice of Hunger. 2015-08-25 22:38:45 +02:00
LevelX2
c5718e3f19 * Phasing - Fixed that idirect phasing (attachments of permanents with phasing) were not phased out with the permanent they attached to. 2015-08-25 15:09:44 +02:00
LevelX2
ad9e08991e * Buyback - Fixed that the buyback spell with activated buyback returned also to hand if the spell fizzled or was countered. 2015-08-25 14:25:42 +02:00
LevelX2
9a22cd2068 Added a test. 2015-08-22 23:23:02 +02:00
LevelX2
532d4e0af0 * Added automatic handling for order of triggered abilities going to stack (fixes #701 / related to #328). 2015-08-22 19:29:57 +02:00
LevelX2
2cf5907189 Fixed that the X value of permanents like Hangbar Walker isn't used again if the permanent enters the battlefield later without beeing cast (e.g. returning from leaving Oblivion Ring). 2015-08-19 11:21:22 +02:00
LevelX2
454bd5ca57 Fixed that effects that prevented permanents from using activated abilities also prevented use of special abilities (e.g. Linvala, Keeper of Silence preventing Morph creatures to turn face up). 2015-08-19 10:44:01 +02:00
LevelX2
bd6eb91ee2 Fixed that move cards event included cards that were not successful moved (fixes #1211). 2015-08-19 10:19:12 +02:00
LevelX2
1dbe6243f4 Fixed transmute test after change of transmute rule text generation. 2015-08-19 10:17:45 +02:00
LevelX2
9ab58b1f5c * Ghostfire - Fixed to be colorless (fixes #1208). 2015-08-19 09:39:56 +02:00
LevelX2
bd6fa770aa * Fixed a lot of cards where order of card discarding/hand,graveyard,permanents into library shuffling and card draw order was not correctly implemented. This could cause bugs for draw replacement effects (e.g. Notion Thief). 2015-08-19 03:31:44 +02:00
LevelX2
9df993bd3a * Intet, the Dreamer - Improved handling to look at face down cards exiled with Intet. Works now also if Intet has left the battlefield. 2015-08-19 00:59:05 +02:00
LevelX2
618033c947 Added some test. 2015-08-19 00:57:09 +02:00
LevelX2
aa1eb354ef * Removed some data from player restoring to fix unintended draws after a player concedes game (#1205) 2015-08-18 17:20:04 +02:00
LevelX2
b40c8535e9 * Reworked Perisist and Undying to not use replacement effects to add the needed counters. 2015-08-18 12:30:52 +02:00
LevelX2
7f45e5bc7e * Spellskite - Fixed that targets of modal spells could only be changed from the last selected mode of the modal spell. 2015-08-17 14:04:56 +02:00
LevelX2
8d1da5c35f * Fixed a lot of sacrifice handling that was targeted and some sacrifice where the player that could sacrifice was not checked correctly (e.g. Kiki-Jiki, Mirror Breaker Token). 2015-08-17 12:36:42 +02:00
LevelX2
f50e67e385 * Fixed card movement handling for face down cards. 2015-08-16 19:16:41 +02:00
LevelX2
c6e08a8872 * Fixed that effects created from attachments to the attached object by activated or triggered abilities did not exists independent from the attachment (fixes #1206). 2015-08-16 13:02:02 +02:00
LevelX2
325776c9ad Some changes to can't be the target of spells or abilities framework effects. 2015-08-13 12:01:01 +02:00
LevelX2
c98577cc6a Xmage 1.4.3v0 2015-08-06 22:18:01 +02:00
LevelX2
55fe68d718 * Some more rework of card mobement handling. 2015-08-05 17:46:56 +02:00
LevelX2
a644e66b7f * Some rework of card movement. 2015-08-04 17:54:17 +02:00
LevelX2
efb5e06e57 * Rollback - Fixed that UI is locked after a accepted rollback request (fixes #1158). 2015-08-02 12:39:02 +02:00
LevelX2
eccc367920 Some minor changes. 2015-08-02 10:59:03 +02:00
LevelX2
2df109cf0b * Norin the Wary - Fixed that it also returned from commandzone if put there from commander replament effect. Some other move and return from exile fixes. 2015-08-02 10:34:57 +02:00
LevelX2
2b617fa6f7 * Fixed a bug of ConditionalTriggeredAbility if the ability triggered multiple times at the same time. 2015-08-01 18:27:17 +02:00
LevelX2
5fae4878c0 Added a test, some minor changes. 2015-07-31 15:46:14 +02:00
LevelX2
a3bc452795 Added Gustcloak Savior, Spurnmage Advocate and Gleancrawler; 2015-07-30 16:13:27 +02:00
LevelX2
f677a779ae * Stranglehold - Fixed the not working abilities. 2015-07-28 22:24:08 +02:00
klayhamn
cac6a03e7f * fix potential bug where the copy constructor of the continuous effect of ThrummingStone did not copy its object parameters
* unignore the thrumming stone test
2015-07-28 17:38:50 +03:00
klayhamn
634f7fc064 Merge branch 'master' of https://github.com/klayhamn/mage 2015-07-28 15:20:38 +03:00
klayhamn
4044817641 * add ThrummingStone test
* Add rule text for Thrumming Stone
* change ThrummingStones effect to be a static continuous effect that gives a triggered ability to spells, rather than being a triggered ability triggered by the stone itself
2015-07-28 09:50:24 +03:00
LevelX2
dbff7bedb9 * Some changes to skip turn handling (turn count and messages). 2015-07-27 17:21:52 +02:00
LevelX2
5fb17ce920 Merge pull request #1151 from klayhamn/master
Adding the Ripple keyword, and two cards that use it
2015-07-27 14:31:57 +02:00
klayhamn
37dbdeb07f correct some incorrect documentation comments in ripple test 2015-07-27 02:11:08 +03:00
klayhamn
4d798e81b8 add thrumming stone and surging dementia 2015-07-26 19:30:15 +03:00
LevelX2
5694f8aa8c * Added a test. 2015-07-26 09:19:57 +02:00
LevelX2
9dd6e616cd * Fixed that commander mana replacement effect did wrong mana replacements if additional mana was produced from abilities of opponents (fixes #1146). 2015-07-26 00:38:56 +02:00
LevelX2
a380bfa196 * Gideon, Battle-Forged - Fixed that giving indestructibility effect did not end as intended. 2015-07-25 09:09:20 +02:00
LevelX2
2ca8595789 * Reworked Order of the Stars protection handling. 2015-07-24 13:47:22 +02:00
LevelX2
6e4b63dfd9 * Heartstone - Fixed that it can also reduce mana costs of abilities that include only 1 colorless mana and some colored mana. 2015-07-23 23:38:05 +02:00
LevelX2
7d3ff0551d Added a test. 2015-07-23 15:58:10 +02:00
LevelX2
b169e7e6c7 * Mage-Ring Network - Fixed calculation of available mana. 2015-07-23 12:42:02 +02:00
LevelX2
eca37467a3 * Added a auto select color for color choices of mana abilities that ask the human player to select a colo (implements #690). 2015-07-21 17:23:10 +02:00
LevelX2
fcd74a65a9 Added test. 2015-07-20 17:35:35 +02:00
LevelX2
46d2bb9313 * Added Recover ability (closes #1119). 2015-07-20 17:08:04 +02:00
LevelX2
597d1ab832 Added a test. 2015-07-20 12:28:30 +02:00
LevelX2
0df7983937 Added some test. 2015-07-19 19:27:49 +02:00
LevelX2
4324a6a683 Fixes to token image handling. 2015-07-19 10:09:50 +02:00
LevelX2
6ef50c42bf Some minor changes. 2015-07-19 10:08:58 +02:00
Simown
9de285a876 Removed rogue print statement from test 2015-07-18 14:54:56 +01:00
Simown
05b14dad66 Fixed Strive aditional costs, added Battlefield Thaumaturge tests to
verify.
2015-07-17 22:35:36 +01:00
LevelX2
e209114a26 * KickerAbility - Fixed that KickerCondition did not work coorectly for kicker cards with multiple kicker options. 2015-07-16 23:15:11 +02:00
LevelX2
540f1f2eac * Touch of Moonglove - Fixed that the dealayed trigger only worked for one creature instead of for all damaged creatures. 2015-07-16 22:21:18 +02:00
LevelX2
0db7c5cff4 * Fixed a bug of the rollback turns feature locking sometimes the UI. 2015-07-16 16:54:32 +02:00
LevelX2
96036ce97b Added a test (#1076). 2015-07-16 13:51:14 +02:00
LevelX2
0c0fe9984e Some fixes/improvements to AI target handling and tests. 2015-07-16 13:10:11 +02:00
LevelX2
68d5f7bb9f * StormAbility - Fixed that the storm amount was not calculated correctly if a game state was restored (fixes #1051). 2015-07-16 11:05:32 +02:00
Gal Lerman
584e7fb394 edited TODOs and comment header in clean_dbs.sh 2015-07-15 22:06:02 +03:00
glerman
cb89230327 added todos 2015-07-15 22:06:01 +03:00
glerman
6aa23b0b2e added DustOfMoments counter addition test 2015-07-15 22:06:01 +03:00
glerman
afe9c27aa5 finally made DustOfMoments to work, CounterPredicate didn't see counters for Chronozoa (permanent). why the hell is PermanentImpl.getCounters() and CardImpl.getCounters(game) don't return the same value for the same card 2015-07-15 22:06:00 +03:00
glerman
45e269de77 added empty test for DustOfMoments 2015-07-15 22:06:00 +03:00
glerman
9e4a7aad8a added empty test for DustOfMoments 2015-07-15 22:06:00 +03:00
glerman
0a293063cf added test for NornsAnnex still in progress, dur to friends bug 2015-07-15 22:06:00 +03:00
glerman
5ebfacecb5 added test case of Chronozoa being destroyed with time counters on it (end case) 2015-07-15 22:05:59 +03:00
glerman
9b44c9a087 fixed the LastTimeCounterRemovedCondition, moved the Chronozoa test to fit the package convention, added a test case 2015-07-15 22:05:59 +03:00
glerman
1567c4efe9 Adding Chronozoa card impl 2015-07-15 22:05:59 +03:00
LevelX2
cd354bacc3 Added a test. 2015-07-15 17:24:18 +02:00
LevelX2
3bac7b550c Added a test for storm with flashback. 2015-07-15 16:54:31 +02:00
LevelX2
7f8822ae19 Added a test for Crypt Ghast 2015-07-14 16:25:06 +02:00
LevelX2
b1f5b15f2d * The Abyss - Fixed non conform target handling. 2015-07-13 16:01:49 +02:00
LevelX2
f955316225 * Liliana, Defiant Necromancer - Fixed that the emblem did not trigger (fixes #1110). 2015-07-13 13:08:12 +02:00
LevelX2
b2fcb8ea8c Added some tests. 2015-07-12 23:16:02 +02:00
LevelX2
fa0a40b0d6 * Some fixes/chnages to AI player. Needs probably some more testing. 2015-07-12 19:51:04 +02:00
LevelX2
c53c09a59b * Fixes to handling of triggered abilities of tokens. 2015-07-12 19:50:20 +02:00
LevelX2
55966f3056 * Fixes to spend any mana to pay handling- 2015-07-12 19:49:53 +02:00
LevelX2
4094fe5ecf * Fixed a problem that triggered abilities of created tokens were not removed properly if the token left has left the battlefield. 2015-07-12 11:08:33 +02:00
LevelX2
2cc62aada0 Some minor tooltip text fixes. 2015-07-12 09:56:49 +02:00
LevelX2
0e3d4b335a Some fixes/improvements to generation of available mana. 2015-07-12 09:11:13 +02:00
LevelX2
2deb89bfa7 * Hixus, Prison Warden - Fixed that the triggered ability did not exile the creature. 2015-07-10 14:45:24 +02:00
LevelX2
77b3706c9f * Fixed that permanents that became creatures are not removed from combat if the creature making effect is removed during combat (fixes 366). 2015-07-08 23:40:15 +02:00
LevelX2
072987b96d Updated RemoveFromCombatTest. 2015-07-08 17:15:56 +02:00
LevelX2
8e0354d50a * Kicker - Fixed that kicked status was not correctly checked, if a spell with kicker was cast again. 2015-07-08 16:20:43 +02:00
LevelX2
8c725ef86b * Hallowed Moonlight - Fixed exception if a token should be moved to exile. 2015-07-08 00:05:52 +02:00
LevelX2
51c6a89753 * Enshrouding Mist - Fixed that the target creature was not untapped if renowned. 2015-07-07 17:09:52 +02:00
LevelX2
ee738786b9 * Liliana, Heretical Healer - Fixed that she was exiled and transformed even if no longer on the battlefield as the effect resolved. 2015-07-07 16:23:12 +02:00
LevelX2
de47259a49 * Fixed that end turn effects (e.g. Day's Undoing) did not remove triggered abilities waiting to go onto the stack. 2015-07-07 15:55:37 +02:00
LevelX2
381603666d Added test. 2015-07-07 07:55:31 +02:00
LevelX2
7bb93fbb25 * Willbreaker - Fixed that it didn't trigger when targeted by abilities. 2015-07-06 17:23:47 +02:00
LevelX2
d38910b81b * Liliana, Heretical Healer - Fixed that the Zombie token was not created if Liliana was exiled by her effect. 2015-07-06 16:49:24 +02:00
LevelX2
1ee75e3e94 * Angel of Serenity - Fixed that the exiled cards did not return when the Angel left the battlefield (fixes #1083). 2015-07-06 15:22:16 +02:00
LevelX2
c942592c3b * Dash - Fixed that the creature was returned to hand from dash also if it left battlefield before. 2015-07-06 13:36:23 +02:00
LevelX2
0b26aaff6e Fixed Ensoul Artifact not giving P/T to the target artifact. 2015-07-06 00:57:53 +02:00
LevelX2
a4f76a1fb8 Fixed another bug of renown. 2015-07-05 11:51:51 +02:00
LevelX2
b2ed48da87 Fixed a bug about must be blocked requirement forcing the blocker to block multiple attackers locking the game. 2015-07-05 11:48:19 +02:00
LevelX2
9c53e7f984 [ORI] Renown - Fixed that renown was not applied again after creature left and returned to battlefield. 2015-07-05 08:58:19 +02:00
LevelX2
cd0cba6ec7 XMage Release 1.4.2v0 2015-07-04 01:28:19 +02:00
LevelX2
9ef707c0fa Fixed / changed some tests. 2015-07-03 14:59:19 +02:00
LevelX2
25ca463520 [ORI] Added Tainted Remedy and Liliana Planeswalker. Fix for build bug of Sigled Starfish. 2015-07-03 12:26:14 +02:00
LevelX2
a33ed68c74 * Possibility Storm - Fixed a bug that it was not correctly checked if the player was able to cast modal spells. 2015-07-03 08:29:17 +02:00
LevelX2
4aebcd2399 * Savage Summoning - Fixed that it did not work to cast a commander from command zone. 2015-07-02 23:38:37 +02:00
LevelX2
7b4f2dd33a * Added a bestow test. 2015-07-02 21:53:28 +02:00
LevelX2
0a0cb40783 * Fixed that creatures that have to pay costs to block were wrongly forced to block causing UI locks. 2015-07-01 23:00:22 +02:00
LevelX2
9059f7a1e4 * Fixed a bug of check if two objects sharing a colors were also to colorless objects did return a positive result (e.g. caused Dream Halls to cast Artifacts by discarding lands). 2015-07-01 13:40:52 +02:00
LevelX2
bf21de745a * Fixed a bug of check if two objects sharing a colors were also to colorless objects did return a positive result (e.g. caused Dream Halls to cast Artifacts by discarding lands). 2015-07-01 13:37:32 +02:00
LevelX2
15fe85c5da Fixed that creatures forced to attack that have to pay a cost to attack lock the UI (not completed for all existing cards yet). 2015-07-01 02:00:07 +02:00
LevelX2
a174bef27b * Fixed a bug with Infernal Scarring that the ability did not trigger that let you draw a card as the enchanted creature died. 2015-06-30 12:29:17 +02:00
LevelX2
123d1e4ec6 [ORI] Added 6 black cards. 2015-06-30 01:24:51 +02:00
LevelX2
f45c5cedeb Fixed handling and initialization of Fixedtarget object. Fixing a problem of ReturnToBattlefieldUnderYourControlTargetEffect that caused objects to return taht already left the zone they should be moved from. 2015-06-29 18:34:53 +02:00
LevelX2
148fd0e6ae * Golem's Heart - Fixed that the triggered ability did not work. 2015-06-28 22:42:18 +02:00
LevelX2
df3e6db569 Please test! Some changes to the display of user choices, showing also a longer text in tooltip window. 2015-06-28 21:55:48 +02:00
LevelX2
87f3978589 Some changes to userData handling. Added country flag to some dialogs. Saved and restored some more table columns width and order information. 2015-06-28 00:10:38 +02:00
LevelX2
25f09e1891 Added Test. 2015-06-27 11:58:53 +02:00
LevelX2
b668209f7d Fixed for Flameshadow Conjuring and Felhide Spiritbinder that the created tokens did not get haste or the added card type enchantment. 2015-06-26 19:20:27 +02:00
LevelX2
d65581809f * Notion Thief - Fixed that the replacment effect was not always applied as intended. 2015-06-26 15:16:33 +02:00
LevelX2
5b7d57aec9 Added some tests. 2015-06-26 12:10:17 +02:00
LevelX2
ee304e773e * Daxos of Meletis - Fixed that the mana as thought ability did not work. Fixed that a instant could also be cast from other players. 2015-06-25 16:57:44 +02:00
LevelX2
7bc8649585 * Animate Dead - Fixed that the target card in graveyard was not handled correct, if the Animate Dead reentered the Battlefield(e.g. with Worldgorger Dragon combo). 2015-06-25 14:31:23 +02:00
LevelX2
94ad36058c [ORI] Added 5 cards with Renown relation and a renown test. 2015-06-24 00:11:03 +02:00
LevelX2
2f996847b3 * Mossbridge Troll - Fixed that the Troll was also regenerated of detroy effect if it was not possible to regenerate. 2015-06-23 13:10:49 +02:00
LevelX2
ebeec78c7f Added some tests. 2015-06-22 15:32:14 +02:00
LevelX2
78188d6f24 Removed dispay of card ID for looked at cards to prevent unfair use of card identity. 2015-06-22 15:31:15 +02:00
LevelX2
88928772fb * Zur's Weirding - Fixed that the player hand cards were not revealed. 2015-06-21 23:50:03 +02:00
LevelX2
8f39a0ba1d * Added test, some mior changes. 2015-06-20 11:57:52 +02:00
LevelX2
47f2ba3b3d Added test for Scythe of the Wretched. 2015-06-20 02:03:27 +02:00
LevelX2
e509a35795 Fixed a bug that existing continuous effects were not applied before state based effects were checked. 2015-06-20 01:07:35 +02:00
LevelX2
db5526a1c6 * Kicker - Fixed that kicker did not work correctly if the kicker card did change zone again before kicker dependant ability resolved. 2015-06-19 23:56:45 +02:00
LevelX2
4565bce43d Added a test. 2015-06-19 08:32:00 +02:00
LevelX2
7a4d4265a4 Added a test. 2015-06-19 00:52:03 +02:00
LevelX2
359f47a99d Fixed Gideon Battle-Forge. 2015-06-19 00:04:24 +02:00
LevelX2
42cf7f1f4e Fixed possible npe, added some tests. 2015-06-18 22:42:13 +02:00
LevelX2
ae1f726f56 * Bioshift - Fixed that always all counters were moved, the remove counter event was not fired and that the two targetes were handled as one target definition. 2015-06-18 13:39:49 +02:00
LevelX2
7ee6e13913 * Harbor Serpent - Fixed that the attack restriction did not work correctly. 2015-06-18 11:29:42 +02:00
LevelX2
68a0782e30 Added a test. 2015-06-17 17:41:20 +02:00
LevelX2
9882948a06 * Splice on Arcane - Fixed that if a player used an alternate cost to cast the arcane spell (e.g. Nourishing Shoal) splice mana costs were also removed. 2015-06-17 16:15:44 +02:00
LevelX2
a3dc7b6691 [ORI] Added Nissa Sage Animist (coded by Emerald). 2015-06-16 17:01:56 +02:00
LevelX2
27929cccba Added handling to make it possible that a transformable card can enter the battlefield transformed. 2015-06-16 17:01:15 +02:00
LevelX2
d8df53dde7 Added some tests. 2015-06-16 14:41:28 +02:00
LevelX2
cd0f273122 Fixed a bug that if a human player had to discard more cards than he had on hand, the game UI was blocked. 2015-06-15 17:35:48 +02:00
LevelX2
09dd373909 Merge origin/master 2015-06-15 12:21:48 +02:00
LevelX2
bd4a0e7177 * Added test for commander damage wind condition. 2015-06-15 07:44:34 +02:00
LevelX2
75645946e0 * Searing Blaze - Fixed that damage was not raised to 3 if the controller played a land before. 2015-06-14 23:56:23 +02:00
LevelX2
516b6ea8e7 * Teferi, Mage of Zhalfir - Fixed that the flash ability was not applied to commander in command zone. 2015-06-14 23:24:15 +02:00
LevelX2
135c76ed71 Added possibility to set a specific deck for a test. 2015-06-14 23:23:26 +02:00
LevelX2
060a468d4b Update to release 1.4.1. 2015-06-14 02:43:16 +02:00
LevelX2
d738a5ccce * Soul Foundry - Fixed that the activation cost for the ability to put a copy of the imprinted card to the battlefield was calculated wrongly (fixes #1019). 2015-06-13 21:11:16 +02:00
LevelX2
6d2f95c591 * Fixed that countering the half of a split spell did not work correctly. 2015-06-13 19:57:08 +02:00
LevelX2
e48be86f7b * Zoetic Cavern - Fixed that if cast with Morph the spell was not handled as spell with card type "Creature" (e.g. causing problem with Possibility Storm). 2015-06-13 19:21:03 +02:00
LevelX2
b3fdc167a8 * The Mimeoplasm - Fixed that if a Mimeoplasm was copied (e.g. by Clone) that not the target copied by Mimeoplasm was copied but instead the Mimeoplasm itself. 2015-06-13 09:35:37 +02:00
LevelX2
3dc081e1a6 * Copy effect - Fixed that continuous copy effects were not removed as the related permanent left the battlefield. 2015-06-13 00:25:31 +02:00
LevelX2
32a123e799 Added a test. 2015-06-12 15:04:46 +02:00
LevelX2
7f5e3a262e * Added test and some minor changes. 2015-06-12 08:13:41 +02:00
LevelX2
f7bce827fe * Refraction Trap - Fixed a bunch of problems with that card. 2015-06-11 17:14:43 +02:00
LevelX2
d713ae424f * Enduring Renewal - Fixed that the creature did not come back to hand. 2015-06-11 15:52:47 +02:00
LevelX2
753340efc6 * Teferi, Mage of Zhalfir - Fixed that Flash was not given to cards in the libraray (so e.g. Mystical Teachings did not work for creatures that did not have Flash by itself). 2015-06-11 12:57:00 +02:00
LevelX2
93dcf2d59f * Finished card attribute change handling for color of cards (card subtype not supported yet) related to #408 2015-06-10 14:00:37 +02:00
LevelX2
c27ef5ee97 * Started to fix color setting for cards (e.g. Painter's Serverant) #408 (not completely finished yet). 2015-06-10 01:24:38 +02:00
LevelX2
21e2066bba * Akron Legionnaire - Fixed not correct working restrict ability. 2015-06-08 22:51:48 +02:00
LevelX2
1cf93e6c43 Fixed AI test class. 2015-06-08 19:46:22 +02:00
LevelX2
3b61a10237 Fixed some bugs and added a AI Test player class. 2015-06-08 18:31:54 +02:00
LevelX2
8acf28eed1 * Added optional rollback current turn and up to 3 previous turns to the battlefield menu. All other players have to agree to the rollback to let it happen. 2015-06-07 00:53:08 +02:00
LevelX2
81187ba1c7 Fixed a problem with removing player attachments. 2015-06-05 13:35:33 +02:00
LevelX2
01c81c1cb1 * Homing Sliver - Fixed the gain Slivercycling ability. 2015-06-05 11:44:51 +02:00
LevelX2
36eebfa317 * Fixed that player enchnatments were not correctly removed as they left the battlefield causing problems if they were cast again later in the game (fixes #1006). 2015-06-05 00:50:31 +02:00
LevelX2
ca9ee416e8 Added test for Mana Flare. 2015-06-04 14:48:06 +02:00
LevelX2
59ae174d2b Added a test. 2015-06-04 13:58:20 +02:00
LevelX2
53396a44f2 Added some test and some minor fixes to effect ability handling. 2015-06-04 13:50:39 +02:00
LevelX2
b58d2e88ea * Novijen Sages - Fixed that it was not possible to pay the activated ability with the counters of Novijen Sages. 2015-06-03 23:49:54 +02:00
LevelX2
9cfadbda5b * Burning Earth - Fixed that the damage effect did not trigger. 2015-06-03 22:47:24 +02:00
LevelX2
eea43662e1 Added test. 2015-06-03 20:16:58 +02:00
LevelX2
56f41243ca * Keranos, God of Storms - Fixed that it's triggered ability triggered not only on the first card drawn on the turn. 2015-06-03 19:35:05 +02:00
LevelX2
a5bdff6826 Added a test. 2015-06-03 00:10:02 +02:00
LevelX2
c1fa3422fd * Mycosynth Golem - Fixed not working second ability. 2015-06-02 23:37:15 +02:00
LevelX2
bb28394f71 * Helm of Obedience - Fixed that card movement to graveyard was not handled correct. It was not checked, if card was really moved to graveyard (fixes #1004). 2015-06-02 22:50:57 +02:00
LevelX2
78961ad511 Added Vesuva test. 2015-06-02 17:08:49 +02:00
LevelX2
f9f674b8f7 * Fixed that removed players (e.g. by lethal damage) changed the players in range wrongly immediatly instead of at the start of the next turn. 2015-06-02 15:01:52 +02:00
LevelX2
3115bbdcb6 Multiplayer test - added option to attack specific player. 2015-06-02 14:58:54 +02:00
LevelX2
bc21b8d475 * Deathmist Raptor - Fixed that the return ability did wrongly also work if the Raptor had left the graveyard. 2015-05-31 19:17:15 +02:00
LevelX2
1b690e5c8c * Fixed target change handling (e.g. with opponent filter - fixes #574). Added some tests. 2015-05-31 18:44:02 +02:00
LevelX2
02aaf150db Added some tests. 2015-05-30 15:16:12 +02:00
LevelX2
a541d24a20 * Treacherous Pit-Dweller - Fixed that the enteres the battlefield ability was not implemented correctly. 2015-05-30 15:14:44 +02:00
LevelX2
bb478fa9d5 * Heroic - Fixed that heroic only triggered for one mode if a modal spell with heroic targets in differnt modes was used (e.g. Dromoka's Command). 2015-05-30 12:44:33 +02:00
LevelX2
907b029bdb Added target handling for modal spells with multiple targets in different modes. Fixed target handling bugs in test project. 2015-05-30 12:43:17 +02:00
LevelX2
f8f21bd8ce * Landfall - Fixed that it also works for Instant and Soceries copied from opponents. Corrected tooltip text formating. 2015-05-30 10:14:15 +02:00
LevelX2
04d555d339 * Opal Palace - Fixed that a commander casr with opal palace did not get a +1/+1 counter. 2015-05-30 01:44:47 +02:00
LevelX2
bf598d1af2 * Laboratory Maniac - Removed wrong checks that prevented the player to win if his life was below 1 and he drew from an empty libraray. 2015-05-30 00:25:48 +02:00
LevelX2
5a428f10ab * Fixed a bug that continuous effects created by copied cards (e.g. by Isochronic Scepter using Silence) were not applied correctly. 2015-05-29 18:43:21 +02:00
LevelX2
4f4ade61d5 Fixed commander cast test. 2015-05-29 17:29:14 +02:00
LevelX2
8783a633a1 Added commander duel test base class. 2015-05-29 15:07:16 +02:00
LevelX2
66acff81b9 Removed unused and redundant code from test player base classes. 2015-05-29 12:46:34 +02:00
LevelX2
5a5722b248 * Skarrgan Firebird - Fixed that the condtion check of the activated ability was inverted. 2015-05-29 00:18:51 +02:00
LevelX2
ba8e918527 * Worldheart Phoenix - Fixed that it could be cast from graveyard with it's regular casting costs. 2015-05-28 16:52:17 +02:00
LevelX2
6a0988ef66 * Banefire - Fixed Banefire's switched condition check. 2015-05-28 16:13:54 +02:00
LevelX2
48ba1c585a * Alms Beast - Fixed that the liflink ability did not work correctly. 2015-05-28 16:01:39 +02:00
LevelX2
c896ae2442 * Deep-Sea Kraken - Fixed that the triggered ability to remove time counters did not work. 2015-05-28 15:12:00 +02:00
LevelX2
8d31a38d1d Fixed world enchantment rule. 2015-05-28 11:59:19 +02:00
LevelX2
16ea49141f Fixed that static abilities of phased out objects are not applied. 2015-05-28 00:14:08 +02:00
LevelX2
ccae89e181 Implemented World Rule state based action. 2015-05-27 00:53:29 +02:00
LevelX2
0f3fc99943 * Fixed test. 2015-05-27 00:38:54 +02:00
LevelX2
f0ef479402 * Soulfire Grand Master - Fixed that delayed effects (e.g. Deflecting Palm) have also lifelink if Soulfire Grand Master is still on the battlefield. 2015-05-26 22:16:32 +02:00
LevelX2
1383941bf7 Fixed test. 2015-05-25 22:58:11 +02:00
LevelX2
7ca6c87fe5 * Unearth - Fixed the not working replacement effect of unearth that exiles the creature if neccessary. 2015-05-25 19:05:00 +02:00
LevelX2
c71b3ea7e8 * Proliferate - Fixed that in some cases permanents that had counters before could be choosen tp proliferate. 2015-05-25 18:39:36 +02:00
LevelX2
4298e66e02 * Changeling - Fixed that some non creature subtypes of cards (e.g. Arcane) were positive filtered for Changeling (fixes #991). 2015-05-25 16:51:09 +02:00
LevelX2
d3b41c076d * Added DealsDamageAttachedTriggeredAbility and used in some cards. 2015-05-25 15:49:51 +02:00
LevelX2
194c2eb371 * Reflecting Pool - Fixed that it did not work correctly with lands that produce conditional mana (e.g. Sliver Hive or Caverns of Soul) fixes #993. 2015-05-25 00:57:42 +02:00
LevelX2
c3447ccff0 * Eldrazi Temple - Fixed that the first ability was automatically used for spells (fixes #908) . 2015-05-24 18:56:34 +02:00
LevelX2
abeac7ff65 Added another test for Laboratory Maniac. 2015-05-23 19:38:30 +02:00
LevelX2
28d816b21f * Endrek Sahr, Master Breeder - Fixed Thrull creating ability that did not work when the triggering spell was countered. 2015-05-23 18:59:41 +02:00
LevelX2
e82ee26136 Added test for Sepulchral Primordial. 2015-05-23 18:38:34 +02:00
LevelX2
7003dc7e3f * Fixed that the AI used activated abilities even if they were forbidden by a restriction effect like Arrest. 2015-05-23 17:43:27 +02:00
LevelX2
fe28ca3e40 Merge origin/master 2015-05-23 16:35:03 +02:00
LevelX2
a5820a50e6 Added tests for Auraswap. 2015-05-23 16:34:32 +02:00
LevelX2
ce64a22c15 Some more rework of player.moveCard (mainly to graveyard). 2015-05-23 15:35:40 +02:00
LevelX2
f9bad74ca7 Added test. 2015-05-23 10:06:47 +02:00
LevelX2
38865e2495 Added some tests. 2015-05-22 15:16:29 +02:00
LevelX2
e68bd0e876 * Dolmen Gate - Fixed that it was not checked if the creates were attacking creatures for damage prevention. 2015-05-22 11:26:42 +02:00
LevelX2
b64d5c39cc * Fixed accidental removed subtype of Murder Investigation. 2015-05-22 00:33:15 +02:00
LevelX2
d7255f971c * Some more minor changes. Added test. 2015-05-21 23:25:46 +02:00
LevelX2
093b22081a * Some minor changes. 2015-05-21 22:39:30 +02:00
LevelX2
6097e297fe * Prevention effects - Fixed that prevention effects also prevented damage that was not preventable (fixes #983). 2015-05-21 00:25:37 +02:00
LevelX2
025c5bf5d8 * Satyr Firedancer - Fixed that its ability did also trigger for damage from other sources than iinstant or sorcery spells (fixes #963). 2015-05-19 16:20:21 +02:00
LevelX2
b0a404e84b * Retrace - Fixed that retrace did not work correctly with cost modifications. 2015-05-18 20:48:01 +02:00
LevelX2
df9efa97b6 * Dragonlord Kolaghan - Fixed that morphed cast spells where compared with its origin name with cards in the graveyard. 2015-05-17 22:08:56 +02:00
Nathaniel Brandes
fb1c60f818 Fix manifest megamorph testcase.
The megamorph was not working correctly because the creature used,
Sandstorm Charger, has exactly the same Megamorph cost and Manifest
cost. Since the manifest ability came first in the ability list order,
it was used. The replacement creature has two different mana costs and
fulfills the testcase purpose correctly.
2015-05-15 01:45:01 -07:00
LevelX2
988ed217f3 * Angelic Destiny - Fixed that the enchantment did not return from graveyard to hand. 2015-05-13 23:05:02 +02:00
LevelX2
7bc8ff9955 * Otherworldly Journey - Fixed that the returning creature did not get the +1/+1 counter. 2015-05-13 17:45:44 +02:00
LevelX2
54be23cb41 Added a test for conditional mana. 2015-05-13 15:05:51 +02:00
LevelX2
7453d6a39e * Fixed the sometimes failing Spellskite Test. 2015-05-13 15:05:34 +02:00
LevelX2
fa847e8feb * Update to version 1.4.0v0. 2015-05-12 23:11:25 +02:00
LevelX2
e2cb40de70 Some minor log changes and added tests. 2015-05-12 17:29:00 +02:00
LevelX2
70f152feb1 * Fixed that some mana effects did not send all neded events (prevented that Contamination chnaged conditonal mana from Cavern of Souls to black mana). 2015-05-11 15:26:39 -03:00
LevelX2
7338022dd1 * Fixed that cyle triggered abilities did not work. 2015-05-11 15:26:09 -03:00
Luna Skyrise
ab773ab509 [10E, USG] Added No Rest for the Wicked
and test
2015-05-10 23:54:05 -03:00
Luna Skyrise
c48d381b24 [TMP] Add Flailing Drake
Includes test.
2015-05-10 23:03:25 -03:00
LevelX2
9c97953b6b Added some font color to object and player names output to game logging and feedback area. 2015-05-09 21:18:00 +02:00
LevelX2
5c041753a6 * Progenitor Mimic - Fixed that the copy effect did not work correctly (fixes #958). 2015-05-08 14:45:14 +02:00
LevelX2
853be4ce65 Added some tests and an legacy example deck. 2015-05-08 09:12:37 +02:00
LevelX2
0ef2919a08 Some minor changes. Added a Kicker test. 2015-05-07 21:54:28 +02:00
LevelX2
4bea123bf3 Some minor changes. Added a test. 2015-05-07 21:04:04 +02:00
LevelX2
4d62d62768 * Fixed a bug that triggered abilities went under certain circumstances to stack at the wrong time (fixes the not working Sharuum The Hegemnon + Clone + Blood Artist combo). 2015-05-07 18:12:58 +02:00
Nathaniel Brandes
f9f6b078ab Properly fix ReturnToBattlefieldUnderYourControl.
All tests now passing. I broke out It That Betrays into it's own class,
as it doesn't actually care about zone when returning the permanent to
the battlefield, unlike most other abilities of that type, which target.
2015-05-04 21:31:01 -07:00
LevelX2
1a64f9e53e * Added some tests for ReturnToBattlefieldUnderYourControlTargetEffect (related to #947). 2015-05-05 01:31:57 +02:00
LevelX2
c342c92160 * Destroy the Evidence - Fixed that no cards were moved to graveyard. 2015-05-05 00:53:03 +02:00
LevelX2
8eae24051a * Fixed not unique target setting. 2015-05-05 00:50:47 +02:00
LevelX2
6403fff12b * Fixed target hadnling of PreventDamageBySourceEffect (fixes #952). 2015-05-04 18:38:26 +02:00
LevelX2
1f44e1a592 * Some minor adjustements to test handling. 2015-05-04 18:37:41 +02:00
LevelX2
0069241027 * Some minor changes. 2015-05-02 12:19:44 +02:00
LevelX2
8686f4f777 * Fixed a bug that the AI did for target selection not check correctly players with hexproof ability. 2015-05-02 09:47:38 +02:00
LevelX2
503dad24b3 * Added test for Spellskite. 2015-05-01 18:12:27 +02:00
LevelX2
85d7f099bd * River Kelpie - Fixed that the first ability did not always trigger as intended. 2015-05-01 17:37:57 +02:00
LevelX2
d7c23bbfc0 * Fixed a bug that countered spells of creatures with the ability going back to library if going to graveyard (e.g. Legacy Waepon) stayed in hand or caused a java bug instead of going to library. 2015-05-01 14:04:52 +02:00
LevelX2
eb6e7f9b46 * Fixed a bug of draw card replace effect (e.g. multiple Thought Reflection enchantments on the battlefield let you draw less cards than intended). 2015-05-01 12:15:13 +02:00
LevelX2
0ae339ff26 * Hive Mind - Working again if copied spell is not countered. Added some tests for Hive Mind (#717). 2015-05-01 11:09:57 +02:00
Nathaniel Brandes
ef7a001ce5 Add Volrath's Shapeshifter control test. 2015-04-30 19:34:12 -07:00
Nathaniel Brandes
b25c4aac77 Added Volrath's Shapeshifter.
The Graveyard was modified to become its own class, as the top card of
your graveyard matters for this card, and graveyard order matters for
some other old card. Note that due how Volrath's Shapeshifter's ability
works, it is applied in layer 3, after control effects. This is so it
can look at it's current controllers graveyard, instead of it's owner,
as it would if the copy effect was at layer 1.
2015-04-30 19:10:50 -07:00
LevelX2
9b3eff603c * Laboratory Maniac - Fixed check for win condition (you can now win together with Platinum Angel). 2015-05-01 01:50:25 +02:00
LevelX2
4206ea97ec Added another Infect test. 2015-05-01 00:39:13 +02:00
LevelX2
30bbd704e4 Added infect test. 2015-04-30 17:15:51 +02:00
LevelX2
f9c48cc4d5 * Some updates to cards that check the controller of the source of an event. Now prevention and replacement effect controller of non permanents are determine. But it can be wrong under some control changing circumstances. Only solution would be to have always the causing ability instead of only the sourceId (fixes #804). 2015-04-30 16:15:39 +02:00
LevelX2
0cb6c7ee26 * Fixed a bug that number of targets for spells with multiple modal selection (e. g. Cryptic Command) was not calulated correctly. 2015-04-29 23:46:39 +02:00
LevelX2
830765996f * Storm - Fixed handling of countered Storm spells. * Reworked Rebound more rule conform. * Fixed that zone change counter was not raised if a card is moved to stack. 2015-04-29 17:37:54 +02:00
Nathaniel Brandes
4b6993f398 Added global alternate costs to canPlay test. Added Omniscienece test
case.
2015-04-29 03:04:34 -07:00
Nathaniel Brandes
7648ca4b4f Fix Lazav's copy ability "forgetting" about cards that change zones. 2015-04-28 19:43:31 -07:00
LevelX2
aa5d050571 Fixed ThragtuskTest failing sometimes because of random target. 2015-04-28 17:10:32 +02:00
LevelX2
63ae8a9f13 * Mistbind Clique - Added test for champpion triggered ability. Set zone ability has to work in. 2015-04-28 14:45:38 +02:00
LevelX2
72e63292e1 Added a multiplayer control change test. 2015-04-27 23:42:55 +02:00
LevelX2
98710f8660 Added a multiplayer control change test. 2015-04-27 23:42:32 +02:00
LevelX2
3758cefc59 Some changes to check if Object had ability and the abillity can trigger. 2015-04-27 18:05:39 +02:00
LevelX2
4e0929e3f2 * Fixed a bug of DiesThisOrAnotherCreatureTriggeredAbility that caused that some triggerd effects did not work (e.g. Xathrid Necromancer dying together with other creatures). 2015-04-25 20:50:31 +02:00
LevelX2
1e7f82bb3c * Fixed a bug that attach effects were not stopped during resolution if the object to attach doe sno longer exist. 2015-04-25 19:13:02 +02:00
Nathaniel Brandes
ef5dff709a Fix compilation in Java 7. 2015-04-24 01:33:52 -07:00
LevelX2
50b783d4a3 Fixed typo in test name. 2015-04-23 23:45:29 +02:00
LevelX2
ffd0b0c685 * Fixed that enchant card in graveyard auras select target when entering the battlefield (allows the Animate Dead Worlgorger Dragon combo). 2015-04-23 23:43:00 +02:00
LevelX2
393442a7fe * Added test for counterspell while Rest in Peace is in play. 2015-04-23 09:53:17 +02:00
LevelX2
a845340e0d * Morph - Fixed that token copies of morphed creatures (e.g. by Supplant Form) came into play like the morphed creature face up instead of a 2/2 nameless creatures. 2015-04-22 23:06:07 +02:00
LevelX2
2a6ba88971 Added test. 2015-04-22 17:24:10 +02:00
LevelX2
2ca2caf9d5 * Fixed a problem with left battlefield or dies triggered abilities of token permanents. 2015-04-21 17:18:50 +02:00
LevelX2
c2fb2de67a Fixed a bunch of NPE and other possible exceptions. 2015-04-20 23:37:28 +02:00
LevelX2
2822c18b81 * Triton Tactics - Fixed that the don't untap effect for the blocked creatures did not work. 2015-04-20 17:35:32 +02:00
LevelX2
89ce87e16e Merge origin/master 2015-04-20 10:57:39 +02:00
LevelX2
568f62c66f Some changes to restrained event handling (simultaneous events) (fixes #897). 2015-04-19 10:43:12 +02:00
LevelX2
a5967d9b2a Added another test. 2015-04-19 09:13:58 +02:00
LevelX2
47b1753519 * Soulfire Grand Master - Fixed that a countered spell did wrongly return to hand if second ability was used. 2015-04-18 11:53:51 +02:00
LevelX2
0fc4c4b9f1 Added some tests. 2015-04-17 15:19:40 +02:00
LevelX2
57d8cd6ff4 * Delay - Fixed that suspend of the xiled spell did not work. 2015-04-17 14:50:33 +02:00
user
25749ff648 Some minor changes. 2015-04-17 00:20:34 +02:00
LevelX2
b2fe13c8c8 * Fixed attack tap handling - You can no longer attack with a mana producing creature that will be get tapped for attacking and use the creature itself to produce mana to pay for effects like Ghostly Prison if the mana ability has the cost to tap the creature. 2015-04-16 15:57:17 +02:00
LevelX2
77f3035443 Some changes to effect handling to fix failing tests. 2015-04-15 15:21:47 +02:00
LevelX2
9aa02f3d6f * Sidisi, Brood Tyrant - Fixed that the second ability did wrongly trigger, if Sidisi left battlefield before first ability did resolve. 2015-04-15 08:16:58 +02:00
LevelX2
4785ebd5f8 Merge origin/master 2015-04-14 22:29:41 +02:00
LevelX2
1cb3e73b39 * Servant of the Scale - Fixed that the counters were not added to the target creature. 2015-04-14 22:28:36 +02:00
LevelX2
2691dea7ef Added another Morph test. 2015-04-14 17:16:25 +02:00
LevelX2
7529d6f207 * Grindstone - Fixed a bug causing target player to lose game by grindstone effect itself. 2015-04-14 15:25:51 +02:00
LevelX2
15389b24d8 * Putrid Imp - Fixed that the can't block restriction did not work correctly. 2015-04-14 14:17:05 +02:00
LevelX2
67114c40a0 Added one more Manifest test. 2015-04-14 11:46:18 +02:00
LevelX2
d3dba58358 * Fixed that continuous effects of copied cards with limited duration stop to work as the copied card stops to exist. 2015-04-10 00:39:06 +02:00
LevelX2
d0900ebf6f [TPR] Added Thopter Squadron. 2015-04-09 15:23:36 +02:00
LevelX2
fd8a18129b * Loyal Cathar - Fixed that dies triggered ability also triggered for the night side card. 2015-04-07 23:39:38 +02:00
LevelX2
a58afbde4f Added Forecast test. 2015-04-07 16:12:33 +02:00
LevelX2
f62d3ac227 * Exploit - Fixed that Exploit also triggered if the creature with Exploit left the battlefield before the first ability of Exploit resolved. 2015-04-07 00:27:07 +02:00
LevelX2
66cf690968 Fixed some bugs that prevent to select shroud or hexproof targets by not targeted effects (e.g. Proliferate). 2015-04-05 11:13:26 +02:00
LevelX2
a60ba1b20f Added Amplify Test. 2015-04-04 12:42:48 +02:00
betasteward
18a4a98f1a moved copied cards to GameState 2015-04-03 13:37:11 -04:00
LevelX2
dbb9be6703 * Arashin Sovereign - Fixed that the player had no option to let the card go to the graveyard. 2015-04-03 16:28:40 +02:00
fireshoes
0fbe4303ae Added set Tempest Remastered and reprints. Added Pit Trap. Updated latest Game Day, FNM, Buy-a-box, WMCQ, and Release promos. 2015-03-30 22:51:34 -05:00
LevelX2
9d85a26e12 Added some tests and some minor changes. 2015-03-30 17:20:04 +02:00
betasteward
6405c8d2f0 move zoneChangeCounter to GameState - Card is now immutable 2015-03-29 08:30:31 -04:00