Core/Creature: regenerate health

Port From (https://github.com/TrinityCore/TrinityCore/commit/9a5e2b80b39d3c0a466aec1ab3a6dbccf938f570)
This commit is contained in:
hondacrx
2020-08-24 19:19:13 -04:00
parent 35c13d69ca
commit 8b6c86d568
6 changed files with 17 additions and 21 deletions
@@ -36,6 +36,10 @@ namespace Game.Entities
long _lastDamagedTime; // Part of Evade mechanics
MultiMap<byte, byte> m_textRepeat = new MultiMap<byte, byte>();
// Regenerate health
bool _regenerateHealth; // Set on creation
bool _regenerateHealthLock; // Dynamically set
public ulong m_PlayerDamageReq;
public float m_SightDistance;
public float m_CombatDistance;
@@ -49,7 +53,6 @@ namespace Game.Entities
bool m_AlreadyCallAssistance;
bool m_AlreadySearchedAssistance;
bool m_regenHealth;
bool m_cannotReachTarget;
uint m_cannotReachTimer;
bool m_AI_locked;