- Avoid fallback warnings when processing dragon presence SVars.

This commit is contained in:
Agetian
2015-06-07 16:02:55 +00:00
parent bc3e323c09
commit 5eeb0a5951
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ Types:Instant
Text:As an additional cost to cast Draconic Roar, you may reveal a Dragon card from your hand.\n
K:Kicker Reveal<1/Dragon> : Generic
A:SP$ DealDamage | Cost$ 1 R | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 3 | SubAbility$ DBDamageController | SpellDescription$ CARDNAME deals 3 damage to target creature. If you revealed a Dragon card or controlled a Dragon as you cast CARDNAME, CARDNAME deals 3 damage to that creature's controller. | StackDescription$ SpellDescription
SVar:DBDamageController:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ GE1 | StackDescription$ None
SVar:DBDamageController:DB$ DealDamage | Defined$ TargetedController | NumDmg$ 3 | References$ TotalDragonPresence,DragonPresence | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ GE1 | StackDescription$ None
T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ StoreDragons | Static$ True
SVar:DragonPresence:Number$0
SVar:WasDragonRevealed:Count$ValidStack Card.Self+pseudokicked+wasCast

View File

@@ -4,7 +4,7 @@ Types:Instant
Text:As an additional cost to cast Foul-Tongue Invocation, you may reveal a Dragon card from your hand.\n
K:Kicker Reveal<1/Dragon> : Generic
A:SP$ Sacrifice | Cost$ 2 B | ValidTgts$ Player | SacValid$ Creature | SacMessage$ Creature | SubAbility$ DBGainLife | SpellDescription$ Target player sacrifices a creature. If you revealed a Dragon card or controlled a Dragon as you cast CARDNAME, you gain 4 life. | StackDescription$ SpellDescription
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ GE1
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 4 | References$ TotalDragonPresence,DragonPresence | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ GE1
T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ StoreDragons | Static$ True
SVar:DragonPresence:Number$0
SVar:WasDragonRevealed:Count$ValidStack Card.Self+pseudokicked+wasCast

View File

@@ -4,7 +4,7 @@ Types:Instant
K:Kicker Reveal<1/Dragon> : Generic
T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ StoreDragons | Static$ True
A:SP$ Counter | Cost$ U U | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | UnlessCost$ 1 | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ EQ0 | StackDescription$ SpellDescription | SubAbility$ DBCounter | SpellDescription$ Counter target spell unless its controller pays {1}. If you revealed a Dragon card or controlled a Dragon as you cast CARDNAME, counter that spell instead.
SVar:DBCounter:DB$ Counter | Defined$ Targeted | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ GE1 | StackDescription$ None
SVar:DBCounter:DB$ Counter | Defined$ Targeted | References$ TotalDragonPresence,DragonPresence | ConditionCheckSVar$ TotalDragonPresence | ConditionSVarCompare$ GE1 | StackDescription$ None
SVar:WasDragonRevealed:Count$ValidStack Card.Self+pseudokicked+wasCast
SVar:TotalDragonPresence:SVar$DragonPresence/Plus.WasDragonRevealed
SVar:DragonPresence:Number$0