[Feature] Implement Heroic Strikethrough to NPCs (#2395)

* [Feature] Implement Heroic Strikethrough to NPCs

* Removed virtual from inline int32 GetHeroicStrikethrough()

* Fix formatting

* Removed unnecessary function
This commit is contained in:
Aeadoin
2022-08-31 00:29:41 -04:00
committed by GitHub
parent edda5ef811
commit 149fa54cfa
14 changed files with 63 additions and 14 deletions
+2
View File
@@ -2561,6 +2561,8 @@ const NPCType *ZoneDatabase::LoadNPCTypesData(uint32 npc_type_id, bool bulk_load
t->exp_mod = n.exp_mod;
t->skip_auto_scale = false; // hardcoded here for now
t->hp_regen_per_second = n.hp_regen_per_second;
t->heroic_strikethrough = n.heroic_strikethrough;
// If NPC with duplicate NPC id already in table,
// free item we attempted to add.