Commit 68276aa0 authored by mercury233's avatar mercury233

fix ChaosAngelSpSummonWith3Monster

parent 52f561fc
...@@ -3447,10 +3447,11 @@ namespace WindBot.Game.AI.Decks ...@@ -3447,10 +3447,11 @@ namespace WindBot.Game.AI.Decks
level2MonsterList.Sort(CompareUsableAttack); level2MonsterList.Sort(CompareUsableAttack);
level4MonsterList.Sort(CompareUsableAttack); level4MonsterList.Sort(CompareUsableAttack);
bool checkFlag = GetProblematicEnemyCardList(true, selfType: CardType.Monster).Count() > 0 && !CheckWhetherNegated(true, true, CardType.Monster); bool checkFlag = GetProblematicEnemyCardList(true, selfType: CardType.Monster).Count() > 0 && !CheckWhetherNegated(true, true, CardType.Monster);
if (Util.GetBestPower(Bot, true) <= Util.GetBestPower(Enemy)) ClientCard BestEnemyMonster = Util.GetBestEnemyMonster();
if (BestEnemyMonster != null && Util.GetBestPower(Bot, true) <= Util.GetBestPower(Enemy))
{ {
checkFlag |= Util.GetBestPower(Enemy) <= 3500; checkFlag |= Util.GetBestPower(Enemy) <= 3500;
checkFlag |= !Util.GetBestEnemyMonster().IsShouldNotBeTarget() && !Util.GetBestEnemyMonster().IsShouldNotBeMonsterTarget(); checkFlag |= !BestEnemyMonster.IsShouldNotBeTarget() && !BestEnemyMonster.IsShouldNotBeMonsterTarget();
} }
// 2+4+4 // 2+4+4
if (level2MonsterList.Count() >= 1 && level4MonsterList.Count() >= 2) if (level2MonsterList.Count() >= 1 && level4MonsterList.Count() >= 2)
......
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