Commit graph

19217 commits

Author SHA1 Message Date
Jeff
fe0557127b - Fixed #6321 and #6320 2020-02-28 16:52:54 -06:00
jeffwadsworth
190c3ecc00 - Fixed #6316 2020-02-28 08:53:48 -06:00
jeffwadsworth
97767a0be1 - Fixed #6314 2020-02-28 08:21:47 -06:00
jeffwadsworth
448d618a8a - Fixed #6297 2020-02-27 13:26:25 -06:00
jeffwadsworth
4446f07306 - Fixed #6299 2020-02-27 11:46:53 -06:00
jeffwadsworth
a7dd1c3725 - Fixed #6307 2020-02-27 11:15:48 -06:00
Oleg Agafonov
299be53e7a
Merge pull request #6286 from aidan-coward/shadowspear-wording
Fix Shadowspear wording
2020-02-26 18:55:05 +01:00
Oleg Agafonov
169d9bf761 * Non basic mana abilities - fixed rollback errors in AI games (#6300); 2020-02-25 12:41:45 +04:00
jeffwadsworth
28169b5271 - Fixed #6296 2020-02-24 11:53:26 -06:00
jeffwadsworth
eab4eb8781 - Fixed Manipulate Fate 2020-02-24 10:45:18 -06:00
Oleg Agafonov
3047a8bd76 * Sunlit Hoplite - fixed not working +1/0 ability (#6288); 2020-02-21 20:05:00 +04:00
jeffwadsworth
b59c8b663d - Fixed #6289 2020-02-19 17:34:20 -06:00
Aidan Coward
513f2bc838 Fix Shadowspear wording
Added "and" to second ability to say
"hexproof and indestructible"
2020-02-18 10:59:47 -05:00
Oleg Agafonov
f6079c4fd6 * Utopia Mycon - fixed unnecessary target choose; 2020-02-17 20:57:18 +04:00
Oleg Agafonov
8adfcf9bcb * Mangara's Tome - fixed exile window text; 2020-02-17 20:55:13 +04:00
Oleg Agafonov
f32976f27d * Dead Man's Chest - fixed exile window text; 2020-02-17 20:54:22 +04:00
jeffwadsworth
90534ac100 - Fixed Surgical Extraction 2020-02-14 10:53:09 -06:00
jeffwadsworth
4cc19f5071 - Fixed Extirpate 2020-02-14 10:12:24 -06:00
jeffwadsworth
033ad94b8b - Fixed Disciple of Phenax and Ghastlord of Fugue. 2020-02-13 09:34:56 -06:00
jeffwadsworth
ca52e0bf38 - Fixed Reap Intellect 2020-02-12 16:35:54 -06:00
jeffwadsworth
4b019a1201 - Fixed Last Rites 2020-02-12 16:09:38 -06:00
jeffwadsworth
42dfd16b02 - Fixed Thought Hemorrhage 2020-02-12 15:31:06 -06:00
jeffwadsworth
8e4080ce7c - Fixed Shimian Specter 2020-02-12 10:08:56 -06:00
Oleg Agafonov
7923564f7c * Marsh Flitter - fixed that it can't sacrifice goblin; 2020-02-12 18:24:01 +04:00
Samuel Sandeen
d56f6b991b
Fix Sevinne's Reclamation. (#6275)
This also handles the rather unique case caused by Sevinne's Reclamation where the original spell resolves before the copy of it.
Also fixes a couple typos.
2020-02-10 08:18:12 -05:00
Ingmar Goudt
ae7919cd07 program towards Interface rather than implementations 2020-02-10 10:40:06 +01:00
Samuel Sandeen
fb82303b85 Fix Medomai's Prophecy (#6271)
Fixes https://github.com/magefree/mage/issues/6262
lookAtCards replaces old instances with the same name.
2020-02-08 18:29:12 -06:00
Samuel Sandeen
51424b1460 Fix Irencrag Feat's spell casting effect. (#6268)
* Create a test for Irencrag Feat to ensure it functions correctly.

* Fix Irencrag Feat so it works correctly.
2020-02-08 18:28:10 -06:00
Samuel Sandeen
def8ef0a26 Fix Turbulent Dreams. (#6269)
More specifically get the value of X from the discard cost not the mana cost and correctly set it to target exactly x permanents.
Fixes https://github.com/magefree/mage/issues/6264
2020-02-08 18:26:16 -06:00
jeffwadsworth
7cbf999e9b - Fixed Starfield of Nyx test. 2020-02-07 10:22:15 -06:00
jeffwadsworth
b11e2a0fe9 - refactor some cards and an effect 2020-02-07 08:52:04 -06:00
jeffwadsworth
d6c2f031d0 - Fixed #6236 2020-02-06 17:47:08 -06:00
Oleg Agafonov
1cbabacc23
Merge pull request #6243 from Dilnu/master
Fix the Divine Visitation replacement effect.
2020-02-05 12:40:32 +01:00
Tyler Fretz
4a9b50bb71 added nonland filter to ability 2020-02-04 00:53:18 -05:00
dilnu
0d382d3875 Move the Token field added from GameEvent to a subclass. 2020-02-03 21:57:10 -05:00
Oleg Agafonov
cbfcfa6d5e
Merge pull request #6247 from Dilnu/Reborn
Fix Niv Mizzet Reborn
2020-02-03 23:44:56 +01:00
Oleg Agafonov
4c5ea62cea
Merge pull request #6244 from Dilnu/Chaos
Fix Chaos Wand
2020-02-03 23:19:34 +01:00
Oleg Agafonov
097eab783a
Merge pull request #6248 from Dilnu/Skyfire
Fix Skyfire Phoenix's triggered ability.
2020-02-03 22:19:33 +01:00
Oleg Agafonov
8ab21be00c
Merge pull request #6249 from Dilnu/Mogis
Fix Mogis God of Slaughter's ability when a player has no creatures.
2020-02-03 22:07:40 +01:00
jeffwadsworth
d7f300a06d - Fixed #6241 2020-02-02 19:35:52 -06:00
dilnu
6f513c4630 Fix Mogis God of Slaughter's ability when a player has no creatures.
Fixes https://github.com/magefree/mage/issues/6232
2020-02-01 19:13:47 -05:00
dilnu
9a80b07d2a Fix Skyfire Phoenix's triggered ability. 2020-02-01 19:05:46 -05:00
dilnu
d6989d15b9 Fix Skyfire Phoenix's triggered ability. 2020-02-01 19:02:50 -05:00
dilnu
a020326fce Fix Niv Mizzet Reborn so you must select as many cards as possible and so that players are informed of all the revealed cards. 2020-02-01 18:06:20 -05:00
dilnu
e3e68c4607 Fix Chaos Wand
Fixes https://github.com/magefree/mage/issues/6241
2020-02-01 16:51:19 -05:00
dilnu
cc9629ed51 Fix the Divine Visitation replacement effect.
This also gives the CREATE_TOKEN game events access to the Token being created and updates the GatherSpecimens replacement effect to use that access.
2020-02-01 15:15:52 -05:00
Oleg Agafonov
4ad29abdd7 Fixed name compare 2020-02-01 12:13:45 +04:00
Oleg Agafonov
17cf3cd129 Fixed name compare 2020-01-31 21:38:32 +04:00
Oleg Agafonov
5d29467f8f
Merge pull request #6238 from dragonfyre23/gargos-vicious-watcher-bug
Bug fix for Gargos, Vicious Watcher.
2020-01-30 21:51:12 +01:00
dragonfyre23
bff36ecfb9 Changed to use convention. 2020-01-30 15:40:09 -05:00
dragonfyre23
d6bdb39041 Bug fix for Gargos, Vicious Watcher. His triggered ability now activates when creatures you control are enchanted with auras. Bug reported by u/bubblesdotua on r/XMage. Not mentioned in any open issues. 2020-01-30 15:21:25 -05:00
Oleg Agafonov
2db9419ff1 * Flicker of Fate - fixed that it return permanents tapped; 2020-01-30 05:38:23 +04:00
Oleg Agafonov
6cbf94bad6 AI: improved usage of attachments:
* AI can play equipment/aura cards more frequent (computer can see and analyse all attached effects now);
* AI can attach permanents with bad effects correctly (bad for opponents, good for itself);
2020-01-29 07:38:08 +04:00
Oleg Agafonov
89394ffe0a Improved ability outcome processing; 2020-01-29 07:33:33 +04:00
Oleg Agafonov
537906004f * Bloodthirsty Blade - fixed wrong text; 2020-01-29 03:12:30 +04:00
Oleg Agafonov
9eba000cf5
Merge pull request #6227 from dragonfyre23/master
Implemented Spectral Shield (ICE)
2020-01-28 03:08:03 +01:00
dragonfyre23
b3670a6014 Whoops scourge.java is back now 2020-01-27 20:56:42 -05:00
dragonfyre23
a017d989b6
Removed unrelated set file 2020-01-27 20:47:44 -05:00
dragonfyre23
b364b41704
Removed unrelated card 2020-01-27 20:47:11 -05:00
dragonfyre23
c4d048b5bb Fixed not able to be enchanted by auras. 2020-01-27 20:40:28 -05:00
Oleg Agafonov
8ca6fd8552 Can't be target/attached effects - fixed that user gets multiple warning message about prevention effect; 2020-01-28 05:31:32 +04:00
Oleg Agafonov
105062beb7 Fixed multiple NPE errors in cards; 2020-01-28 03:37:49 +04:00
jeffwadsworth
285ed5801f - Fixed #6230 2020-01-27 17:32:43 -06:00
Oleg Agafonov
9a804810e4 * Etali, Primal Storm - fixed rollback error on empty library; 2020-01-28 01:54:56 +04:00
Oleg Agafonov
24fa917784 * God Eternal Kefnet - fixed rollback error on empty library; 2020-01-28 01:53:19 +04:00
Oleg Agafonov
cc1840b109 * Glory Bearers - fixed that it boost itself too; 2020-01-28 01:46:40 +04:00
jeffwadsworth
684a4b3cc9 - Fixed #6229 2020-01-27 15:28:21 -06:00
jeffwadsworth
331c3ce0a0 - Fixed #6228 2020-01-27 15:27:35 -06:00
dragonfyre23
ee2b904cca In Progress Not Functional
Exiled Doomsayer (SCG)
2020-01-26 23:34:44 -05:00
dragonfyre23
4ab8f506fc Merge branch 'master' of https://github.com/magefree/mage 2020-01-26 15:42:03 -05:00
dragonfyre23
302c3d3cc0 Spectral Shield (ICE)
Spectral Shield (ME3)
added.
2020-01-26 15:33:26 -05:00
Oleg Agafonov
36b309df6b * Thassa's Oracle - fixed wrong text (#6223); 2020-01-26 19:56:01 +04:00
Oleg Agafonov
0d981a8528 * Vivien's Arkbow - fixed that it can't choose cards to put it on battlefield (#6225); 2020-01-26 19:52:35 +04:00
Oleg Agafonov
9deaa4c227 * Gadwick, the Wizened - fixed that it doesn't draw cards on ETB; 2020-01-26 19:04:23 +04:00
jeffwadsworth
3510ac0957 - Fixed #6220 2020-01-24 11:09:26 -06:00
jeffwadsworth
fbcdda16d1 - Added some extra log clarity to Whirlwind Denial 2020-01-24 09:36:04 -06:00
brookeburkett
d968894620 Update TaintedPact.java 2020-01-24 09:14:22 -05:00
jeffwadsworth
070ba24e05 - Refactored some cards to use the correct counter spell/ability method 2020-01-23 16:19:25 -06:00
jeffwadsworth
f432365197 - Added requested card Barbed Wire 2020-01-23 11:17:46 -06:00
jeffwadsworth
cb340e4709 - Revert changes made for bug #5437. See 2ca1643b54 2020-01-23 08:31:22 -06:00
Oleg Agafonov
b2af8a3887 * Dawn Evangel - fixed not working triggered ability; 2020-01-23 10:46:59 +04:00
jeffwadsworth
5aaec29361 - Workaround for #5437. The delayed triggers work correctly now and the game will no longer freeze. TODO: Cards that are copied and then cast do not retain the correct sourceObject. They instead point to the spell on the stack which fails when delayed triggers are used. 2020-01-22 16:57:01 -06:00
Oleg Agafonov
cf759e0443 * War's Toll - fixed that is applies restriction attack effect from any zone (from command, hand, etc); 2020-01-22 12:33:03 +04:00
Oleg Agafonov
93d3ee4a93 * Shrine Keeper - fixed wrong cost; 2020-01-22 01:15:26 +04:00
jeffwadsworth
507658e942 - Fixed #6216 2020-01-21 14:36:49 -06:00
jeffwadsworth
f2dab4415a - Fixed #6209 2020-01-20 17:53:30 -06:00
jeffwadsworth
eb730d4fc3 - Fixed #6205 2020-01-20 17:21:40 -06:00
jeffwadsworth
897dcb3343 - Fixed #6203 (Related to Magus of the Moon) 2020-01-20 15:38:52 -06:00
jeffwadsworth
5000020592 - Fixed #6202 #6200 2020-01-20 10:05:04 -06:00
LevelX2
8c65ca69e1 * Driven // Despair - Fixed rule text tooltip (fixes #6204). 2020-01-20 12:20:33 +01:00
LevelX2
d87a4e4c9b * Karn Liberated - Fixed that a with Karn's ability exiled commander was not put to battlefield after game restart. 2020-01-19 16:48:58 +01:00
Oleg Agafonov
2429095f4d * Mogis, God of Slaughter - fixed that it doesn't make damage if nothing to sacrifice; 2020-01-18 11:11:59 +04:00
Oleg Agafonov
b2ab3a2ba4 Fixed multiple card texts; 2020-01-18 11:01:33 +04:00
Evan Kranzler
cf97b9e6c7 fixed Erebos, Bleak-Hearted triggering off of opposing creatures 2020-01-17 18:32:26 -05:00
jeffwadsworth
4f7133bd08 - Fixed #6198 2020-01-17 15:40:27 -06:00
jeffwadsworth
70c81bb1f9 - Fixed #6162 2020-01-17 14:39:00 -06:00
Oleg Agafonov
1ac9502748 * Cast without paying its mana cost - fixed that some cards can freeze the game on disconnected player or non castable cards (Mizzix's Mastery and other); 2020-01-17 20:54:56 +04:00
jeffwadsworth
e92081b7ea - Fixed #6193 2020-01-16 16:33:26 -06:00
Adrian Petrescu
3acf81165d
Tectonic giant doesn't trigger on attack 2020-01-16 16:50:45 -05:00
jeffwadsworth
e91b0a01d2 - Fixed #6192 2020-01-16 14:36:05 -06:00
Oleg Agafonov
ef224fe15c * Kroxa, Titan of Death's Hunger - fixed that it sacrifice itself on escape cast too; 2020-01-16 23:20:07 +04:00
Oleg Agafonov
68e5932d37 * Gadwick, the Wizened - fixed that it doesn't draw the cards if another Gadwick in hand/game; 2020-01-16 21:54:53 +04:00
Evan Kranzler
d09c04b8a7 fixed Seasoned Pyromancer's activated ability zone 2020-01-16 11:12:59 -05:00
Evan Kranzler
d63278214d fixed Bonfire of the Damned always damaging players even when a planeswalker is targeted 2020-01-16 10:57:49 -05:00
jeffwadsworth
0716b83928 - Fixed #6189 2020-01-16 08:35:19 -06:00
Oleg Agafonov
caa328c38c * Momentary Blink - fixed that it return creature under controller instead owner; 2020-01-16 08:57:04 +04:00
Oleg Agafonov
5d52f0ace3 * Conqueror's Galleon - fixed that it returns under owner control instead your; 2020-01-16 08:54:59 +04:00
Oleg Agafonov
ec2ea7f070 Reverted some changes, related to #6187, see comments from d20a20fb6a 2020-01-16 08:22:23 +04:00
LevelX2
180c7dfff6 * Updated UnequipEventTest. 2020-01-15 17:32:07 +01:00
LevelX2
bf1da82567 * Colfenor'S Urn - Fixed rule text. 2020-01-15 17:30:43 +01:00
Oleg Agafonov
d20a20fb6a Refactor related to #6187 2020-01-15 11:47:22 +04:00
Oleg Agafonov
745bfa2836 Fixed NPE errors on missing card (game.getCard can't find card); 2020-01-15 07:08:56 +04:00
Oleg Agafonov
3f7b0da884 * Fixed that some cards apply or not apply triggered effects after zone change (Bellowing Fiend, Flayed Nim, Genesis Chamber, Grim Feast, see #6187); 2020-01-15 06:10:00 +04:00
LevelX2
6714a092b2 * Thryx, the Sudden Storm - Fixed that the cost reduction ability was not added to the card. 2020-01-14 23:45:19 +01:00
LevelX2
7575510c85 * Fixed that Soulfire Grand Master did not work for adventure or split cards (fixes #6182). 2020-01-14 23:26:04 +01:00
jeffwadsworth
afbae25fd1 - Fixed #6184 2020-01-14 15:28:21 -06:00
Oleg Agafonov
3fdaf043a1 fixed Taranika, Akroan Veteran (wrong text); 2020-01-14 20:52:13 +04:00
LevelX2
55fe1db60d Merge origin/master 2020-01-14 17:43:43 +01:00
LevelX2
6455180765 * Some code clean up and a new test. 2020-01-14 17:42:58 +01:00
Oleg Agafonov
b1b6bd600e Improved rules text generation and removed static texts for some cards with effects:
* ExileTargetForSourceEffect
 * ReturnFromExileForSourceEffect
 * ReturnToBattlefieldUnderOwnerControlTargetEffect
 * ReturnToBattlefieldUnderYourControlTargetEffect
2020-01-14 20:38:45 +04:00
Evan Kranzler
26bdd8c0e8 fixed Dream Trawler activated ability not being available 2020-01-14 10:59:39 -05:00
Oleg Agafonov
3a681d565a * Displace - fixed that it return cards under your control instead owner; 2020-01-14 19:15:42 +04:00
Oleg Agafonov
748d14e55e * Thassa, Deep-Dwelling - fixed text; 2020-01-14 18:53:47 +04:00
Oleg Agafonov
e768c375dc * Yorvo, Lord of Garenbrig - fixed that it doesn't add +1 counter is green creature dies before resolve; 2020-01-14 12:55:21 +04:00
Oleg Agafonov
92eba9861d fixed Uro, Titan of Nature's Wrath (getSpellOrLKIStack return ability instead spell after card triggers); 2020-01-14 11:48:15 +04:00
Oleg Agafonov
dae2c57c45 fixed Heliod's Punishment (counters not removes after tap); 2020-01-14 09:34:41 +04:00
Oleg Agafonov
11976b5c89 Refactor: move player.damage params to default (same as permanent.damage); 2020-01-14 09:15:33 +04:00
Oleg Agafonov
76387057b7 * Deals damage to player - fixed that some cards deals combat damage instead non-combat; 2020-01-14 08:53:09 +04:00
Oleg Agafonov
846200c093 * Mogis, God of Slaughter - fixed that it deals combat damage, fixed AI targeting; 2020-01-14 08:24:31 +04:00
Oleg Agafonov
de7a01a776 fixed Funeral Rites (wrong text) 2020-01-14 04:07:20 +04:00
Oleg Agafonov
307e39112c Fixed typo 2020-01-14 03:42:06 +04:00
LevelX2
42265d78d8 * Haktos the Unscarred - Fixed some problems with the protection ability not working correctly. 2020-01-14 00:34:48 +01:00
jeffwadsworth
ef64865db0 - Fixed #6177 2020-01-13 15:58:08 -06:00
Evan Kranzler
6d49b6eef5 fixed Hateful Eidolon not counting auras correctly 2020-01-13 10:10:34 -05:00
Evan Kranzler
1d32a6761d Fixed Captivating Unicorn trigger 2020-01-13 07:56:18 -05:00
Oleg Agafonov
a51af7055e fixed Sentinel's Eyes (missing ability); 2020-01-13 15:07:54 +04:00
Oleg Agafonov
4d2790be3f * Thirst for Meaning - fixed that it doesn't allow to discard artifact card as pay;
* Thirst for Knowledge - fixed that it doesn't allow to discard enchantment card as pay;
2020-01-13 15:03:01 +04:00
Oleg Agafonov
c229654304 fixed Heroes of the Revel (wrong PT); 2020-01-13 14:30:33 +04:00
Oleg Agafonov
7a1e62ec34 fixed Covetous Urge (now it put all cards in same exile window, fixed wrong AI); 2020-01-13 14:26:39 +04:00
Oleg Agafonov
f15d5d34f1 * Serra the Benevolent - fixed wrong text for +2 ability; 2020-01-13 13:54:50 +04:00
Oleg Agafonov
2b576241df * Huatli, Dinosaur Knight - fixed wrong text for -7 ability; 2020-01-13 13:54:01 +04:00
Oleg Agafonov
03551411e1 * Chainweb Aracnir - fixed rollback error on ETB; 2020-01-13 13:52:16 +04:00
Oleg Agafonov
bfdce903e9 * Brawl - fixed rollback error on gain ability usage; 2020-01-13 13:50:50 +04:00
Oleg Agafonov
4a004a27b3 Refactor damage with power effect, added checking for wrong targets; 2020-01-13 13:49:40 +04:00
Oleg Agafonov
62530b3880 * Sludge Strider - fixed rollback error on card usage; 2020-01-13 10:43:13 +04:00
Oleg Agafonov
d78e2b91ef * Crypsis - fixed rollback error on card usage; 2020-01-13 10:42:20 +04:00
Oleg Agafonov
8a7f31b215 fixed Daybreak Chimera (wrong zone) 2020-01-13 06:37:35 +04:00
Evan Kranzler
de59888456 fixed Venomous Hierophant not milling 2020-01-12 21:32:58 -05:00
Oleg Agafonov
6691306219 fixed Pharika's Libation (missing mode) 2020-01-13 06:33:20 +04:00
LevelX2
079a404d79 * Fixed bugs of Calix, Destiny Hand. 2020-01-12 23:08:23 +01:00