Commit graph

19143 commits

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