From aef9aa0a699d13583eefbd94a2ef13e7069fddf4 Mon Sep 17 00:00:00 2001 From: Northmoc Date: Sat, 30 Oct 2021 08:55:58 -0400 Subject: [PATCH] wedding_announcement_wedding_festivity.txt and token --- .../java/forge/game/card/CounterEnumType.java | 2 ++ ...wedding_announcement_wedding_festivity.txt | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/wedding_announcement_wedding_festivity.txt diff --git a/forge-game/src/main/java/forge/game/card/CounterEnumType.java b/forge-game/src/main/java/forge/game/card/CounterEnumType.java index 0b56739c1cf..680ad89c308 100644 --- a/forge-game/src/main/java/forge/game/card/CounterEnumType.java +++ b/forge-game/src/main/java/forge/game/card/CounterEnumType.java @@ -171,6 +171,8 @@ public enum CounterEnumType { INTERVENTION("INTRV", 205, 203, 105), + INVITATION("INVIT", 205, 0, 26), + ISOLATION("ISOLT", 250, 190, 0), JAVELIN("JAVLN", 180, 206, 172), diff --git a/forge-gui/res/cardsfolder/upcoming/wedding_announcement_wedding_festivity.txt b/forge-gui/res/cardsfolder/upcoming/wedding_announcement_wedding_festivity.txt new file mode 100644 index 00000000000..f7898458495 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/wedding_announcement_wedding_festivity.txt @@ -0,0 +1,22 @@ +Name:Wedding Announcement +ManaCost:2 W +Types:Enchantment +T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your end step, put an invitation counter on CARDNAME. If you attacked with two or more creatures this turn, draw card. Otherwise, create a 1/1 white Human creature token. Then if CARDNAME has three or more invitation counters on it, transform it. +SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ INVITATION | CounterNum$ 1 | SubAbility$ DBBranch +SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE2 | TrueSubAbility$ DBDraw | FalseSubAbility$ DBToken +SVar:X:Count$AttackersDeclared +SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ DBTransform +SVar:DBToken:DB$ Token | TokenScript$ w_1_1_human | SubAbility$ DBTransform +SVar:DBTransform:DB$ SetState | Defined$ Self | ConditionDefined$ Self | ConditionPresent$ Card.counters_GE3_INVITATION | Mode$ Transform +AlternateMode:DoubleFaced +DeckHas:Ability$Counters & Ability$Token +Oracle:At the beginning of your end step, put an invitation counter on Wedding Announcement. If you attacked with two or more creatures this turn, draw card. Otherwise, create a 1/1 white Human creature token. Then if Wedding Announcement has three or more invitation counters on it, transform it. + +ALTERNATE + +Name:Wedding Festivity +ManaCost:no cost +Colors:white +Types:Enchantment +S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures you control get +1/+1. +Oracle:Creatures you control get +1/+1.