Commit 6d36d020 authored by wind2009's avatar wind2009

init

parent 64526e23
#created by ...
#main
8633261
8633261
8633261
35844557
35844557
35844557
72238166
34022970
34022970
34022970
42141493
42141493
84192580
101207025
14558127
14558127
14558127
59438930
59438930
23434538
23434538
94145021
97268402
97268402
97268402
7477101
7477101
7477101
25311006
35261759
35261759
85106525
24224830
24224830
60394026
65681983
6798031
10045474
10045474
10045474
#extra
9940036
34909328
34909328
2061963
7511613
7511613
101207047
1269512
6983839
90590303
46772449
16643334
21044178
66011101
8728498
!side
20292186
34267821
34267821
34267821
67173574
18144507
19613556
35269904
15693423
83326048
83326048
83326048
41420027
41420027
41420027
This diff is collapsed.
...@@ -99,7 +99,13 @@ namespace WindBot.Game.AI ...@@ -99,7 +99,13 @@ namespace WindBot.Game.AI
public const int GhostOgreAndSnowRabbit = 59438930; public const int GhostOgreAndSnowRabbit = 59438930;
public const int GhostBelle = 73642296; public const int GhostBelle = 73642296;
public const int EffectVeiler = 97268402; public const int EffectVeiler = 97268402;
public const int GhostMournerMoonlitChill = 52038441;
public const int ArtifactLancea = 34267821; public const int ArtifactLancea = 34267821;
public const int DimensionShifter = 91800273;
public const int NibiruThePrimalBeing = 27204311;
public const int MulcharmyPurulia = 84192580;
public const int MulcharmyFuwalos = 42141493;
public const int MulcharmyNyalus = 101207025;
public const int CalledByTheGrave = 24224830; public const int CalledByTheGrave = 24224830;
public const int CrossoutDesignator = 65681983; public const int CrossoutDesignator = 65681983;
...@@ -120,9 +126,19 @@ namespace WindBot.Game.AI ...@@ -120,9 +126,19 @@ namespace WindBot.Game.AI
public const int ImperialOrder = 61740673; public const int ImperialOrder = 61740673;
public const int RoyalDecreel = 51452091; public const int RoyalDecreel = 51452091;
public const int NaturalExterio = 99916754;
public const int NaturiaBeast = 33198837; public const int NaturiaBeast = 33198837;
public const int SwordsmanLV7 = 37267041;
public const int AntiSpellFragrance = 58921041; public const int AntiSpellFragrance = 58921041;
public const int Number41BagooskatheTerriblyTiredTapir = 90590303;
public const int SkillDrain = 82732705;
public const int DimensionalFissure = 81674782;
public const int BanisheroftheRadiance = 94853057;
public const int BanisheroftheLight = 61528025;
public const int KashtiraAriseHeart = 48626373;
public const int MaskedHERODarkLaw = 58481572;
public const int VaylantzWorld_ShinraBansho = 49568943; public const int VaylantzWorld_ShinraBansho = 49568943;
public const int VaylantzWorld_KonigWissen = 75952542; public const int VaylantzWorld_KonigWissen = 75952542;
public const int DivineArsenalAAZEUS_SkyThunder = 90448279; public const int DivineArsenalAAZEUS_SkyThunder = 90448279;
...@@ -214,6 +230,7 @@ namespace WindBot.Game.AI ...@@ -214,6 +230,7 @@ namespace WindBot.Game.AI
public const int FurHire = 0x114; public const int FurHire = 0x114;
public const int Altergeist = 0x103; public const int Altergeist = 0x103;
public const int Crusadia = 0x116; public const int Crusadia = 0x116;
public const int Danger = 0x11e;
public const int Endymion = 0x12a; public const int Endymion = 0x12a;
public const int AncientWarriors = 0x137; public const int AncientWarriors = 0x137;
public const int RescueACE = 0x18b; public const int RescueACE = 0x18b;
...@@ -780,7 +797,7 @@ namespace WindBot.Game.AI ...@@ -780,7 +797,7 @@ namespace WindBot.Game.AI
}; };
if (Util.GetLastChainCard().IsCode(ignoreList)) if (Util.GetLastChainCard().IsCode(ignoreList))
return false; return false;
if (Util.GetLastChainCard().HasSetcode(0x11e) && Util.GetLastChainCard().Location == CardLocation.Hand) // Danger! archtype hand effect if (Util.GetLastChainCard().HasSetcode(_Setcode.Danger) && Util.GetLastChainCard().Location == CardLocation.Hand) // Danger! archtype hand effect
return false; return false;
return Duel.LastChainPlayer == 1; return Duel.LastChainPlayer == 1;
} }
......
...@@ -350,6 +350,11 @@ namespace WindBot.Game ...@@ -350,6 +350,11 @@ namespace WindBot.Game
return Id == id || Alias - Id < 20 && Alias == id; return Id == id || Alias - Id < 20 && Alias == id;
} }
public bool IsOnField()
{
return Location == CardLocation.MonsterZone || Location == CardLocation.SpellZone || Location == CardLocation.PendulumZone || Location == CardLocation.FieldZone;
}
public bool HasXyzMaterial() public bool HasXyzMaterial()
{ {
return Overlays.Count > 0; return Overlays.Count > 0;
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
<Compile Include="Game\AI\CardSelector.cs" /> <Compile Include="Game\AI\CardSelector.cs" />
<Compile Include="Game\AI\DeckAttribute.cs" /> <Compile Include="Game\AI\DeckAttribute.cs" />
<Compile Include="Game\AI\DecksManager.cs" /> <Compile Include="Game\AI\DecksManager.cs" />
<Compile Include="Game\AI\Decks\RyzealExecutor.cs" />
<Compile Include="Game\AI\Decks\AlbazExecutor.cs" /> <Compile Include="Game\AI\Decks\AlbazExecutor.cs" />
<Compile Include="Game\AI\Decks\AltergeistExecutor.cs" /> <Compile Include="Game\AI\Decks\AltergeistExecutor.cs" />
<Compile Include="Game\AI\Decks\BraveExecutor.cs" /> <Compile Include="Game\AI\Decks\BraveExecutor.cs" />
......
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