Commit 54d06a13 authored by mercury233's avatar mercury233

fix some usage of SelectNextCard

parent 01bcb3d0
...@@ -358,6 +358,7 @@ namespace WindBot.Game.AI.Decks ...@@ -358,6 +358,7 @@ namespace WindBot.Game.AI.Decks
private bool LightningChidoriEffect() private bool LightningChidoriEffect()
{ {
ClientCard problematicCard = AI.Utils.GetProblematicEnemyCard(); ClientCard problematicCard = AI.Utils.GetProblematicEnemyCard();
AI.SelectCard(0);
AI.SelectNextCard(problematicCard); AI.SelectNextCard(problematicCard);
return true; return true;
} }
...@@ -423,6 +424,7 @@ namespace WindBot.Game.AI.Decks ...@@ -423,6 +424,7 @@ namespace WindBot.Game.AI.Decks
ClientCard result = AI.Utils.GetOneEnemyBetterThanValue(2000, true); ClientCard result = AI.Utils.GetOneEnemyBetterThanValue(2000, true);
if (result != null) if (result != null)
{ {
AI.SelectCard(0);
AI.SelectNextCard(result); AI.SelectNextCard(result);
return true; return true;
} }
......
...@@ -312,6 +312,7 @@ namespace WindBot.Game.AI.Decks ...@@ -312,6 +312,7 @@ namespace WindBot.Game.AI.Decks
ClientCard target = AI.Utils.GetOneEnemyBetterThanValue(oppoBestAttack, true); ClientCard target = AI.Utils.GetOneEnemyBetterThanValue(oppoBestAttack, true);
if (target != null) if (target != null)
{ {
AI.SelectCard(0);
AI.SelectNextCard(target); AI.SelectNextCard(target);
} }
return true; return true;
......
...@@ -862,6 +862,7 @@ namespace WindBot.Game.AI ...@@ -862,6 +862,7 @@ namespace WindBot.Game.AI
ClientCard target = AI.Utils.GetProblematicEnemyCard(); ClientCard target = AI.Utils.GetProblematicEnemyCard();
if (target != null) if (target != null)
{ {
AI.SelectCard(0);
AI.SelectNextCard(target); AI.SelectNextCard(target);
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