Consistent filter for Lieutenant cards to include Card.IsCommander+YouOwn+YouCtrl

This commit is contained in:
austinio7116
2018-08-03 18:55:45 +01:00
committed by maustin
parent 6a340b9004
commit 1b47dce3e0
4 changed files with 16 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ ManaCost:2 U
Types:Creature Drake Types:Creature Drake
PT:2/2 PT:2/2
K:Flying 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:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
Oracle:Flying\nLieutenant — At the beginning of combat on your turn, if you control your commander, draw a card. Oracle:Flying\nLieutenant — At the beginning of combat on your turn, if you control your commander, draw a card.

View File

@@ -3,7 +3,7 @@ ManaCost:4 G
Types:Creature Rhino Types:Creature Rhino
PT:4/4 PT:4/4
K:Trample 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 SVar:TrigPutCounter:DB$ PutCounterAll | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1
DeckHints:Ability$IsCommander 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. 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.

View File

@@ -3,6 +3,6 @@ ManaCost:2 B
Types:Creature Zombie Types:Creature Zombie
PT:3/1 PT:3/1
K:Menace 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 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. Oracle:Menace\nLieutenant — At the beginning of combat on your turn, if you control your commander, each opponent loses 3 life.

View File

@@ -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.