Beispiel #1
0
 public void Deal()
 {
     if (Source.HasAbility(AbilityEnum.Lifelink))
     {
         Source.Controler.LifePoints += Amount;
     }
     if (Source.HasAbility(AbilityEnum.Trample) && Target is CardInstance)
     {
         CardInstance t = Target as CardInstance;
         Target.AddDamages(new Damage(t, Source, t.Toughness));
         Amount -= t.Toughness;
         t.Controler.AddDamages(this);
     }
     else
     {
         Target.AddDamages(this);
     }
 }