Commit a4084169 authored by mercury233's avatar mercury233

fix direct attack

parent 7ccfd6b4
...@@ -539,6 +539,8 @@ namespace WindBot.Game ...@@ -539,6 +539,8 @@ namespace WindBot.Game
card.ActionIndex[1] = i; card.ActionIndex[1] = i;
if (diratt > 0) if (diratt > 0)
card.CanDirectAttack = true; card.CanDirectAttack = true;
else
card.CanDirectAttack = false;
battle.AttackableCards.Add(card); battle.AttackableCards.Add(card);
} }
} }
......
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