aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectMgr.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-19 17:13:36 -0500
committermegamage <none@none>2009-06-19 17:13:36 -0500
commit39d3b492fe78cf50c147ce0e017614be6b074741 (patch)
treeca6ea328ca701cb740a4aab681f7e0b05e3367f1 /src/game/ObjectMgr.cpp
parent8f0cb4a3a291869472e7b793f4ab550b6760430c (diff)
*Update creature damage calculation.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r--src/game/ObjectMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index cbcb7b95e10..e11bd2b6638 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -785,6 +785,8 @@ void ObjectMgr::LoadCreatureTemplates()
else
const_cast<CreatureInfo*>(cInfo)->scale = 1.0f;
}
+
+ const_cast<CreatureInfo*>(cInfo)->dmg_multiplier *= Creature::_GetDamageMod(cInfo->rank);
}
}