Commit c17b9771 authored by mercury233's avatar mercury233

don't attack Hamon the Lord

parent 4f91bc03
...@@ -46,6 +46,7 @@ namespace WindBot.Game.AI ...@@ -46,6 +46,7 @@ namespace WindBot.Game.AI
public const int Number39Utopia = 84013237; public const int Number39Utopia = 84013237;
public const int UltimayaTzolkin = 1686814; public const int UltimayaTzolkin = 1686814;
public const int MekkKnightCrusadiaAstram = 21887175; public const int MekkKnightCrusadiaAstram = 21887175;
public const int HamonLordofStrikingThunder = 32491822;
public const int MoonMirrorShield = 19508728; public const int MoonMirrorShield = 19508728;
public const int PhantomKnightsFogBlade = 25542642; public const int PhantomKnightsFogBlade = 25542642;
...@@ -200,6 +201,9 @@ namespace WindBot.Game.AI ...@@ -200,6 +201,9 @@ namespace WindBot.Game.AI
if (defender.IsCode(_CardId.UltimayaTzolkin) && !defender.IsDisabled() && Enemy.GetMonsters().Any(monster => !monster.Equals(defender) && monster.HasType(CardType.Synchro))) if (defender.IsCode(_CardId.UltimayaTzolkin) && !defender.IsDisabled() && Enemy.GetMonsters().Any(monster => !monster.Equals(defender) && monster.HasType(CardType.Synchro)))
return false; return false;
if (Enemy.GetMonsters().Any(monster => !monster.Equals(defender) && monster.IsCode(_CardId.HamonLordofStrikingThunder) && !monster.IsDisabled() && monster.IsDefense()))
return false;
if (defender.OwnTargets.Any(card => card.IsCode(_CardId.PhantomKnightsFogBlade) && !card.IsDisabled())) if (defender.OwnTargets.Any(card => card.IsCode(_CardId.PhantomKnightsFogBlade) && !card.IsDisabled()))
return false; return false;
......
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