Commit 8fd90a30 authored by mercury233's avatar mercury233

fix

parent 4f8bc564
...@@ -473,6 +473,7 @@ namespace WindBot.Game.AI.Decks ...@@ -473,6 +473,7 @@ namespace WindBot.Game.AI.Decks
} }
} }
return AI.Utils.IsEnnemyBetter(true, false) return AI.Utils.IsEnnemyBetter(true, false)
&& AI.Utils.GetBestAttack(Duel.Fields[1], true) > 2200
&& num < 4 && num < 4
&& !Duel.Fields[0].HasInMonstersZone(new List<int> && !Duel.Fields[0].HasInMonstersZone(new List<int>
{ {
......
...@@ -201,7 +201,7 @@ namespace WindBot.Game ...@@ -201,7 +201,7 @@ namespace WindBot.Game
private void OnReplay(BinaryReader packet) private void OnReplay(BinaryReader packet)
{ {
byte[] replay = packet.ReadToEnd(); /*byte[] replay =*/ packet.ReadToEnd();
/* /*
const string directory = "Replays"; const string directory = "Replays";
...@@ -425,7 +425,7 @@ namespace WindBot.Game ...@@ -425,7 +425,7 @@ namespace WindBot.Game
private void OnChainSorting(BinaryReader packet) private void OnChainSorting(BinaryReader packet)
{ {
BinaryWriter writer = GamePacketFactory.Create(CtosMessage.Response); /*BinaryWriter writer =*/ GamePacketFactory.Create(CtosMessage.Response);
Connection.Send(CtosMessage.Response, -1); Connection.Send(CtosMessage.Response, -1);
} }
......
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