Skip to content

Commit

Permalink
Enum update (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wind2009-Louse authored Jul 9, 2024
1 parent 4a0dc09 commit 65954e3
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 11 deletions.
4 changes: 3 additions & 1 deletion Game/AI/DefaultExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ protected class _CardId
public const int DuelDragonToken = 60025884;
public const int SeleneQueenOfTheMasterMagicians = 45819647;
public const int TheWingedDragonofRaSphereMode = 10000080;
public const int SelettriceVaalmonica = 23093373;

public const int RockOfTheVanquisher = 28168628;
public const int SpiralDischarge = 29477860;
Expand Down Expand Up @@ -302,7 +303,8 @@ protected DefaultExecutor(GameAI ai, Duel duel)
{_CardId.DuelLinkDragonTheDuelDragon, (defender, list) => list.Any(monster => monster.IsCode(_CardId.DuelDragonToken))},
{_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))}
};

/// <summary>
Expand Down
13 changes: 12 additions & 1 deletion Game/AI/Enums/Floodgate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,17 @@ public enum Floodgate
StellarNemesisTPHON_DoomsdayStar = 93039339,
SPLittleKnight = 29301450,
AngelRing = 40678060,
SkullGuardianTheSilenforcingProtector = 10774240
SkullGuardianProtectorOfTheVoicelessVoice = 10774240,
FloweringEtoileTheMelodiousMagnificat = 83793721,
EnlightenmentDragon = 46186135,
GoldPrideEradicator = 45464587,
VarudrasTheFinalBringerOfTheEndTimes = 70636044,
RagnaraikaStagSovereign = 42307760,
DrytronMeteonisAlphaDraconids = 56863746,
TheUnstoppableExodiaIncarnate = 83257450,
LightAndDarknessDragonLord = 19652159,
FiendsmithDiesIrae = 82135803,
MementomictlanTecuhtlicaCombinedConqueror = 14529511,
MadolcheQueenTiaraalaFraise = 49689480
}
}
4 changes: 3 additions & 1 deletion Game/AI/Enums/FusionSpell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public enum FusionSpell
FusionReproduction = 43331750,
ChimeraFusion = 63136489,
HarmonicSynchroFusion = 7473735,
SouloftheSupremeCelestialKing = 76840111
SouloftheSupremeCelestialKing = 76840111,
MelodiousConcerto = 31458630,
MementotlanFusion = 66518509
}
}
11 changes: 10 additions & 1 deletion Game/AI/Enums/InvincibleMonster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,15 @@ public enum InvincibleEnemyMonster
DarkGuardian = 26746975,
EnvoyOfTheWaxState = 87462901,
Fluffyfluff = 85401123,
YubelDasEwigLiebeWachter = 47172959
YubelDasEwigLiebeWachter = 47172959,
TenpaiDragonFadra = 65326118,
GolgoilTheSteelSeismicSmasher = 59369430,
TalonsOfShurilane = 74150658,
NightmareApprentice = 58143852,
MillenniumoonMaiden = 37552929,
MillenniumFiendReflection = 63947968,
HereticalPhoboscobos = 76078185,
TopHatHareTheSilhouetteMagician = 1528054,
Silhouhatte = 24440742
}
}
6 changes: 1 addition & 5 deletions Game/AI/Enums/PreventActivationEffectInBattle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ public enum PreventActivationEffectInBattle
SamuraiDestroyer = 40509732,
ArmadesKeeperOfBoundaries = 88033975,
NumberS39UtopiaTheLightning = 56832966,
DualAvatarEmpoweredKonGyo = 33026283,
GGolemRockHammer = 98875863,
WishDragon = 64583600,
ChaosWitch = 30327674,
FissioningMotherSpider = 34034150
DualAvatarEmpoweredKonGyo = 33026283
}
}
6 changes: 5 additions & 1 deletion Game/AI/Enums/ShouldBeDisabledBeforeItUseEffectMonster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public enum ShouldBeDisabledBeforeItUseEffectMonster
ThreeEyedGhost = 31464658,
UrsarcticPolarStar = 62714453,
BattlinBoxerPromoter = 83315222,
TGRocketSalamander = 77392987
TGRocketSalamander = 77392987,
GGolemRockHammer = 98875863,
WishDragon = 64583600,
ChaosWitch = 30327674,
FissioningMotherSpider = 34034150
}
}
3 changes: 2 additions & 1 deletion Game/AI/Enums/ShouldNotBeMonsterTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public enum ShouldNotBeMonsterTarget
BorreloadDragon = 31833038,
BorrelendDragon = 98630720,
DrytronMeteonisDraconids = 69815951,
MyutantBeast = 34695290
MyutantBeast = 34695290,
VeidosTheDragonOfEndlessDarkness = 8540986
}
}

0 comments on commit 65954e3

Please sign in to comment.