added a bit of targetfind stuff

This commit is contained in:
Tahir Akhlaq 2017-07-09 00:27:15 +01:00
parent c55c0b327d
commit 4ed8f3e5e2
3 changed files with 125 additions and 2 deletions

View file

@ -385,6 +385,15 @@ namespace FFXIVClassic_Map_Server.Actors
}
public bool IsDead()
{
return currentMainState == SetActorStatePacket.MAIN_STATE_DEAD || currentMainState == SetActorStatePacket.MAIN_STATE_DEAD2;
}
public bool IsAlive()
{
return !IsDead();
}
}
}