Commit c53428bc authored by mercury233's avatar mercury233

fix ZoodiacExecutor to use AI.SelectMaterials

parent bba4eedd
...@@ -97,7 +97,7 @@ namespace WindBot.Game.AI.Decks ...@@ -97,7 +97,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor(ExecutorType.Repos, Repos); AddExecutor(ExecutorType.Repos, Repos);
// cards got by Toadall yAwesome // cards got by Toadally Awesome
AddExecutor(ExecutorType.Activate, CardId.MysticalSpaceTyphoon, DefaultMysticalSpaceTyphoon); AddExecutor(ExecutorType.Activate, CardId.MysticalSpaceTyphoon, DefaultMysticalSpaceTyphoon);
AddExecutor(ExecutorType.Activate, CardId.BookOfMoon, DefaultBookOfMoon); AddExecutor(ExecutorType.Activate, CardId.BookOfMoon, DefaultBookOfMoon);
AddExecutor(ExecutorType.Activate, CardId.CallOfTheHaunted, SurfaceEffect); AddExecutor(ExecutorType.Activate, CardId.CallOfTheHaunted, SurfaceEffect);
......
...@@ -403,7 +403,7 @@ namespace WindBot.Game.AI.Decks ...@@ -403,7 +403,7 @@ namespace WindBot.Game.AI.Decks
{ {
AI.SelectYesNo(false); AI.SelectYesNo(false);
AI.SelectPosition(CardPosition.FaceUpDefence); AI.SelectPosition(CardPosition.FaceUpDefence);
AI.SelectCard(new[] AI.SelectMaterials(new[]
{ {
CardId.Ratpier, CardId.Ratpier,
CardId.PhotonThrasher, CardId.PhotonThrasher,
...@@ -415,7 +415,7 @@ namespace WindBot.Game.AI.Decks ...@@ -415,7 +415,7 @@ namespace WindBot.Game.AI.Decks
private bool DridentSummon() private bool DridentSummon()
{ {
AI.SelectCard(new[] AI.SelectMaterials(new[]
{ {
CardId.Broadbull, CardId.Broadbull,
CardId.Tigermortar, CardId.Tigermortar,
...@@ -506,6 +506,11 @@ namespace WindBot.Game.AI.Decks ...@@ -506,6 +506,11 @@ namespace WindBot.Game.AI.Decks
private bool DaigustoEmeralSummon() private bool DaigustoEmeralSummon()
{ {
AI.SelectMaterials(new[]
{
CardId.PhotonThrasher,
CardId.AleisterTheInvoker
});
return Bot.GetGraveyardMonsters().Count >= 3; return Bot.GetGraveyardMonsters().Count >= 3;
} }
...@@ -599,7 +604,7 @@ namespace WindBot.Game.AI.Decks ...@@ -599,7 +604,7 @@ namespace WindBot.Game.AI.Decks
private bool MonsterRepos() private bool MonsterRepos()
{ {
if (Card.Id == CardId.NumberS39UtopiatheLightning) if (Card.Id == CardId.NumberS39UtopiatheLightning && Card.IsAttack())
return false; return false;
return base.DefaultMonsterRepos(); return base.DefaultMonsterRepos();
} }
......
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