Commit d11241bb authored by 苍蓝's avatar 苍蓝

update

parent 06e2a2ad
Pipeline #6176 passed with stage
in 5 minutes and 9 seconds
......@@ -264,8 +264,12 @@ namespace WindBot.Game.AI.Decks
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }) &&
Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 4) < 2 &&
(Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
return true;
}
return false;
}
......
......@@ -241,7 +241,7 @@ namespace WindBot.Game.AI.Decks
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 5) > 2) && Bot.HasInHand(CardId.七星道魔术师))
if ((Bot.Hand.GetMatchingCardsCount(card => card.Level > 5) > 2) && Bot.HasInHand(CardId.七星道魔术师))
AI.SelectCard(CardId.七星道魔术师);
else
return false;
......@@ -252,8 +252,12 @@ namespace WindBot.Game.AI.Decks
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }) &&
Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 4) < 2 &&
(Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
return true;
}
return false;
}
private bool 圣防Repos()
......
......@@ -245,7 +245,7 @@ namespace WindBot.Game.AI.Decks
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
if ((Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 5) > 2) && Bot.HasInHand(CardId.七星道魔术师))
if ((Bot.Hand.GetMatchingCardsCount(card => card.Level > 5) > 2) && Bot.HasInHand(CardId.七星道魔术师))
AI.SelectCard(CardId.七星道魔术师);
else
return false;
......@@ -256,8 +256,12 @@ namespace WindBot.Game.AI.Decks
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }) &&
Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 4) < 2 &&
(Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
return true;
}
return false;
}
private bool 圣防Repos()
......
......@@ -264,11 +264,14 @@ namespace WindBot.Game.AI.Decks
}
private bool 凤凰龙summon()
{
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }))
if (Bot.HasInGraveyard(new[] { CardId.连击龙, CardId.青眼白龙 }) &&
Bot.MonsterZone.GetMatchingCardsCount(card => card.Level > 4) < 2 &&
(Bot.MonsterZone.GetMatchingCardsCount(card => card.Level < 5) + Bot.Hand.GetMatchingCardsCount(card => card.Level < 5)) <= 2)
{
return true;
}
return false;
}
private bool 死供Effect()
{
if (Util.IsOneEnemyBetterThanValue(1900, 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