mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
fixed auto attacking self/npcs
This commit is contained in:
@@ -186,7 +186,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.ai
|
||||
public bool IsEngaged()
|
||||
{
|
||||
// todo: check this is legit
|
||||
return owner.currentMainState == SetActorStatePacket.MAIN_STATE_ACTIVE;
|
||||
return owner.currentMainState == SetActorStatePacket.MAIN_STATE_ACTIVE && owner.target != null;
|
||||
}
|
||||
|
||||
public bool IsDead()
|
||||
|
Reference in New Issue
Block a user