Implemention for SE_Berserk, SE_Vampirism (These are not used on live)

Fix for NPC not receiving spell bonus derived HP regen.
This commit is contained in:
KayenEQ
2014-06-20 18:10:29 -04:00
parent 70476bfb06
commit 5a14a85f52
8 changed files with 67 additions and 31 deletions
+1
View File
@@ -256,6 +256,7 @@ public:
virtual void DoClassAttacks(Mob *target);
void CheckSignal();
inline bool IsTargetableWithHotkey() const { return no_target_hotkey; }
int32 GetNPCHPRegen() const { return hp_regen + itembonuses.HPRegen + spellbonuses.HPRegen; }
//waypoint crap
int GetMaxWp() const { return max_wp; }