Commit 8361fc5c authored by wind2009's avatar wind2009

Merge remote-tracking branch 'upstream/master'

parents 85b9b0ce 667db624
......@@ -79,7 +79,7 @@
ThunderDragonLord = 41685633,
CyberDragonInfinity = 10443957,
ImperialCustom = 9995766,
InspectorBoarder = 15397015
InspectorBoarder = 15397015,
Mashoudou = 76375976
}
}
......@@ -347,6 +347,8 @@ namespace WindBot.Game
int type = packet.ReadByte();
_duel.IsFirst = (type & 0xF) == 0;
_duel.Turn = 0;
int duel_rule = packet.ReadByte();
_ai.Duel.IsNewRule = (duel_rule == 4);
_duel.Fields[GetLocalPlayer(0)].LifePoints = packet.ReadInt32();
_duel.Fields[GetLocalPlayer(1)].LifePoints = packet.ReadInt32();
int deck = packet.ReadInt16();
......
......@@ -22,7 +22,7 @@ namespace WindBot
Host = "127.0.0.1";
Port = 7911;
HostInfo = "";
Version = 0x1348;
Version = 0x1349;
Hand = 0;
Debug = false;
Chat = true;
......
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