Name:Ulamog, the Defiler
ManaCost:10
Types:Legendary Creature Eldrazi
PT:7/7
K:Ward:Sac<2/Permanent>
T:Mode$ SpellCast | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When you cast this spell, target opponent exiles the top of half their library, rounded up.
SVar:TrigExile:DB$ Dig | ValidTgts$ Opponent | DestinationZone$ Exile | DigNum$ Z | ChangeNum$ All
SVar:Z:TargetedPlayer$CardsInLibrary/HalfUp
K:etbCounter:P1P1:Y:no Condition:CARDNAME enters with a number of +1/+1 counters on it equal to the greatest mana value among cards in exile.
SVar:Y:Count$ValidExile Card$GreatestCMC
S:Mode$ Continuous | Affected$ Card.Self | AddKeyword$ Annihilator:X | Description$ NICKNAME has annihilator X, where X is the number of +1/+1 counters on it.
SVar:X:Count$CardCounters.P1P1
DeckHas:Ability$Sacrifice|Counters
Oracle:When you cast this spell, target opponent exiles the top half of their library, rounded up.\nWard–Sacrifice two permanents.\nUlamog, the Defiler enters with a number of +1/+1 counters on it equal to the greatest mana value among cards in exile.\nUlamog has annihilator X, where X is the number of +1/+1 counters on it.
