Fixed infinite loop with DoBattleAction. Added some casting logic.

This commit is contained in:
Filip Maj
2017-08-29 00:33:23 -04:00
parent d81832f256
commit 67485eafc0
5 changed files with 106 additions and 78 deletions

View File

@@ -86,7 +86,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
{
return (BattleCommand)MemberwiseClone();
}
public bool IsSpell()
{
return mpCost != 0 || castTimeSeconds != 0;