Commit 4c5989bc authored by wind2009's avatar wind2009 Committed by GitHub

Enum update (#171)

parent e28a0fb9
...@@ -936,6 +936,10 @@ namespace WindBot.Game.AI.Decks ...@@ -936,6 +936,10 @@ namespace WindBot.Game.AI.Decks
{ {
return true; return true;
} }
if (Bot.HasInExtra(CardId.PsychicEndPunisher) && Bot.HasInMonstersZone(CardId.SwordsoulToken) && !onlyWyrmSpSummon)
{
return true;
}
return false; return false;
} }
...@@ -1387,7 +1391,7 @@ namespace WindBot.Game.AI.Decks ...@@ -1387,7 +1391,7 @@ namespace WindBot.Game.AI.Decks
List<ClientCard> checkNonTuner = Bot.GetMonsters().Where(card => card.IsFaceup() && !card.IsTuner()).ToList(); List<ClientCard> checkNonTuner = Bot.GetMonsters().Where(card => card.IsFaceup() && !card.IsTuner()).ToList();
checkNonTuner.Sort(CardContainer.CompareCardAttack); checkNonTuner.Sort(CardContainer.CompareCardAttack);
// level7 check // level7 check
if (Bot.HasInExtra(CardId.YaziEvilOfTheYangZing)) if (Bot.HasInExtra(CardId.YaziEvilOfTheYangZing) && GetProblematicEnemyCardList(true, true).Count() > 0)
{ {
foreach (ClientCard checkCard in checkNonTuner) foreach (ClientCard checkCard in checkNonTuner)
{ {
...@@ -2673,7 +2677,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2673,7 +2677,6 @@ namespace WindBot.Game.AI.Decks
if (CheckRemainInDeck(CardId.SwordsoulBlackout) > 0) if (CheckRemainInDeck(CardId.SwordsoulBlackout) > 0)
{ {
AI.SelectCard(CardId.SwordsoulBlackout); AI.SelectCard(CardId.SwordsoulBlackout);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2687,7 +2690,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2687,7 +2690,6 @@ namespace WindBot.Game.AI.Decks
if (CheckRemainInDeck(checkId) > 0 && !Bot.HasInHand(checkId)) if (CheckRemainInDeck(checkId) > 0 && !Bot.HasInHand(checkId))
{ {
AI.SelectCard(checkId); AI.SelectCard(checkId);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2700,7 +2702,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2700,7 +2702,6 @@ namespace WindBot.Game.AI.Decks
&& SwordsoulOfMoYeEffectCheck() && CheckRemainInDeck(CardId.SwordsoulStrategistLongyuan) > 0) && SwordsoulOfMoYeEffectCheck() && CheckRemainInDeck(CardId.SwordsoulStrategistLongyuan) > 0)
{ {
AI.SelectCard(CardId.SwordsoulStrategistLongyuan); AI.SelectCard(CardId.SwordsoulStrategistLongyuan);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2714,7 +2715,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2714,7 +2715,6 @@ namespace WindBot.Game.AI.Decks
if (CheckRemainInDeck(CardId.SwordsoulSacredSummit) > 0) if (CheckRemainInDeck(CardId.SwordsoulSacredSummit) > 0)
{ {
AI.SelectCard(CardId.SwordsoulSacredSummit); AI.SelectCard(CardId.SwordsoulSacredSummit);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2724,7 +2724,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2724,7 +2724,6 @@ namespace WindBot.Game.AI.Decks
if (CheckRemainInDeck(CardId.SwordsoulOfTaia) > 0) if (CheckRemainInDeck(CardId.SwordsoulOfTaia) > 0)
{ {
AI.SelectCard(CardId.SwordsoulOfTaia); AI.SelectCard(CardId.SwordsoulOfTaia);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2738,7 +2737,7 @@ namespace WindBot.Game.AI.Decks ...@@ -2738,7 +2737,7 @@ namespace WindBot.Game.AI.Decks
{ {
Logger.DebugWriteLine("Chixiao banish blackout"); Logger.DebugWriteLine("Chixiao banish blackout");
AI.SelectCard(CardId.SwordsoulBlackout); AI.SelectCard(CardId.SwordsoulBlackout);
AI.SelectYesNo(false); AI.SelectOption(1);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2754,7 +2753,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2754,7 +2753,6 @@ namespace WindBot.Game.AI.Decks
if (CheckRemainInDeck(checkId) > 0 && !Bot.HasInHand(checkId)) if (CheckRemainInDeck(checkId) > 0 && !Bot.HasInHand(checkId))
{ {
AI.SelectCard(checkId); AI.SelectCard(checkId);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
...@@ -2770,7 +2768,6 @@ namespace WindBot.Game.AI.Decks ...@@ -2770,7 +2768,6 @@ namespace WindBot.Game.AI.Decks
if (CheckRemainInDeck(checkId) > 0 && !Bot.HasInHand(checkId)) if (CheckRemainInDeck(checkId) > 0 && !Bot.HasInHand(checkId))
{ {
AI.SelectCard(checkId); AI.SelectCard(checkId);
AI.SelectYesNo(true);
activatedCardIdList.Add(Card.Id); activatedCardIdList.Add(Card.Id);
return true; return true;
} }
......
...@@ -24,5 +24,7 @@ ...@@ -24,5 +24,7 @@
ZushintheSleepingGiant = 67547370, ZushintheSleepingGiant = 67547370,
Heart_eartHDragon = 97403510, Heart_eartHDragon = 97403510,
DaigustoSphreeze = 29552709, DaigustoSphreeze = 29552709,
OhimetheManifestedMikanko = 81260679,
ArahimetheManifestedMikanko = 75771170
} }
} }
...@@ -199,6 +199,17 @@ ...@@ -199,6 +199,17 @@
BystialDisPater = 27572350, BystialDisPater = 27572350,
DespianLuluwalilith = 53971455, DespianLuluwalilith = 53971455,
FirewallDragonSingularity = 21637210, FirewallDragonSingularity = 21637210,
BrandedEtude = 45675980 BrandedEtude = 45675980,
EvolzarLars = 35103106,
AltergeistAdminia = 61470213,
EmperorCharlesTheGreat = 97864322,
YouReFinished = 88346805,
VolcanicEmperor = 46412900,
VolcanicInferno = 84138874,
RedZone = 50056656,
TGGlaiveBlaster = 95973569,
StellarNemesisTPHON_DoomsdayStar = 93039339,
SPLittleKnight = 29301450,
AngelRing = 40678060
} }
} }
...@@ -82,6 +82,9 @@ ...@@ -82,6 +82,9 @@
AmazonessSecretArts = 86758746, AmazonessSecretArts = 86758746,
DarkWorldAccession = 65956182, DarkWorldAccession = 65956182,
BeetrooperLanding = 13234975, BeetrooperLanding = 13234975,
FusionReproduction = 43331750 FusionReproduction = 43331750,
ChimeraFusion = 63136489,
HarmonicSynchroFusion = 7473735,
SouloftheSupremeCelestialKing = 76840111
} }
} }
...@@ -27,7 +27,9 @@ ...@@ -27,7 +27,9 @@
NumberC96DarkStorm = 77205367, NumberC96DarkStorm = 77205367,
Number54LionHeart = 54366836, Number54LionHeart = 54366836,
Number2NinjaShadowMosquito = 32453837, Number2NinjaShadowMosquito = 32453837,
OhimetheManifestedMikanko = 81260679 OhimetheManifestedMikanko = 81260679,
NightmareMagician = 40221691,
ArahimetheManifestedMikanko = 75771170
} }
/// <summary> /// <summary>
/// Cards that are invincible to battle. /// Cards that are invincible to battle.
...@@ -101,6 +103,12 @@ ...@@ -101,6 +103,12 @@
BrigrandtheGloryDragon = 34848821, BrigrandtheGloryDragon = 34848821,
AmazonessQueen = 15951532, AmazonessQueen = 15951532,
Number2NinjaShadowMosquito = 32453837, Number2NinjaShadowMosquito = 32453837,
OhimetheManifestedMikanko = 81260679 OhimetheManifestedMikanko = 81260679,
CornfieldCoatl = 92565383,
MirrorSwordknight = 28954097,
NightmareMagician = 40221691,
ArahimetheManifestedMikanko = 75771170,
UFOLight = 9275482,
TaotheGreatChanter = 34541543
} }
} }
...@@ -26,7 +26,8 @@ namespace WindBot.Game.AI.Enums ...@@ -26,7 +26,8 @@ namespace WindBot.Game.AI.Enums
GreenDuston = 52182715, GreenDuston = 52182715,
RedDuston = 61019812, RedDuston = 61019812,
EaterofMillions = 63845230, EaterofMillions = 63845230,
PutridPuddingBodyBuddies = 85101097 PutridPuddingBodyBuddies = 85101097,
Click_Echo = 2992467
} }
} }
\ No newline at end of file
...@@ -8,6 +8,7 @@ namespace WindBot.Game.AI.Enums ...@@ -8,6 +8,7 @@ namespace WindBot.Game.AI.Enums
GreenDuston = 52182715, GreenDuston = 52182715,
RedDuston = 61019812, RedDuston = 61019812,
EaterofMillions = 63845230, EaterofMillions = 63845230,
PutridPuddingBodyBuddies = 85101097 PutridPuddingBodyBuddies = 85101097,
Click_Echo = 2992467
} }
} }
\ No newline at end of file
...@@ -59,6 +59,10 @@ ...@@ -59,6 +59,10 @@
BrotherhoodoftheFireFist_Leopard = 39699564, BrotherhoodoftheFireFist_Leopard = 39699564,
SpringansPedor = 56818977, SpringansPedor = 56818977,
GizmekNaganakitheSunriseSignaler = 96399967, GizmekNaganakitheSunriseSignaler = 96399967,
MyutantMutant = 26561172 MyutantMutant = 26561172,
ThreeEyedGhost = 31464658,
UrsarcticPolarStar = 62714453,
BattlinBoxerPromoter = 83315222,
TGRocketSalamander = 77392987
} }
} }
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