Commit 433bb044 authored by mercury233's avatar mercury233

minor fix

parent 7eb0f1e9
...@@ -58,7 +58,7 @@ namespace DevBot.Game.AI.Decks ...@@ -58,7 +58,7 @@ namespace DevBot.Game.AI.Decks
AddExecutor(ExecutorType.Activate, (int)CardId.DarkHole, DefaultDarkHole); AddExecutor(ExecutorType.Activate, (int)CardId.DarkHole, DefaultDarkHole);
AddExecutor(ExecutorType.Activate, (int)CardId.Raigeki, DefaultRaigeki); AddExecutor(ExecutorType.Activate, (int)CardId.Raigeki, DefaultRaigeki);
AddExecutor(ExecutorType.Activate, (int)CardId.ReinforcementOfTheArmy, ReinforcementOfTheArmy); AddExecutor(ExecutorType.Activate, (int)CardId.ReinforcementOfTheArmy, ReinforcementOfTheArmy);
AddExecutor(ExecutorType.Activate, (int)CardId.XyzChangeTactics); AddExecutor(ExecutorType.Activate, (int)CardId.XyzChangeTactics, XyzChangeTactics);
// XYZ summons // XYZ summons
AddExecutor(ExecutorType.SpSummon, (int)CardId.Number39Utopia); AddExecutor(ExecutorType.SpSummon, (int)CardId.Number39Utopia);
...@@ -178,6 +178,8 @@ namespace DevBot.Game.AI.Decks ...@@ -178,6 +178,8 @@ namespace DevBot.Game.AI.Decks
private bool InstantFusion() private bool InstantFusion()
{ {
if (Duel.LifePoints[0] <= 1000)
return false;
List<ClientCard> monsters = Duel.Fields[0].GetMonsters(); List<ClientCard> monsters = Duel.Fields[0].GetMonsters();
int count4 = 0; int count4 = 0;
int count5 = 0; int count5 = 0;
...@@ -201,6 +203,11 @@ namespace DevBot.Game.AI.Decks ...@@ -201,6 +203,11 @@ namespace DevBot.Game.AI.Decks
return false; return false;
} }
private bool XyzChangeTactics()
{
return Duel.LifePoints[0] > 500;
}
private bool NumberS39UtopiatheLightning() private bool NumberS39UtopiatheLightning()
{ {
return Card.Attack < 5000; return Card.Attack < 5000;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
MaskedHeroDivineWind = 22093873, MaskedHeroDivineWind = 22093873,
DarknessNeosphere = 60417395, DarknessNeosphere = 60417395,
MetaionTheTimelord = 74530899, MetaionTheTimelord = 74530899,
CastleGate = 36931229, CastleGate = 36931229
Number39Utopia = 84013237
} }
} }
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