Name:Mindswipe
ManaCost:X U R
Types:Instant
A:SP$ Counter | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ X | SubAbility$ DBBurn | SpellDescription$ Counter target spell unless its controller pays {X}. CARDNAME deals {X} damage to that spell's controller.
SVar:DBBurn:DB$ DealDamage | NumDmg$ X | Defined$ TargetedController
SVar:X:Count$xPaid
Oracle:Counter target spell unless its controller pays {X}. Mindswipe deals X damage to that spell's controller.
