Commit a9450a78 authored by mercury233's avatar mercury233

update version

parent 648eef1e
...@@ -237,7 +237,7 @@ namespace WindBot.Game ...@@ -237,7 +237,7 @@ namespace WindBot.Game
/// </summary> /// </summary>
/// <param name="card">Card to activate.</param> /// <param name="card">Card to activate.</param>
/// <returns>True for yes, false for no.</returns> /// <returns>True for yes, false for no.</returns>
public bool OnSelectEffectYn(ClientCard card) public bool OnSelectEffectYn(ClientCard card, int desc)
{ {
foreach (CardExecutor exec in Executor.Executors) foreach (CardExecutor exec in Executor.Executors)
{ {
......
...@@ -258,7 +258,7 @@ namespace WindBot.Game ...@@ -258,7 +258,7 @@ namespace WindBot.Game
else else
_ai.OnDeckError("Unknown Card"); _ai.OnDeckError("Unknown Card");
} }
Connection.Close(); //Connection.Close();
} }
private void OnRetry(BinaryReader packet) private void OnRetry(BinaryReader packet)
...@@ -766,6 +766,7 @@ namespace WindBot.Game ...@@ -766,6 +766,7 @@ namespace WindBot.Game
CardLocation loc = (CardLocation)packet.ReadByte(); CardLocation loc = (CardLocation)packet.ReadByte();
int seq = packet.ReadByte(); int seq = packet.ReadByte();
packet.ReadByte(); packet.ReadByte();
int desc = packet.ReadInt32();
ClientCard card = _duel.GetCard(player, loc, seq); ClientCard card = _duel.GetCard(player, loc, seq);
if (card == null) if (card == null)
...@@ -776,7 +777,7 @@ namespace WindBot.Game ...@@ -776,7 +777,7 @@ namespace WindBot.Game
if (card.Id == 0) card.SetId(cardId); if (card.Id == 0) card.SetId(cardId);
int reply = _ai.OnSelectEffectYn(card) ? (1) : (0); int reply = _ai.OnSelectEffectYn(card, desc) ? (1) : (0);
Connection.Send(CtosMessage.Response, reply); Connection.Send(CtosMessage.Response, reply);
} }
......
...@@ -20,7 +20,7 @@ namespace WindBot ...@@ -20,7 +20,7 @@ namespace WindBot
Host = "127.0.0.1"; Host = "127.0.0.1";
Port = 7911; Port = 7911;
HostInfo = ""; HostInfo = "";
Version = 0x133C; Version = 0x233C;
} }
} }
} }
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