Esempio n. 1
0
 /// <summary>
 /// Draw when we have lower LP, or destroy it. Can be overrided.
 /// </summary>
 protected bool DefaultChickenGame()
 {
     if (Executors.Count(exec => exec.Type == Type && exec.CardId == Card.Id) > 1)
     {
         return(false);
     }
     if (Bot.LifePoints <= 1000)
     {
         return(false);
     }
     if (Bot.LifePoints <= Enemy.LifePoints && ActivateDescription == Util.GetStringId(_CardId.ChickenGame, 0))
     {
         return(true);
     }
     if (Bot.LifePoints > Enemy.LifePoints && ActivateDescription == Util.GetStringId(_CardId.ChickenGame, 1))
     {
         return(true);
     }
     return(false);
 }