Name:Fiery Impulse
ManaCost:R
Types:Instant
A:SP$ DealDamage | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumDmg$ 2 | SubAbility$ DBDamage | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | SpellDescription$ CARDNAME deals 2 damage to target creature.
SVar:DBDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ 3 | ConditionCheckSVar$ X | ConditionSVarCompare$ GE2 | SpellDescription$ Spell mastery — If there are two or more instant and/or sorcery cards in your graveyard, CARDNAME deals 3 damage instead.
SVar:X:Count$ValidGraveyard Instant.YouOwn,Sorcery.YouOwn
Oracle:Fiery Impulse deals 2 damage to target creature.\nSpell mastery — If there are two or more instant and/or sorcery cards in your graveyard, Fiery Impulse deals 3 damage instead.
