From 6a340b900472ef502f924c05cd214a717ed8603e Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Fri, 3 Aug 2018 07:25:47 +0100 Subject: [PATCH 1/4] Loyal Apprentice --- .../res/cardsfolder/upcoming/loyal_apprentice.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/loyal_apprentice.txt diff --git a/forge-gui/res/cardsfolder/upcoming/loyal_apprentice.txt b/forge-gui/res/cardsfolder/upcoming/loyal_apprentice.txt new file mode 100644 index 00000000000..44f67156e48 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/loyal_apprentice.txt @@ -0,0 +1,13 @@ +Name:Loyal Apprentice +ManaCost:1 R +Types:Creature Human Artificer +PT:2/1 +K:Haste +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | References$ X | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Lieutenant - at the beginning of combat on your turn, if you control your commander, create a 1/1 colorless Thopter artifact creature token with flying. That token gains haste until end of turn. +SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenName$ Thopter | TokenTypes$ Artifact,Creature,Thopter | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying | RememberTokens$ True | TokenImage$ c 1 1 thopter c18 | TokenAltImages$ c 1 1 thopter2 c18 | SubAbility$ DBPump +SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ Haste | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:X:Count$Valid Card.IsCommander+YouOwn+YouCtrl +DeckHas:Ability$Token +DeckHints:Ability$Token +Oracle:Haste\nLieutenant — At the beginning of combat on your turn, if you control your commander, create a 1/1 colorless Thopter artifact creature token with flying. That token gains haste until end of turn. From 1b47dce3e0a93328863b36cf38a8c21da395407b Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Fri, 3 Aug 2018 18:55:45 +0100 Subject: [PATCH 2/4] Consistent filter for Lieutenant cards to include Card.IsCommander+YouOwn+YouCtrl --- forge-gui/res/cardsfolder/upcoming/loyal_drake.txt | 2 +- .../res/cardsfolder/upcoming/loyal_guardian.txt | 2 +- .../res/cardsfolder/upcoming/loyal_subordinate.txt | 2 +- .../res/cardsfolder/upcoming/loyal_unicorn.txt | 13 +++++++++++++ 4 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt diff --git a/forge-gui/res/cardsfolder/upcoming/loyal_drake.txt b/forge-gui/res/cardsfolder/upcoming/loyal_drake.txt index 64741812695..febd4bd2438 100644 --- a/forge-gui/res/cardsfolder/upcoming/loyal_drake.txt +++ b/forge-gui/res/cardsfolder/upcoming/loyal_drake.txt @@ -3,7 +3,7 @@ ManaCost:2 U Types:Creature Drake PT:2/2 K:Flying -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.IsCommander+YouCtrl | Execute$ TrigDraw | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, draw a card. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | IsPresent$ Card.IsCommander+YouOwn+YouCtrl | Execute$ TrigDraw | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, draw a card. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 SVar:RemRandomDeck:True Oracle:Flying\nLieutenant — At the beginning of combat on your turn, if you control your commander, draw a card. diff --git a/forge-gui/res/cardsfolder/upcoming/loyal_guardian.txt b/forge-gui/res/cardsfolder/upcoming/loyal_guardian.txt index 5b255cd3ccb..5c7ce28e52a 100644 --- a/forge-gui/res/cardsfolder/upcoming/loyal_guardian.txt +++ b/forge-gui/res/cardsfolder/upcoming/loyal_guardian.txt @@ -3,7 +3,7 @@ ManaCost:4 G Types:Creature Rhino PT:4/4 K:Trample -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Command | IsPresent$ Card.IsCommander+YouCtrl | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, put a +1/+1 counter on each creature you control. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Command | IsPresent$ Card.IsCommander+YouOwn+YouCtrl | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, put a +1/+1 counter on each creature you control. SVar:TrigPutCounter:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 DeckHints:Ability$IsCommander Oracle:Trample\nLieutenant — At the beginning of combat on your turn, if you control your commander, put a +1/+1 counter on each creature you control. diff --git a/forge-gui/res/cardsfolder/upcoming/loyal_subordinate.txt b/forge-gui/res/cardsfolder/upcoming/loyal_subordinate.txt index 56ab755bcf5..21354e53f33 100644 --- a/forge-gui/res/cardsfolder/upcoming/loyal_subordinate.txt +++ b/forge-gui/res/cardsfolder/upcoming/loyal_subordinate.txt @@ -3,6 +3,6 @@ ManaCost:2 B Types:Creature Zombie PT:3/1 K:Menace -T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Command | IsPresent$ Card.YouOwn+YouOwn | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, each opponent loses 3 life. +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Command | IsPresent$ Card.IsCommander+YouOwn+YouCtrl | Execute$ TrigLoseLife | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, each opponent loses 3 life. SVar:TrigLoseLife:DB$ LoseLife | Defined$ Player.Opponent | LifeAmount$ 3 Oracle:Menace\nLieutenant — At the beginning of combat on your turn, if you control your commander, each opponent loses 3 life. diff --git a/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt b/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt new file mode 100644 index 00000000000..82f45570e16 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt @@ -0,0 +1,13 @@ +Name:Loyal Unicorn +ManaCost:3 W +Types:Creature Unicorn +PT:3/4 +K:Vigilance +T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | References$ X | TriggerZones$ Battlefield | Execute$ PreventEffect | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, prevent all combat damage that would be dealt to creatures you control this turn. +SVar:PreventEffect:DB$ Effect | StaticAbilities$ RPrevent | References$ RPrevent | ValidTgts$ You | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. +SVar:RPrevent:Mode$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. +S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddKeyword$ Vigilance | Description$ Other creatures you control gain vigilance until end of turn. +SVar:X:Count$Valid Card.IsCommander+YouOwn+YouCtrl +SVar:BuffedBy:Card.IsCommander +SVar:RemRandomDeck:True +Oracle:Vigilance\nLieutenant — At the beginning of combat on your turn, if you control your commander, prevent all combat damage that would be dealt to creatures you control this turn. Other creatures you control gain vigilance until end of turn. From 0876633990ec69d1f24bb68cb55c4ac0b229c1c8 Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Sat, 4 Aug 2018 06:33:56 +0100 Subject: [PATCH 3/4] Sower of Discord --- .../cardsfolder/upcoming/sower_of_discord.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/sower_of_discord.txt diff --git a/forge-gui/res/cardsfolder/upcoming/sower_of_discord.txt b/forge-gui/res/cardsfolder/upcoming/sower_of_discord.txt new file mode 100644 index 00000000000..a640b57ce99 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/sower_of_discord.txt @@ -0,0 +1,16 @@ +Name:Sower of Discord +ManaCost:4 B B +Types:Creature Demon +PT:6/6 +K:Flying +K:ETBReplacement:Other:ChooseP +SVar:ChooseP:DB$ ChoosePlayer | Defined$ You | Choices$ Player | AILogic$ Curse | RememberChosen$ True | SubAbility$ ChoosePTwo | SpellDescription$ As CARDNAME enters the battlefield, choose two players. +SVar:ChoosePTwo:DB$ ChoosePlayer | Defined$ You | Choices$ NonChosenPlayer | AILogic$ Curse +T:Mode$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player.Chosen | Execute$ TrigLoseLifeRemembered | TriggerDescription$ Whenever damage is dealt to one of the chosen players, the other chosen player also loses that much life. +T:Mode$ DamageDone | ActiveZones$ Battlefield | ValidTarget$ Player.IsRemembered | Execute$ TrigLoseLifeChosen | Secondary$ True | TriggerDescription$ Whenever damage is dealt to one of the chosen players, the other chosen player also loses that much life. +SVar:TrigLoseLifeRemembered:DB$ LoseLife | Defined$ Player.IsRemembered | LifeAmount$ X | References$ X +SVar:TrigLoseLifeChosen:DB$ LoseLife | Defined$ Player.Chosen | LifeAmount$ X | References$ X +SVar:X:TriggerCount$DamageAmount +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ DBCleanup | Static$ True +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +Oracle:Flying\nAs Sower of Discord enters the battlefield, choose two players.\nWhenever damage is dealt to one of the chosen players, the other chosen player also loses that much life. From 9127dc5d1e3c45bac3a74f50c5e13baa4cec04a9 Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Sat, 4 Aug 2018 06:36:12 +0100 Subject: [PATCH 4/4] Fix for loyal unicorn's damage prevention --- forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt b/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt index 82f45570e16..98f5a0b1733 100644 --- a/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt +++ b/forge-gui/res/cardsfolder/upcoming/loyal_unicorn.txt @@ -4,8 +4,8 @@ Types:Creature Unicorn PT:3/4 K:Vigilance T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GE1 | References$ X | TriggerZones$ Battlefield | Execute$ PreventEffect | TriggerDescription$ At the beginning of combat on your turn, if you control your commander, prevent all combat damage that would be dealt to creatures you control this turn. -SVar:PreventEffect:DB$ Effect | StaticAbilities$ RPrevent | References$ RPrevent | ValidTgts$ You | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. -SVar:RPrevent:Mode$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. +SVar:PreventEffect:DB$ Effect | ReplacementEffects$ RPrevent | References$ RPrevent | ValidTgts$ You | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. +SVar:RPrevent:Event$ DamageDone | Prevent$ True | IsCombat$ True | ActiveZones$ Command | ValidTarget$ Creature.YouCtrl | Description$ Prevent all combat damage that would be dealt to creatures you control this turn. S:Mode$ Continuous | Affected$ Creature.Other+YouCtrl | AddKeyword$ Vigilance | Description$ Other creatures you control gain vigilance until end of turn. SVar:X:Count$Valid Card.IsCommander+YouOwn+YouCtrl SVar:BuffedBy:Card.IsCommander