Commit graph

726 commits

Author SHA1 Message Date
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
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
LevelX2
7bb2bbe1fa * Lazav, Dimir Mastermind - Fixed that it came back from non battlefield zone to battlefield copying previous copied card. 2015-03-27 14:23:53 +01:00
LevelX2
46b8267735 * Added some tests for Soulfire Grand Master. 2015-03-26 17:16:46 +01:00