Commit 1371c7dc authored by mercury233's avatar mercury233

fix DefaultChickenGame

parent 83aabc7a
...@@ -795,6 +795,8 @@ namespace WindBot.Game.AI ...@@ -795,6 +795,8 @@ namespace WindBot.Game.AI
{ {
if (Executors.Count(exec => exec.Type == Type && exec.CardId == Card.Id) > 1) if (Executors.Count(exec => exec.Type == Type && exec.CardId == Card.Id) > 1)
return false; return false;
if (Card.IsFacedown())
return true;
if (Bot.LifePoints <= 1000) if (Bot.LifePoints <= 1000)
return false; return false;
if (Bot.LifePoints <= Enemy.LifePoints && ActivateDescription == Util.GetStringId(_CardId.ChickenGame, 0)) if (Bot.LifePoints <= Enemy.LifePoints && ActivateDescription == Util.GetStringId(_CardId.ChickenGame, 0))
...@@ -1110,7 +1112,7 @@ namespace WindBot.Game.AI ...@@ -1110,7 +1112,7 @@ namespace WindBot.Game.AI
if (Util.IsTurn1OrMain2() && HonestEffectCount <= 5) if (Util.IsTurn1OrMain2() && HonestEffectCount <= 5)
{ {
HonestEffectCount++; //HonestEffectCount++;
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment