Commit graph

837 commits

Author SHA1 Message Date
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