Commit 2bafa076 authored by wind2009's avatar wind2009 Committed by mercury233

Altergeist For new forbidden list (#103)

parent 7ecec005
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
53143898 53143898
42790071 42790071
42790071 42790071
42790071
14558127 14558127
14558127 14558127
59438930 59438930
......
...@@ -194,7 +194,7 @@ namespace WindBot.Game.AI.Decks ...@@ -194,7 +194,7 @@ namespace WindBot.Game.AI.Decks
public bool has_altergeist_left() public bool has_altergeist_left()
{ {
return (Bot.GetRemainingCount(CardId.Marionetter, 3) > 0 return (Bot.GetRemainingCount(CardId.Marionetter, 3) > 0
|| Bot.GetRemainingCount(CardId.Multifaker, 3) > 0 || Bot.GetRemainingCount(CardId.Multifaker, 2) > 0
|| Bot.GetRemainingCount(CardId.Meluseek,3) > 0 || Bot.GetRemainingCount(CardId.Meluseek,3) > 0
|| Bot.GetRemainingCount(CardId.Silquitous,2) > 0 || Bot.GetRemainingCount(CardId.Silquitous,2) > 0
|| Bot.GetRemainingCount(CardId.Kunquery,1) > 0); || Bot.GetRemainingCount(CardId.Kunquery,1) > 0);
...@@ -1265,7 +1265,7 @@ namespace WindBot.Game.AI.Decks ...@@ -1265,7 +1265,7 @@ namespace WindBot.Game.AI.Decks
AI.SelectCard(CardId.Marionetter); AI.SelectCard(CardId.Marionetter);
return true; return true;
} }
if (!Bot.HasInHandOrHasInMonstersZone(CardId.Multifaker) && Bot.GetRemainingCount(CardId.Multifaker, 3) > 0 && Multifaker_can_ss()) if (!Bot.HasInHandOrHasInMonstersZone(CardId.Multifaker) && Bot.GetRemainingCount(CardId.Multifaker, 2) > 0 && Multifaker_can_ss())
{ {
AI.SelectCard(CardId.Multifaker); AI.SelectCard(CardId.Multifaker);
return true; return true;
...@@ -1332,7 +1332,7 @@ namespace WindBot.Game.AI.Decks ...@@ -1332,7 +1332,7 @@ namespace WindBot.Game.AI.Decks
{ {
if (Duel.Player == 1) if (Duel.Player == 1)
{ {
if (!Bot.HasInHandOrHasInMonstersZone(CardId.Multifaker) && Bot.GetRemainingCount(CardId.Multifaker, 3) > 0 && Multifaker_candeckss() && Multifaker_can_ss()) if (!Bot.HasInHandOrHasInMonstersZone(CardId.Multifaker) && Bot.GetRemainingCount(CardId.Multifaker, 2) > 0 && Multifaker_candeckss() && Multifaker_can_ss())
{ {
foreach(ClientCard set_card in Bot.GetSpells()) foreach(ClientCard set_card in Bot.GetSpells())
{ {
...@@ -1356,7 +1356,7 @@ namespace WindBot.Game.AI.Decks ...@@ -1356,7 +1356,7 @@ namespace WindBot.Game.AI.Decks
AI.SelectCard(CardId.Marionetter); AI.SelectCard(CardId.Marionetter);
return true; return true;
} }
if (!Bot.HasInHandOrHasInMonstersZone(CardId.Multifaker) && Bot.GetRemainingCount(CardId.Multifaker, 3) > 0 && Multifaker_can_ss()) if (!Bot.HasInHandOrHasInMonstersZone(CardId.Multifaker) && Bot.GetRemainingCount(CardId.Multifaker, 2) > 0 && Multifaker_can_ss())
{ {
AI.SelectCard(CardId.Multifaker); AI.SelectCard(CardId.Multifaker);
return true; return true;
...@@ -2362,7 +2362,7 @@ namespace WindBot.Game.AI.Decks ...@@ -2362,7 +2362,7 @@ namespace WindBot.Game.AI.Decks
if (GetTotalATK(targets) >= 1500 && (summoned || (!Meluseek_selected && !Hexstia_selected))) return false; if (GetTotalATK(targets) >= 1500 && (summoned || (!Meluseek_selected && !Hexstia_selected))) return false;
} }
bool can_have_Multifaker = (Bot.HasInHand(CardId.Multifaker) bool can_have_Multifaker = (Bot.HasInHand(CardId.Multifaker)
|| (Bot.GetRemainingCount(CardId.Multifaker, 3) > 0 || (Bot.GetRemainingCount(CardId.Multifaker, 2) > 0
&& ( (Meluseek_selected && !Meluseek_searched) && ( (Meluseek_selected && !Meluseek_searched)
|| (Hexstia_selected && !Hexstia_searched) ))); || (Hexstia_selected && !Hexstia_searched) )));
if (can_have_Multifaker && Multifaker_can_ss()) altergeist_count++; if (can_have_Multifaker && Multifaker_can_ss()) altergeist_count++;
......
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