Commit graph

951 commits

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