[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
@@ -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();