NpcTemplate default undying value set to non monster types.

This commit is contained in:
MobiusDevelopment
2020-03-10 18:43:34 +00:00
parent 51d3a02ba0
commit efd832b2e2
17 changed files with 17 additions and 17 deletions

View File

@ -169,7 +169,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
_targetable = set.getBoolean("targetable", true);
_talkable = set.getBoolean("talkable", true);
_isQuestMonster = _title.contains("Quest");
_undying = set.getBoolean("undying", true);
_undying = set.getBoolean("undying", !_type.equals("Monster") && !_type.equals("RaidBoss") && !_type.equals("GrandBoss"));
_showName = set.getBoolean("showName", true);
_randomWalk = set.getBoolean("randomWalk", !_type.equals("Guard"));
_randomAnimation = set.getBoolean("randomAnimation", true);