Commit bd858159 authored by mercury233's avatar mercury233

update ygopro version

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