From 1b47dce3e0a93328863b36cf38a8c21da395407b Mon Sep 17 00:00:00 2001 From: austinio7116 Date: Fri, 3 Aug 2018 18:55:45 +0100 Subject: [PATCH] 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.