Commit graph

22 commits

Author SHA1 Message Date
Evan Kranzler
947351932b
Ready for Review: Implementing Battles (#10156)
* add types and subtypes

* add startingDefense attribute

* [MOM] Implement Invasion of Ravnica / Guildpact Paragon

* fix two small errors

* refactor various instances of "any target"

* fully implement defense counters

* battles can now be attacked

* [MOM] Implement Invasion of Dominaria / Serra Faithkeeper

* [MOM] Implement Invasion of Innistrad / Deluge of the Dead

* [MOM] Implement Invasion of Kaladesh / Aetherwing, Golden-Scale Flagship

* [MOM] Implement Invasion of Kamigawa / Rooftop Saboteurs

* [MOM] Implement Invasion of Karsus / Refraction Elemental

* [MOM] Implement Invasion of Tolvada / The Broken Sky

* simplify battle info ability

* fix verify failure

* some more fixes for attacking battles

* [MOM] Implement Invasion of Kaldheim / Pyre of the World Tree

* [MOM] Implement Invasion of Lorwyn / Winnowing Forces

* [MOM] Implement Invasion of Moag / Bloomwielder Dryads

* [MOM] Implement Invasion of Shandalar / Leyline Surge

* [MOM] Implement Invasion of Belenon / Belenon War Anthem

* [MOM] Implement Invasion of Pyrulea / Gargantuan Slabhorn

* [MOM] Implement Invasion of Vryn / Overloaded Mage-Ring

* [MOM] Implement Marshal of Zhalfir

* [MOM] Implement Sunfall

* implement protectors for sieges

* partially implement siege defeated trigger

* fix verify failure

* some updates to blocking

* [MOM] Implement Invasion of Mercadia / Kyren Flamewright

* [MOM] Implement Invasion of Theros / Ephara, Ever-Sheltering

* [MOM] Implement Invasion of Ulgrotha / Grandmother Ravi Sengir

* [MOM] Implement Invasion of Xerex / Vertex Paladin

* add initial battle test

* fix verify failure

* [MOM] Implement Invasion of Amonkhet / Lazotep Convert

* [MOM] update spoiler

* update how protectors are chosen

* update text

* battles can't block

* add control change test

* rename battle test for duel

* add multiplayer test

* [MOM] Implement Invasion of Alara / Awaken the Maelstrom

* [MOM] Implement Invasion of Eldraine

* [MOM] Implement Invasion of Ergamon / Truga Cliffhanger

* [MOM] Implement Invasion of Ixalan / Belligerent Regisaur

* battles now cast transformed (this is super hacky but we need to refactor TDFCs anyway)

* add TODO

* add ignore for randomly failing test

* a few small fixes

* add defense to MtgJsonCard (unused like loyalty)

* implement ProtectorIdPredicate

* small fixes
2023-04-13 20:03:16 -04:00
Evan Kranzler
54203c16d3
[NEO] Implementing Compleated mechanic and hybrid phyrexian mana (ready for review) (#8677)
* [NEO] Implemented Tamiyo, Compleated Sage

* replaced PhyrexianManaCost calls with ManaCostsImpl calls

* updated phyrexian mana implementation

* added phyrexian hybrid symbol support

* updated starting loyalty implementation for planeswalkers

* change compleated to singleton

* implemented Compleated ability

* added some missing loyalty setters

* changed when loyalty is added to a walker to fix bugs

* slight change to some tests to fix them from failing

* fixed token issue
2022-02-10 10:25:23 -05:00
Evan Kranzler
25878eb4f4 Implemented Kaya, Orzhov Usurper 2019-01-02 18:13:58 -05:00
Evan Kranzler
8c95d89fb7 Implemented Dovin, Grand Arbiter 2019-01-02 17:18:10 -05:00
Evan Kranzler
b73494437f updated card generation templates 2018-12-20 19:22:11 -05:00
Evan Kranzler
e9a2609cd6 updated card generation template to reflect typo fix 2018-09-29 10:01:45 -04:00
Evan Kranzler
a10fa3827e updated card templates to remove unnecessary line at top 2018-06-03 11:28:06 -04:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files 2018-06-02 17:59:49 +02:00
Evan Kranzler
889662b741 updated templates for card creation 2018-05-21 11:14:45 -04:00
Evan Kranzler
3e39158d83 Implemented Vraska, Relic Seeker 2017-09-08 17:02:50 -04:00
Evan Kranzler
b40078be58 small change 2017-09-08 15:20:17 -04:00
Evan Kranzler
e27d302e9d updated card generation template for subtype enum 2017-09-07 15:58:55 -04:00
LevelX2
a3ea1a8f49 [HOU] Added 2 cards. 2017-07-03 08:58:48 +02:00
LevelX2
c2d2ab2148 gen-card.pl some improvements for Planeswalker and split cards. 2017-06-29 17:55:29 +02:00
fireshoes
89dd981075 Merge 2016-10-17 23:45:47 -05:00
North
e49907df94 fixed card templates 2014-06-02 21:26:21 +03:00
North
c9b736bec8 updated card template (fixed imports order) 2013-06-16 15:31:21 +03:00
North
179f7200ec fixed constant imports in templates 2013-06-16 12:39:03 +03:00
North
663c858604 fixed cardClass.tmpl 2011-07-25 22:27:27 +03:00
North
fbee4e29ee cardClass.tmpl fix 2011-07-17 17:15:23 +03:00
North
c8885e3fcd gen-card.pl now adds Keyword abilities to generated card (fixes issue 185)
Other abilities are added as comments.
2011-07-16 23:39:57 +03:00
North
70128015b7 camelCase refactoring (fixes previous comit) 2011-07-15 00:42:49 +03:00
Renamed from Utils/cardClass_temp.tmpl (Browse further)