Name:Anticognition
ManaCost:1 U
Types:Instant
A:SP$ Branch | BranchConditionSVar$ X | TargetType$ Spell | TgtZone$ Stack | ValidTgts$ Creature,Planeswalker | BranchConditionSVarCompare$ GE8 | TrueSubAbility$ CounterScry | FalseSubAbility$ CounterUnless | AILogic$ BranchCounter | SpellDescription$ Counter target creature or planeswalker spell unless its controller pays {2}. If an opponent has eight or more cards in their graveyard, instead counter that spell, then scry 2.
SVar:CounterUnless:DB$ Counter | Defined$ Targeted | UnlessCost$ 2
SVar:CounterScry:DB$ Counter | Defined$ Targeted | SubAbility$ DBScry
SVar:DBScry:DB$ Scry | ScryNum$ 2
SVar:X:PlayerCountOpponents$HighestCardsInGraveyard
DeckHints:Ability$Mill
Oracle:Counter target creature or planeswalker spell unless its controller pays {2}. If an opponent has eight or more cards in their graveyard, instead counter that spell, then scry 2.
