Commit graph

986 commits

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