Core/Creatures: Added GetOriginalEntry method returning template id before any modifications to it happened
This commit is contained in:
@@ -668,6 +668,7 @@ class Creature : public Unit, public GridObject<Creature>
|
|||||||
void ResetPlayerDamageReq() { m_PlayerDamageReq = GetHealth() / 2; }
|
void ResetPlayerDamageReq() { m_PlayerDamageReq = GetHealth() / 2; }
|
||||||
uint32 m_PlayerDamageReq;
|
uint32 m_PlayerDamageReq;
|
||||||
|
|
||||||
|
uint32 GetOriginalEntry() const { return m_originalEntry; }
|
||||||
void SetOriginalEntry(uint32 entry) { m_originalEntry = entry; }
|
void SetOriginalEntry(uint32 entry) { m_originalEntry = entry; }
|
||||||
|
|
||||||
static float _GetDamageMod(int32 Rank);
|
static float _GetDamageMod(int32 Rank);
|
||||||
|
|||||||
Reference in New Issue
Block a user