Skip to content

Commit

Permalink
fix ChaosAngelSpSummonWith3Monster
Browse files Browse the repository at this point in the history
  • Loading branch information
mercury233 committed Jan 15, 2024
1 parent 52f561f commit 68276aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Game/AI/Decks/LabrynthExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3447,10 +3447,11 @@ public bool ChaosAngelSpSummonWith3Monster()
level2MonsterList.Sort(CompareUsableAttack);
level4MonsterList.Sort(CompareUsableAttack);
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.GetBestEnemyMonster().IsShouldNotBeTarget() && !Util.GetBestEnemyMonster().IsShouldNotBeMonsterTarget();
checkFlag |= !BestEnemyMonster.IsShouldNotBeTarget() && !BestEnemyMonster.IsShouldNotBeMonsterTarget();
}
// 2+4+4
if (level2MonsterList.Count() >= 1 && level4MonsterList.Count() >= 2)
Expand Down

0 comments on commit 68276aa

Please sign in to comment.