Commit a9450a78 authored by mercury233's avatar mercury233

update version

parent 648eef1e
......@@ -237,7 +237,7 @@ namespace WindBot.Game
/// </summary>
/// <param name="card">Card to activate.</param>
/// <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)
{
......
......@@ -258,7 +258,7 @@ namespace WindBot.Game
else
_ai.OnDeckError("Unknown Card");
}
Connection.Close();
//Connection.Close();
}
private void OnRetry(BinaryReader packet)
......@@ -766,6 +766,7 @@ namespace WindBot.Game
CardLocation loc = (CardLocation)packet.ReadByte();
int seq = packet.ReadByte();
packet.ReadByte();
int desc = packet.ReadInt32();
ClientCard card = _duel.GetCard(player, loc, seq);
if (card == null)
......@@ -776,7 +777,7 @@ namespace WindBot.Game
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);
}
......
......@@ -20,7 +20,7 @@ namespace WindBot
Host = "127.0.0.1";
Port = 7911;
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