diff options
Diffstat (limited to 'src/server/game/Globals/ObjectMgr.cpp')
-rw-r--r-- | src/server/game/Globals/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp index 27456a6e6d3..f75ea583546 100644 --- a/src/server/game/Globals/ObjectMgr.cpp +++ b/src/server/game/Globals/ObjectMgr.cpp @@ -427,7 +427,7 @@ void ObjectMgr::LoadCreatureTemplate(Field* fields) creatureTemplate.speed_walk = fields[12].GetFloat(); creatureTemplate.speed_run = fields[13].GetFloat(); creatureTemplate.scale = fields[14].GetFloat(); - creatureTemplate.rank = uint32(fields[15].GetUInt8()); + creatureTemplate.Classification = CreatureClassifications(fields[15].GetUInt8()); creatureTemplate.dmgschool = uint32(fields[16].GetInt8()); creatureTemplate.BaseAttackTime = fields[17].GetUInt32(); creatureTemplate.RangeAttackTime = fields[18].GetUInt32(); @@ -973,7 +973,7 @@ void ObjectMgr::LoadCreatureTemplateDifficulty() CreatureStaticFlags6(fields[23].GetUInt32()), CreatureStaticFlags7(fields[24].GetUInt32()), CreatureStaticFlags8(fields[25].GetUInt32())); // TODO: Check if this still applies - creatureDifficulty.DamageModifier *= Creature::_GetDamageMod(itr->second.rank); + creatureDifficulty.DamageModifier *= Creature::GetDamageMod(itr->second.Classification); if (creatureDifficulty.HealthScalingExpansion < EXPANSION_LEVEL_CURRENT || creatureDifficulty.HealthScalingExpansion >= MAX_EXPANSIONS) { |