Commit graph

85 commits

Author SHA1 Message Date
Evan Kranzler
a850e3660b
Change supertype method in constructors (#10361)
* replace addSuperType with supertype.add in card constructors

* more supertype replacements

* update MDFC supertype implementation

* remove unnecessary class

* update test
2023-05-12 20:45:07 -04:00
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
theelk801
91ea580e28 fix deprecated regex in gen-card.pl 2023-01-13 16:59:38 -05:00
Alex W. Jackson
c9a7aedfb2
Change EnchantAbility parameter from String to Target (#9588) 2022-09-29 10:29:48 -04:00
Evan Kranzler
28c3e65fcd small gen-card text fix 2022-08-20 00:00:18 -04:00
Evan Kranzler
d9bb563549 [40K] Implementations for the Implementation God! 2022-05-12 21:18:36 -04:00
Evan Kranzler
ed965e4b10 [SNC] Implemented Mr. Orfeo, the Boulder 2022-04-14 09:43:40 -04:00
Evan Kranzler
8a3baf6779 [VOW] Implemented Radiant Grace / Radiant Restraints 2021-11-11 07:51:55 -05:00
Evan Kranzler
41cbb7580a [AFR] Implemented Djinni Windseeker 2021-07-01 21:16:03 -04:00
Evan Kranzler
28033c7c17 [MH2] Implemented Inevitable Betrayal 2021-06-03 08:23:53 -04:00
Evan Kranzler
470e906faa [MH2] Implemented Arcbound Slasher 2021-06-01 20:33:00 -04:00
Evan Kranzler
9ce0a5bec5 small update to card generation script 2020-09-02 15:52:27 -04:00
antonig@sas.upenn.edu
6e4ac3899b updated gen-card.pl with clearer error handling 2019-04-17 21:57:07 -04:00
Antoni Gierczak
ab548cc01c
Update gen-card.pl 2019-04-17 19:44:11 -04:00
Antoni
d3419bc26d implemented and tested Centaur Nurterer and Contentious Plan 2019-04-17 19:16:31 -04:00
Evan Kranzler
77b3401272 Implemented Quasiduplicate 2018-09-04 11:22:40 -04:00
Evan Kranzler
c150c1adae small change 2017-09-07 16:02:23 -04:00
Evan Kranzler
e27d302e9d updated card generation template for subtype enum 2017-09-07 15:58:55 -04:00
LevelX2
db10a53dd2 [HOU] Added 4 cards, some fixes. 2017-07-04 06:50:59 +02:00
LevelX2
a3ea1a8f49 [HOU] Added 2 cards. 2017-07-03 08:58:48 +02:00
LevelX2
77af24485b [HOU] Added 3 split cards. 2017-06-30 15:04:56 +02:00
LevelX2
c2d2ab2148 gen-card.pl some improvements for Planeswalker and split cards. 2017-06-29 17:55:29 +02:00
spjspj
2a39a8e5cf minor housekeeping 2017-04-12 16:07:18 +10:00
spjspj
171c3997e6 minor housekeeping 2017-04-12 16:05:54 +10:00
spjspj
ea98f96a92 spjspj - Implement Harsh Mentor (AKH) 2017-04-12 14:16:04 +10:00
fireshoes
8ff947c6f0 [AKH] Added embalm to the keyword file and card gen script. Implemented the rest of the embalm cards. 2017-04-04 20:57:25 -05:00
fireshoes
55b433ae36 [AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards. 2017-03-28 22:25:29 -05:00
spjspj
c2e41640e8 Merge pull request #2819 from spjspj/master
Modify the profanity filter to push it back to client side only.
2017-01-27 12:39:37 +11:00
spjspj
f41d81f8e4 Modify the profanity filter to push it back to client side only. 2017-01-27 12:38:31 +11:00
vereena42
bf5f3d861c Fixing gen-card.pl 2017-01-15 16:30:28 +01:00
Styxo
8693b50f4f Added generation code for the enchant keyword to the script 2017-01-09 13:27:02 +01:00
spjspj
257386f6a3 spjspj - Kynaios and Tiros of Meletis (C16) 2016-11-05 18:57:48 +11:00
spjspj
5c63069522 spjspj - Stonehoof Chieftain (C16) 2016-11-04 22:52:00 +11:00
spjspj
e07ff25be6 spjspj - Rudimentary help for wrong card name in gen-card.pl 2016-10-29 16:14:00 +11:00
Styxo
4603aa6ed1 Fixed generating script 2016-10-25 13:34:01 +02:00
fireshoes
89dd981075 Merge 2016-10-17 23:45:47 -05:00
spjspj
2e2a36395a spjspj - Print out a quick way to edit the file name from gen-card.pl 2016-04-07 21:55:42 +10:00
LevelX2
b6c3355329 [BFZ] Added Devoid and Ingest keywords. 2015-08-28 16:51:37 +02:00
LoneFox
ee19ae4096 Remove possible newline character from author's name in gen-card.pl 2015-07-12 12:43:39 +03:00
Jason Wall
638c3d6ff2 make gen card executable 2015-03-14 17:37:19 -06:00
LevelX2
e3c2cb91eb Remove setColor logic from card gen script. 2014-12-13 01:15:25 +01:00
LevelX2
cb835f4f9b [KTK] Added Kahns of Tarkir set. 2014-09-01 19:25:32 +02:00
LevelX2
c519814f03 * Vintage Masters - Added set and already implemented cards. 2014-06-25 10:37:07 +02:00
LevelX2
f2152b1119 * Added Morph to kexword.txt for card generation. 2014-06-10 00:36:19 +02:00
LevelX2
39f122acfd * gen-card.pl - Fixed that Tribal is generated correctly as card type instead of super type. 2014-06-05 21:20:50 +02:00
LevelX2
5da4b0ffd3 Added new keyword.txt parameter for gen-card.pl. 2013-05-25 15:43:41 +02:00
LevelX2
6b38cd5b18 Mage Version 1.0.2 2013-05-11 23:06:30 +02:00
Loki
e00a25a857 6 USG, fix Abyssal Specter 2012-07-06 18:38:23 +12:00
North
239a4fb100 [refactoring][minor] Replaced all tabs with four spaces. 2012-06-19 23:50:20 +03:00
North
99a567a00e Added comments for Keywords abilities in gen-card.pl 2012-06-01 01:06:05 +03:00