[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 authored and GitHub committed 2022-08-30 23:29:41 -05:00
1 parent edda5ef811
commit 149fa54cfa
14 files changed
+63 -14

No files matched your search

+2
View File
@@ -97,6 +97,7 @@ Mob::Mob(
uint8 in_feettexture,
uint16 in_usemodel,
bool in_always_aggro,
int32 in_heroic_strikethrough,
int64 in_hp_regen_per_second
) :
attack_timer(2000),
@@ -283,6 +284,7 @@ Mob::Mob(
spawned = false;
rare_spawn = false;
always_aggro = in_always_aggro;
heroic_strikethrough = in_heroic_strikethrough;
InitializeBuffSlots();