Commit e566287a authored by mercury233's avatar mercury233

fix direck attack

parent 7299ea0d
...@@ -195,11 +195,8 @@ namespace WindBot.Game ...@@ -195,11 +195,8 @@ namespace WindBot.Game
if (defenders.Count == 0) if (defenders.Count == 0)
{ {
// Attack with the monster with the lowest attack first // Attack with the monster with the lowest attack first
for (int i = attackers.Count - 1; i >= 0; --i) ClientCard attacker = attackers[attackers.Count - 1];
{ return Attack(attacker, null);
ClientCard attacker = attackers[i];
Attack(attacker, null);
}
} }
else else
{ {
......
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