Name:Regent's Authority
ManaCost:W
Types:Instant
A:SP$ Pump | ValidTgts$ Creature | TgtPrompt$ Choose target creature | SubAbility$ DBBranch | StackDescription$ SpellDescription | SpellDescription$ Target creature gets +2/+2 until end of turn. If it's an enchantment creature or legendary creature, instead put a +1/+1 counter on it and it gets +1/+1 until end of turn.
SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ EQ1 | TrueSubAbility$ DBPutCounter | FalseSubAbility$ DBPumpTwo
SVar:DBPutCounter:DB$ PutCounter | Defined$ Targeted | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBPumpOne
SVar:DBPumpOne:DB$ Pump | Defined$ Targeted | NumAtt$ 1 | NumDef$ 1
SVar:DBPumpTwo:DB$ Pump | Defined$ Targeted | NumAtt$ 2 | NumDef$ 2
SVar:X:Targeted$Valid Creature.Enchantment,Creature.Legendary
DeckHas:Ability$Counters
DeckHints:Type$Enchantment|Legendary
Oracle:Target creature gets +2/+2 until end of turn. If it's an enchantment creature or legendary creature, instead put a +1/+1 counter on it and it gets +1/+1 until end of turn.
