Commit 398e4610 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:IceYGO/windbot

parents caac9c0c c17b9771
......@@ -58,8 +58,8 @@ namespace WindBot.Game.AI.Decks
public SkyStrikerExecutor(GameAI ai, Duel duel)
: base(ai, duel)
{
AddExecutor(ExecutorType.Activate, CardId.AshBlossom, DefaultTrap);
AddExecutor(ExecutorType.Activate, CardId.GhostRabbit, DefaultTrap);
AddExecutor(ExecutorType.Activate, CardId.AshBlossom, DefaultAshBlossomAndJoyousSpring);
AddExecutor(ExecutorType.Activate, CardId.GhostRabbit, DefaultGhostOgreAndSnowRabbit);
AddExecutor(ExecutorType.Activate, CardId.EffectVeiler, DefaultBreakthroughSkill);
AddExecutor(ExecutorType.Activate, CardId.SolemnWarning, DefaultSolemnWarning);
AddExecutor(ExecutorType.Activate, CardId.SolemnJudgment, DefaultSolemnJudgment);
......
......@@ -38,12 +38,15 @@ namespace WindBot.Game.AI
public const int CosmicCyclone = 8267140;
public const int ChickenGame = 67616300;
public const int SantaClaws = 46565218;
public const int CastelTheSkyblasterMusketeer = 82633039;
public const int CrystalWingSynchroDragon = 50954680;
public const int NumberS39UtopiaTheLightning = 56832966;
public const int Number39Utopia = 84013237;
public const int UltimayaTzolkin = 1686814;
public const int MekkKnightCrusadiaAstram = 21887175;
public const int HamonLordofStrikingThunder = 32491822;
public const int MoonMirrorShield = 19508728;
public const int PhantomKnightsFogBlade = 25542642;
......@@ -87,6 +90,7 @@ namespace WindBot.Game.AI
: base(ai, duel)
{
AddExecutor(ExecutorType.Activate, _CardId.ChickenGame, DefaultChickenGame);
AddExecutor(ExecutorType.Activate, _CardId.SantaClaws);
}
/// <summary>
......@@ -197,6 +201,9 @@ namespace WindBot.Game.AI
if (defender.IsCode(_CardId.UltimayaTzolkin) && !defender.IsDisabled() && Enemy.GetMonsters().Any(monster => !monster.Equals(defender) && monster.HasType(CardType.Synchro)))
return false;
if (Enemy.GetMonsters().Any(monster => !monster.Equals(defender) && monster.IsCode(_CardId.HamonLordofStrikingThunder) && !monster.IsDisabled() && monster.IsDefense()))
return false;
if (defender.OwnTargets.Any(card => card.IsCode(_CardId.PhantomKnightsFogBlade) && !card.IsDisabled()))
return false;
......
......@@ -82,6 +82,24 @@
InspectorBoarder = 15397015,
Mashoudou = 76375976,
EternalSoul = 48680970,
MarincessBattleOcean = 91027843
MarincessBattleOcean = 91027843,
TopologicZeroboros = 66403530,
GladiatorBeastDomitianus = 33652635,
SerzielWatcheroftheEvilEye = 82466274,
ZerrzielRuleroftheEvilEyed = 17739335,
GorgonEmpressoftheEvilEyed = 29357687,
UnchainedSoulofRage = 67680512,
DracoBerserkeroftheTenyi = 5041348,
NidhoggGeneraiderBossofIce = 49275969,
UtgardaGeneraiderBossofDelusion = 744887,
FrodiGeneraiderBossofSwords = 40998517,
HoarrGeneraiderBossofRumbling = 68199168,
GodPhoenixGearfried = 22091647,
BrotherhoodoftheFireFistEland = 61472381,
PredaplantVerteAnaconda = 70369116,
RedSupernovaDragon = 99585850,
NumberF0UtopicFutureDragon = 26973555,
InvokedAugoeides = 97300502,
DragonmaidStrahl = 24799107
}
}
......@@ -64,6 +64,8 @@
NumberF0UtopicFutureFutureSlash = 43490025,
NumberF0UtopicFuture = 65305468,
GoukiTheGiantOgre = 47946130,
BorrelswordDragon = 85289965
BorrelswordDragon = 85289965,
NumberF0UtopicFutureDragon = 26973555,
BorrelendDragon = 98630720
}
}
......@@ -44,6 +44,12 @@
PaladinofDarkDragon = 71408082,
PaladinofPhotonDragon = 85346853,
TwinPhotonLizard = 29455728,
TimeThiefRegulator = 19891131,
MathmechNabla = 53577438,
NidhoggGeneraiderBossofIce = 49275969,
HoarrGeneraiderBossofRumbling = 68199168,
RedFamiliar = 8372133,
AccesscodeTalker = 86066372,
CosmoBrain = 85679527,
ShiranuiSolitaire = 94801854,
......
......@@ -13,6 +13,7 @@
CXyzSimontheGreatMoralLeader = 41147577,
PaleozoicAnomalocaris = 61307542,
PaleozoicOpabinia = 37649320,
BorreloadDragon = 31833038
BorreloadDragon = 31833038,
BorrelendDragon = 98630720
}
}
......@@ -49,5 +49,6 @@
Blackwing_FullArmoredWing = 54082269,
DragunofRedEyes = 37818794,
RedEyesBDragon = 74677422, // sometimes the name of DragunofRedEyes will be changed to RedEyesBDragon
TheArrivalCyberseIgnister = 11738489
}
}
......@@ -691,12 +691,14 @@ namespace WindBot.Game
private void OnChaining(BinaryReader packet)
{
packet.ReadInt32(); // card id
int cardId = packet.ReadInt32();
int pcc = GetLocalPlayer(packet.ReadByte());
int pcl = packet.ReadByte();
int pcs = packet.ReadSByte();
int subs = packet.ReadSByte();
ClientCard card = _duel.GetCard(pcc, pcl, pcs, subs);
if (card.Id == 0)
card.SetId(cardId);
int cc = GetLocalPlayer(packet.ReadByte());
if (_debug)
if (card != null) Logger.WriteLine("(" + cc.ToString() + " 's " + (card.Name ?? "UnKnowCard") + " activate effect)");
......
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