Commit graph

19243 commits

Author SHA1 Message Date
Thomas Hess
0a7cc9672e
Removed the HarperPrism Book Promos cards from the MediaInserts set.
Removed the cards from the OldSchool* ban lists,
because this change makes them unavailable to the format.
2020-03-19 11:09:46 +01:00
Thomas Hess
8fdd3511b0
Add the HarperPrism Book Promos (PHPR) promotional set. 2020-03-19 11:09:46 +01:00
Thomas Hess
07cef62dfb
Removed the DragonCon cards from the MediaInserts set.
Removed the cards from the OldSchool* ban lists,
because this change makes them unavailable to the format.
2020-03-19 11:09:45 +01:00
Thomas Hess
736f207801
Add the DragonCon (PDRC) promotional set. 2020-03-19 11:09:45 +01:00
Thomas Hess
e39a9706bc
Fix booster generation issues with Mystery Booster set.
- Split the foil sheet into a separate set as listed on Scryfall.
- Added unit test cases that verify booster generation.
2020-03-19 11:09:45 +01:00
Evan Kranzler
656908aeec fixed basic land flag 2020-03-17 20:39:50 -04:00
Evan Kranzler
468f7b13f2 added comment with source 2020-03-17 20:37:08 -04:00
Evan Kranzler
114aac433e removed duplicated cards 2020-03-17 20:29:08 -04:00
Evan Kranzler
b35924fc70 added cards for mystery booster 2020-03-17 20:23:53 -04:00
Evan Kranzler
b2401a6410 fixed legality issue 2020-03-17 20:18:08 -04:00
Evan Kranzler
434b2464db added booster generation function 2020-03-17 19:58:08 -04:00
Evan Kranzler
9be0bde4c1 added Mystery Booster set file 2020-03-17 19:36:10 -04:00
Oleg Agafonov
2b78ec745c * Mind's Desire - fixed that it doesn't work with split cards (#6337); 2020-03-12 04:07:17 +04:00
Oleg Agafonov
14ddb6eb28 * AI: fixed wrong targeting for gain control abilities (#6340); 2020-03-11 18:22:58 +04:00
Oleg Agafonov
3cd5682db7 * AI: fixed wrong targeting for Fraying Sanity (#6339); 2020-03-11 17:17:39 +04:00
jeffwadsworth
d8bcfc4295 - Fixed Divine Visitation 2020-03-09 16:07:18 -05:00
Oleg Agafonov
86f6d39f5a * AI: fixed rollback errors on play cards with target stack (Diplomatic Escort, Not of This World, etc); 2020-03-09 13:49:07 +04:00
Oleg Agafonov
ff3df35467 Fixed NPE errors on empty sourceId in mage reference object; 2020-03-07 00:24:16 +04:00
Oleg Agafonov
cb8d4dc340 * Non creature tokens - fixed rollback errors in AI games (example: Food token, see #6331);
Fixed other potentially NPE errors with rarity;
2020-03-06 03:27:46 +04:00
Oleg Agafonov
d7a48efa89 * Rules: chicken subtype replaced by bird subtype (Chicken à la King, Chicken Egg, Fowl Play, Free-Range Chicken, Poultrygeist); 2020-03-04 00:59:37 +04:00
jeffwadsworth
075cbbed00 - Fixed #6328 2020-03-03 09:21:37 -06:00
jeffwadsworth
8e41215fa5 - Refactor to resolve failing test 2020-03-02 16:02:56 -06:00
tylerFretz
a96d936e24
Fix Verix Bladewing kicker ability text (#6322) 2020-03-02 14:52:33 -06:00
jeffwadsworth
26439bef95 - Fixed #6325 2020-03-02 14:50:20 -06:00
Oleg Agafonov
6769b1d536 Fixed text 2020-02-29 19:57:19 +04:00
Oleg Agafonov
e421e5fac1 Fixed NPE 2020-02-29 12:49:29 +04:00
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