Example #1
0
 public override int Visit(DoubleHPAbility ability)
 {
     //Log(OwnerCard.Name + " used DoubleHPAbility");
     ((CreatureCard)OwnerCard).Health *= 2;
     foreach (CharacterEnum c in GameManager.UserDict.Keys.ToList())
     {
         AddResponse(c, new CardsModifiedResponse((CreatureCard)OwnerCard));
     }
     return(0);
 }
 public override int Visit(DoubleHPAbility ability)
 {
     if (Target == null)
     {
         return(0);
     }
     if (Target is CardTarget)
     {
         if (((CardTarget)Target).CardId == this.OwnerCard.Id)
         {
             return(0);
         }
     }
     return(-1);
 }
Example #3
0
 public override int Visit(DoubleHPAbility ability)
 {
     return(0);
 }
Example #4
0
 public abstract int Visit(DoubleHPAbility doubleHPAbility);