Commit 0c575bba authored by mercury233's avatar mercury233

fix

parent 5f21679f
...@@ -109,6 +109,10 @@ namespace WindBot.Game.AI ...@@ -109,6 +109,10 @@ namespace WindBot.Game.AI
public void SendOnDirectAttack(string attacker) public void SendOnDirectAttack(string attacker)
{ {
if (attacker == "" || attacker == null)
{
attacker = _facedownmonstername;
}
InternalSendMessage(_ondirectattack, attacker); InternalSendMessage(_ondirectattack, attacker);
} }
public void SendOnDirectAttack() public void SendOnDirectAttack()
......
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