// Whenever a land enters the battlefield, Ankh of Mishra deals 2 damage to that land’s controller. public override void CardHasChangedZones(Game game, Card card, Zone previousZone, Zone currentZone) { if (currentZone == Zone.Battlefield && card.IsALand) { player = card.Controller; game.AbilityTriggered(this); } }
public override void BlockerDeclared(Game game, Card attacker, Card blocker) { if (attacker == Source) { otherPermanent = blocker; } else if (blocker == Source) { otherPermanent = attacker; } else { return; } game.AbilityTriggered(this); }