Flag npc as dead when their health ratio hits 0

Sometimes npcs despawn without their HP var visible after death
This commit is contained in:
Adam
2018-05-31 18:18:29 -04:00
parent fd3a27f8b6
commit 8a6fc94239
4 changed files with 38 additions and 4 deletions

View File

@@ -37,4 +37,6 @@ public interface RSNPC extends RSActor, NPC
int getIndex();
void setIndex(int id);
void setDead(boolean dead);
}