From 7fb34b488710f0a64a3eb95e1ff6cdb9529e8410 Mon Sep 17 00:00:00 2001 From: Tim Mocny Date: Fri, 20 Mar 2020 19:11:59 +0000 Subject: [PATCH] MTGA Historic Format --- .../src/main/java/forge/StaticData.java | 2 +- .../src/main/java/forge/game/GameFormat.java | 2 +- .../res/editions/Historic Anthology 1.txt | 27 ++++++++++++++++ .../res/editions/Historic Anthology 2.txt | 32 +++++++++++++++++++ forge-gui/res/formats/Digital/Historic.txt | 8 +++++ 5 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 forge-gui/res/editions/Historic Anthology 1.txt create mode 100644 forge-gui/res/editions/Historic Anthology 2.txt create mode 100644 forge-gui/res/formats/Digital/Historic.txt diff --git a/forge-core/src/main/java/forge/StaticData.java b/forge-core/src/main/java/forge/StaticData.java index 6b65424daab..a35b3887935 100644 --- a/forge-core/src/main/java/forge/StaticData.java +++ b/forge-core/src/main/java/forge/StaticData.java @@ -215,7 +215,7 @@ public class StaticData { public Predicate getStandardPredicate() { return standardPredicate; } public Predicate getPioneerPredicate() { return pioneerPredicate; } - + public Predicate getModernPredicate() { return modernPredicate; } public Predicate getCommanderPredicate() { return commanderPredicate; } diff --git a/forge-game/src/main/java/forge/game/GameFormat.java b/forge-game/src/main/java/forge/game/GameFormat.java index e4efda21fb6..a66395ce300 100644 --- a/forge-game/src/main/java/forge/game/GameFormat.java +++ b/forge-game/src/main/java/forge/game/GameFormat.java @@ -47,7 +47,7 @@ import java.util.Map.Entry; public class GameFormat implements Comparable { private final String name; public enum FormatType {Sanctioned, Casual, Historic, Digital, Custom} - public enum FormatSubType {Block, Standard, Extended, Pioneer, Modern, Legacy, Vintage, Commander, Planechase, Videogame, MTGO, Custom} + public enum FormatSubType {Block, Standard, Extended, Pioneer, Modern, Legacy, Vintage, Commander, Planechase, Videogame, MTGO, Arena, Custom} // contains allowed sets, when empty allows all sets private FormatType formatType; diff --git a/forge-gui/res/editions/Historic Anthology 1.txt b/forge-gui/res/editions/Historic Anthology 1.txt new file mode 100644 index 00000000000..66d29db7ce2 --- /dev/null +++ b/forge-gui/res/editions/Historic Anthology 1.txt @@ -0,0 +1,27 @@ +[metadata] +Code=HA1 +Date=2019-11-21 +Name=Historic Anthology 1 +Type=Other + +[cards] +1 R Serra Ascendant +2 C Soul Warden +3 R Kinsbaile Cavalier +4 C Treasure Hunt +5 C Distant Melody +6 R Cryptbreaker +7 R Hypnotic Specter +8 R Phyrexian Arena +9 C Tendrils of Corruption +10 C Kiln Fiend +11 U Goblin Matron +12 R Hidetsugu's Second Rite +13 C Elvish Visionary +14 R Fauna Shaman +15 U Imperious Perfect +16 U Burning-Tree Emissary +17 R Captain Sisay +18 U Ornithopter +19 C Mind Stone +20 R Darksteel Reactor \ No newline at end of file diff --git a/forge-gui/res/editions/Historic Anthology 2.txt b/forge-gui/res/editions/Historic Anthology 2.txt new file mode 100644 index 00000000000..b1634ff631b --- /dev/null +++ b/forge-gui/res/editions/Historic Anthology 2.txt @@ -0,0 +1,32 @@ +[metadata] +Code=HA2 +Date=2020-03-12 +Name=Historic Anthology 2 +Type=Other + +[cards] +1 U Nyx-Fleece Ram +2 R Ranger of Eos +3 R Sigil of the Empty Throne +4 R Thalia, Guardian of Thraben +5 U Merrow Reejerey +6 R Inexorable Tide +7 U Brain Maggot +8 R Pack Rat +9 U Virulent Plague +10 R Waste Not +11 M Dragonmaster Outcast +12 U Goblin Ruinblaster +13 C Ancestral Mask +14 R Terravore +15 R Knight of the Reliquary +16 R Maelstrom Pulse +17 R Meddling Mage +18 M Platinum Angel +19 C Barren Moor +20 C Bojuka Bog +21 C Forgotten Cave +22 U Ghost Quarter +23 C Lonely Sandbar +24 C Secluded Steppe +25 C Tranquil Thicket \ No newline at end of file diff --git a/forge-gui/res/formats/Digital/Historic.txt b/forge-gui/res/formats/Digital/Historic.txt new file mode 100644 index 00000000000..0a1157f164f --- /dev/null +++ b/forge-gui/res/formats/Digital/Historic.txt @@ -0,0 +1,8 @@ +[format] +Name:Historic +Type:Digital +Subtype:Arena +Effective:2019-11-21 +Order:142 +Sets:XLN, RIX, DOM, M19, GRN, G18, RNA, WAR, M20, ELD, HA1, THB, HA2 +Banned:Oko, Thief of Crowns; Once Upon a Time; Veil of Summer \ No newline at end of file