Commit 11775aac authored by xiaoye's avatar xiaoye

Update Earth_408Executor.cs

parent c439a017
Pipeline #31794 passed with stage
in 48 seconds
......@@ -170,8 +170,10 @@ namespace WindBot.Game.AI.Decks
{
case 60229110:
{
if (cards.Any(card => card != null && card.Controller == 1))
return Util.CheckSelectCount(cards.Where(card => card != null && card.Controller == 1).ToList(), cards, min, max);
if (cards.Any(card => card != null && card.Controller == 1 && card.Location == CardLocation.MonsterZone))
return Util.CheckSelectCount(cards.Where(card => card != null && card.Controller == 1 && card.Location == CardLocation.MonsterZone).ToList(), cards, min, max);
if (cards.Any(card => card != null && card.Controller == 1 && card.Location == CardLocation.SpellZone))
return Util.CheckSelectCount(cards.Where(card => card != null && card.Controller == 1 && card.Location == CardLocation.SpellZone).ToList(), cards, min, max);
if (cards.Any(card => card != null && card.IsCode(new[] { 70828912, 97077563 })))
return Util.CheckSelectCount(cards.Where(card => card != null && card.IsCode(new[] { 70828912, 97077563 })).ToList(), cards, min, max);
break;
......@@ -479,7 +481,7 @@ namespace WindBot.Game.AI.Decks
{
case 60229110:
{
if (GetZoneCards(CardLocation.SpellZone, Enemy).Any(card => card != null && !card.IsShouldNotBeTarget() && card.IsFacedown()) && GetZoneCards(CardLocation.MonsterZone, Bot).Any(card => card != null && (!card.IsCode(new[] { 79575620, 97017120, 74131780 }) || (Bot.LifePoints <= 2000 && card.IsCode(79575620)))))
if ((GetZoneCards(CardLocation.SpellZone, Enemy).Any(card => card != null && !card.IsShouldNotBeTarget() && card.IsFacedown()) || GetZoneCards(CardLocation.MonsterZone, Enemy).Any(card => card != null && !card.IsShouldNotBeTarget() && card.IsFacedown())) && GetZoneCards(CardLocation.MonsterZone, Bot).Any(card => card != null && (!card.IsCode(new[] { 79575620, 97017120, 74131780 }) || (Bot.LifePoints <= 2000 && card.IsCode(79575620)))))
{
chk_release_summon = 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