Commit f92f918b authored by mercury233's avatar mercury233

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

parents c2a74881 bd858159
......@@ -143,10 +143,10 @@ namespace WindBot.Game
}
if ((flag & (int)Query.Owner) != 0)
Owner = duel.GetLocalPlayer(packet.ReadInt32());
if ((flag & (int)Query.IsDisabled) != 0)
Disabled = packet.ReadInt32();
if ((flag & (int)Query.IsPublic) != 0)
packet.ReadInt32();
if ((flag & (int)Query.Status) != 0) {
int status = packet.ReadInt32();
Disabled = status & 0x0001;
}
if ((flag & (int)Query.LScale) != 0)
LScale = packet.ReadInt32();
if ((flag & (int)Query.RScale) != 0)
......
......@@ -1042,6 +1042,10 @@ namespace WindBot.Game
int sseq = packet.ReadByte();
int desc = packet.ReadInt32();
if (desc == 221) // trigger effect
{
desc = 0;
}
cards.Add(_duel.GetCard(con, loc, seq, sseq));
descs.Add(desc);
}
......
......@@ -22,7 +22,7 @@ namespace WindBot
Host = "127.0.0.1";
Port = 7911;
HostInfo = "";
Version = 0x1346;
Version = 0x1347;
Hand = 0;
Debug = false;
Chat = true;
......
No preview for this file type
No preview for this file type
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