Commit d40ee406 authored by SherryChaos's avatar SherryChaos

windbot update

parent 52ace79b
using System; using System;
using System.Linq;
using WindBot.Game.AI.Enums; using WindBot.Game.AI.Enums;
using YGOSharp.OCGWrapper.Enums; using YGOSharp.OCGWrapper.Enums;
...@@ -38,7 +39,8 @@ namespace WindBot.Game.AI ...@@ -38,7 +39,8 @@ namespace WindBot.Game.AI
/// </summary> /// </summary>
public static bool IsShouldNotBeTarget(this ClientCard card) public static bool IsShouldNotBeTarget(this ClientCard card)
{ {
return !card.IsDisabled() && !card.HasType(CardType.Normal) && Enum.IsDefined(typeof(ShouldNotBeTarget), card.Id); return !card.IsDisabled() && !card.HasType(CardType.Normal)
&& (Enum.IsDefined(typeof(ShouldNotBeTarget), card.Id) || card.Overlays.Any(code => code == 91025875));
} }
/// <summary> /// <summary>
...@@ -46,7 +48,8 @@ namespace WindBot.Game.AI ...@@ -46,7 +48,8 @@ namespace WindBot.Game.AI
/// </summary> /// </summary>
public static bool IsShouldNotBeMonsterTarget(this ClientCard card) public static bool IsShouldNotBeMonsterTarget(this ClientCard card)
{ {
return !card.IsDisabled() && Enum.IsDefined(typeof(ShouldNotBeMonsterTarget), card.Id); return !card.IsDisabled() && Enum.IsDefined(typeof(ShouldNotBeMonsterTarget), card.Id)
|| card.EquipCards.Any(c => c.IsCode(89812483) && !c.IsDisabled());
} }
/// <summary> /// <summary>
...@@ -54,7 +57,8 @@ namespace WindBot.Game.AI ...@@ -54,7 +57,8 @@ namespace WindBot.Game.AI
/// </summary> /// </summary>
public static bool IsShouldNotBeSpellTrapTarget(this ClientCard card) public static bool IsShouldNotBeSpellTrapTarget(this ClientCard card)
{ {
return !card.IsDisabled() && Enum.IsDefined(typeof(ShouldNotBeSpellTrapTarget), card.Id); return !card.IsDisabled() && Enum.IsDefined(typeof(ShouldNotBeSpellTrapTarget), card.Id)
|| card.EquipCards.Any(c => c.IsCode(89812483) && !c.IsDisabled());
} }
/// <summary> /// <summary>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
fileFormatVersion: 2
guid: 219f40b31d890c144bd8b80f523c593b
\ No newline at end of file
This diff is collapsed.
fileFormatVersion: 2
guid: ebc458a07734fc84888b068c02135434
\ No newline at end of file
...@@ -176,6 +176,7 @@ namespace WindBot.Game.AI ...@@ -176,6 +176,7 @@ namespace WindBot.Game.AI
public const int HeroicChampionClaivesolish = 97453744; public const int HeroicChampionClaivesolish = 97453744;
public const int GhostrickAlucard = 75367227; public const int GhostrickAlucard = 75367227;
public const int DinowrestlerKingTWrextle = 77967790; public const int DinowrestlerKingTWrextle = 77967790;
public const int NumberF0UtopicFutureZexal = 41522092;
public const int PerformapalMissDirector = 92932860; public const int PerformapalMissDirector = 92932860;
public const int AncientWarriorsMasterfulSunMou = 40140448; public const int AncientWarriorsMasterfulSunMou = 40140448;
...@@ -198,6 +199,8 @@ namespace WindBot.Game.AI ...@@ -198,6 +199,8 @@ namespace WindBot.Game.AI
public const int SeleneQueenOfTheMasterMagicians = 45819647; public const int SeleneQueenOfTheMasterMagicians = 45819647;
public const int TheWingedDragonofRaSphereMode = 10000080; public const int TheWingedDragonofRaSphereMode = 10000080;
public const int SelettriceVaalmonica = 23093373; public const int SelettriceVaalmonica = 23093373;
public const int PerformageTrapezeWitch = 33206889;
public const int PoseidraTheStormingAtlantean = 99193444;
public const int RockOfTheVanquisher = 28168628; public const int RockOfTheVanquisher = 28168628;
public const int SpiralDischarge = 29477860; public const int SpiralDischarge = 29477860;
...@@ -226,6 +229,7 @@ namespace WindBot.Game.AI ...@@ -226,6 +229,7 @@ namespace WindBot.Game.AI
public const int Ghostrick = 0x8d; public const int Ghostrick = 0x8d;
public const int OddEyes = 0x99; public const int OddEyes = 0x99;
public const int Performapal = 0x9f; public const int Performapal = 0x9f;
public const int Performage = 0xc6;
public const int BlueEyes = 0xdd; public const int BlueEyes = 0xdd;
public const int FurHire = 0x114; public const int FurHire = 0x114;
public const int Altergeist = 0x103; public const int Altergeist = 0x103;
...@@ -292,7 +296,8 @@ namespace WindBot.Game.AI ...@@ -292,7 +296,8 @@ namespace WindBot.Game.AI
{_CardId.HeroicChampionClaivesolish, defender => true}, {_CardId.HeroicChampionClaivesolish, defender => true},
{_CardId.GhostrickAlucard, defender => defender.HasSetcode(_Setcode.Ghostrick) || defender.IsFacedown()}, {_CardId.GhostrickAlucard, defender => defender.HasSetcode(_Setcode.Ghostrick) || defender.IsFacedown()},
{_CardId.MekkKnightCrusadiaAstram, defender => true}, {_CardId.MekkKnightCrusadiaAstram, defender => true},
{_CardId.DinowrestlerKingTWrextle, defender => true} {_CardId.DinowrestlerKingTWrextle, defender => true},
{_CardId.NumberF0UtopicFutureZexal, defender => true}
}; };
/// <summary> /// <summary>
...@@ -321,7 +326,9 @@ namespace WindBot.Game.AI ...@@ -321,7 +326,9 @@ namespace WindBot.Game.AI
{_CardId.SeleneQueenOfTheMasterMagicians, (defender, list) => list.Any(monster => monster.HasSetcode(_Setcode.Endymion))}, {_CardId.SeleneQueenOfTheMasterMagicians, (defender, list) => list.Any(monster => monster.HasSetcode(_Setcode.Endymion))},
{_CardId.TheWingedDragonofRaSphereMode, (defender, list) => true}, {_CardId.TheWingedDragonofRaSphereMode, (defender, list) => true},
{_CardId.SelettriceVaalmonica, (defender, list) => list.Any(monster => !monster.IsCode(_CardId.SelettriceVaalmonica))} {_CardId.SelettriceVaalmonica, (defender, list) => list.Any(monster => !monster.IsCode(_CardId.SelettriceVaalmonica))},
{_CardId.PerformageTrapezeWitch, (defender, list) => list.Any(monster => !monster.IsCode(_CardId.PerformageTrapezeWitch) && monster.HasSetcode(_Setcode.Performage))},
{_CardId.PoseidraTheStormingAtlantean, (defender, list) => list.Any(monster => !monster.IsCode(_CardId.PoseidraTheStormingAtlantean))}
}; };
/// <summary> /// <summary>
......
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
DaigustoSphreeze = 29552709, DaigustoSphreeze = 29552709,
OhimetheManifestedMikanko = 81260679, OhimetheManifestedMikanko = 81260679,
ArahimetheManifestedMikanko = 75771170, ArahimetheManifestedMikanko = 75771170,
YubelDasEwigLiebeWachter = 47172959 YubelDasEwigLiebeWachter = 47172959,
UzuhimeTheManifestedMikanko = 57566760,
MaidenInLove = 8445808,
ArchfiendMatador = 7622360
} }
} }
...@@ -223,6 +223,55 @@ ...@@ -223,6 +223,55 @@
LightAndDarknessDragonLord = 19652159, LightAndDarknessDragonLord = 19652159,
FiendsmithDiesIrae = 82135803, FiendsmithDiesIrae = 82135803,
MementomictlanTecuhtlicaCombinedConqueror = 14529511, MementomictlanTecuhtlicaCombinedConqueror = 14529511,
MadolcheQueenTiaraalaFraise = 49689480 MadolcheQueenTiaraalaFraise = 49689480,
XYZHyperDragonCannon = 75748977,
ClearViciousKnight = 70095046,
Red_EyesBlackFullmetalDragon = 80870883,
MetalzoaX = 27268998,
AzaminaIliaSilvia = 46396218,
HeosvarogTheMechanicalDawn = 8963089,
LegendaryLordSixSamurai_ShiEn = 34235530,
NumberC32SharkDrakeLeVeiss = 7628844,
RyzealDetonator = 34909328,
MalissQHeartsCrypter = 21848500,
Blue_EyesUltimateSpiritDragon = 89604813,
TheiaThePrimalBeing = 85687952,
ArcanaForceEX_TheChaosRuler = 12686296,
SaintAzamina = 85065943,
CrystalClearWingOverSynchroDragon = 84343351,
JurracAstero = 52553102,
NekrozOfMetaltron = 13408726,
ZoroaTheMagistusVerethragna = 37260677,
DiabellstarVengeance = 23151193,
RegenesisWarrior = 96540807,
RegenesisSage = 22938501,
RegenesisDragon = 59323650,
Snake_EyesVengeanceDragon = 79415624,
LegendaryLordSixSamurai_Kizan = 42209438,
JuraishinTheCursedThunderGod = 78693036,
EclipseDragonRulerOfCatastrophes = 30350202,
AlliedCodeTalkerIgnister = 39138610,
EternalSunshine = 28903523,
RegenesisBirth = 27781371,
Ryu_GeEnd = 90664684,
SoulOfGaiaTheFierceKnight = 73129314,
K9_XWerewolf = 90303227,
ArtmageFinmel = 34541940,
LeoWizardTheDarkFiend = 55423549,
LunalightLigerDancer = 54701958,
ArtmageDiactorus = 27184601,
PsychicBlasterMk_II = 88139289,
NumberF0UtopicFutureZexal = 41522092,
VallonTheSuperPsySkyblaster = 40673853,
MasterPeaceTheTrueDracoverlord = 12800564,
MegalithNotrahPlura = 44293356,
AxonKickerOracle = 33171768,
DoomZXIIEnd_Drastrius = 95626382,
DDDSkyKingZeusRagnarok = 30998403,
DarkContractWithTheDifferentDimension = 54936778,
KillerTuneRedSeal = 15665977,
RBGa10Driller = 6043161,
RBGa10Cutter = 33438265,
RBLambdaBlade = 17188206
} }
} }
...@@ -88,6 +88,25 @@ ...@@ -88,6 +88,25 @@
HarmonicSynchroFusion = 7473735, HarmonicSynchroFusion = 7473735,
SouloftheSupremeCelestialKing = 76840111, SouloftheSupremeCelestialKing = 76840111,
MelodiousConcerto = 31458630, MelodiousConcerto = 31458630,
MementotlanFusion = 66518509 MementotlanFusion = 66518509,
TheHallowedAzamina = 94845588,
AzaminaDebtors = 20934683,
AzaminaDetermination = 42201897,
HeavyPolymerization = 58570206,
DoubleFusion = 10218411,
DarkContact = 77124096,
GemKnightMasterDiamondDispersion = 25342956,
GemKnightDispersion = 24220368,
DracotailFaimena = 1498449,
DracotailMululu = 7375867,
KetuDracotail = 6153210,
RahuDracotail = 32548318,
ArtmagePowerPatron = 23829452,
ArtmageMasterworkSuccession = 37517035,
TeleportFusion = 36494597,
PrimiteFusion = 99161253,
TheGazeOfTimaeus = 22283204,
MutinyInTheSky = 71593652,
HuntingHorn = 55421040
} }
} }
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
Number2NinjaShadowMosquito = 32453837, Number2NinjaShadowMosquito = 32453837,
OhimetheManifestedMikanko = 81260679, OhimetheManifestedMikanko = 81260679,
NightmareMagician = 40221691, NightmareMagician = 40221691,
ArahimetheManifestedMikanko = 75771170 ArahimetheManifestedMikanko = 75771170,
UzuhimeTheManifestedMikanko = 57566760,
ArchfiendMatador = 7622360
} }
/// <summary> /// <summary>
/// Cards that are invincible to battle. /// Cards that are invincible to battle.
...@@ -123,6 +125,21 @@ ...@@ -123,6 +125,21 @@
MillenniumFiendReflection = 63947968, MillenniumFiendReflection = 63947968,
HereticalPhoboscobos = 76078185, HereticalPhoboscobos = 76078185,
TopHatHareTheSilhouetteMagician = 1528054, TopHatHareTheSilhouetteMagician = 1528054,
Silhouhatte = 24440742 Silhouhatte = 24440742,
TheDukeofDemise = 45445571,
EvilHERONeosLord = 13708888,
GladiatorBeastDareios = 72246674,
Number69HeraldryCrest_DarkMatterDemolition = 77571454,
FirstOfTheDragonlords = 53466722,
UzuhimeTheManifestedMikanko = 57566760,
HecahandsIbel = 95365081,
HecahandsYadel = 32759190,
HecahandsGoddus = 68144894,
HecahandsGygas = 95132593,
HecahandsBreus = 21637502,
HecahandsJawza = 67021206,
HecahandsXeno = 94410955,
MaidenInLove = 8445808,
ArchfiendMatador = 7622360
} }
} }
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
GalaxyEyesCipherDragon = 18963306, GalaxyEyesCipherDragon = 18963306,
Number107 = 88177324, Number107 = 88177324,
CyberDragonNova = 58069384, CyberDragonNova = 58069384,
Number39 = 84013237 Number39 = 84013237,
Argostars_GloriousAdra = 91438674,
Argostars_LightningTydeu = 65889305,
Argostars_SwiftCapane = 91284003,
Argostars_SlayerEteo = 38379052,
Argostars_FierceParthe = 21050476
} }
} }
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
SamuraiDestroyer = 40509732, SamuraiDestroyer = 40509732,
ArmadesKeeperOfBoundaries = 88033975, ArmadesKeeperOfBoundaries = 88033975,
NumberS39UtopiaTheLightning = 56832966, NumberS39UtopiaTheLightning = 56832966,
DualAvatarEmpoweredKonGyo = 33026283 DualAvatarEmpoweredKonGyo = 33026283,
GoukiTheTyrantOgre = 7782069
} }
} }
...@@ -67,6 +67,12 @@ ...@@ -67,6 +67,12 @@
GGolemRockHammer = 98875863, GGolemRockHammer = 98875863,
WishDragon = 64583600, WishDragon = 64583600,
ChaosWitch = 30327674, ChaosWitch = 30327674,
FissioningMotherSpider = 34034150 FissioningMotherSpider = 34034150,
AncientGearStatue = 32762201,
SplittingPlanarian = 44175358,
TestBear = 62076252,
RescueHedgehog = 99742859,
SuperQuantalFairyZetan = 66646087,
LightWaterDragon = 82616239
} }
} }
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
BorrelendDragon = 98630720, BorrelendDragon = 98630720,
DrytronMeteonisDraconids = 69815951, DrytronMeteonisDraconids = 69815951,
MyutantBeast = 34695290, MyutantBeast = 34695290,
VeidosTheDragonOfEndlessDarkness = 8540986 VeidosTheDragonOfEndlessDarkness = 8540986,
FirstOfTheDragonlords = 53466722
} }
} }
...@@ -51,6 +51,9 @@ ...@@ -51,6 +51,9 @@
RedEyesBDragon = 74677422, // sometimes the name of DragunofRedEyes will be changed to RedEyesBDragon RedEyesBDragon = 74677422, // sometimes the name of DragunofRedEyes will be changed to RedEyesBDragon
TheArrivalCyberseIgnister = 11738489, TheArrivalCyberseIgnister = 11738489,
MajespecterPorcupineYamaarashi = 51073802, MajespecterPorcupineYamaarashi = 51073802,
RaidraptorRisingRebellionFalcon = 71222868 RaidraptorRisingRebellionFalcon = 71222868,
Number97Draglubion = 28400508,
SaintAzamina = 85065943,
LunalightLigerDancer = 54701958
} }
} }
#created by MDPro3
#main
68337209
24224830
20726052
23434538
30118811
30118811
75500286
20938824
10045474
24224830
96676583
14558127
27204311
32061192
20938824
40366667
40366667
10045474
68337209
30118811
94722358
40366667
34267821
96676583
3723262
14558127
23434538
32061192
10045474
93453053
69272449
20938824
69272449
65681983
69272449
14558127
32061192
73628505
68337209
96676583
#extra
39138610
5043010
86066372
4280258
21848500
46947713
95454996
68059897
29301450
59859086
52698008
98978921
30342076
24842059
60303245
\ No newline at end of file
#created by ...
#main
91800273
91800273
42141493
42141493
42141493
3723262
96676583
96676583
30118811
30118811
69272449
69272449
69272449
32061192
32061192
32061192
20938824
20938824
20938824
14558128
14558128
14558128
23434538
23434538
75500286
24224830
24224830
93453053
68337209
68337209
68337209
10045474
10045474
10045474
20726052
40366667
40366667
40366667
57111661
94722358
#extra
64211118
39138610
9940036
9940036
92422871
92422871
92422871
21848500
68059897
95454996
46947713
59859086
9763474
52698008
30342076
!side
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