Esempio n. 1
0
 // 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);
     }
 }
Esempio n. 2
0
 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);
 }