diff options
author | Machiavelli <none@none> | 2009-12-22 22:14:04 +0100 |
---|---|---|
committer | Machiavelli <none@none> | 2009-12-22 22:14:04 +0100 |
commit | 1bb648ccb9ab60a9c338e600dee784d845686063 (patch) | |
tree | f04b6757926f11bfab1bcb90f68e07de26d13ac3 /src/game/ObjectMgr.cpp | |
parent | b7ea59daf20b25f8e2690bd327ebee5db0998aa6 (diff) |
Also add expansion and unit class to debug output when base stats for creature cannot be found to better pinpoint lack of DB support.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index 06f831898f4..01867c7cffc 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -8948,9 +8948,7 @@ BaseHealthManaPair ObjectMgr::GenerateCreatureStats(uint32 level, CreatureInfo c CreatureBaseStats const* stats = GetCreatureBaseStats(info->expansion, info->unit_class, level); if (!stats) - { - sLog.outError("Could not find base stats for creature entry %u (base stats level %u)", info->Entry, level); - } + sLog.outError("Could not find base stats for creature entry %u (base stats: expansion %u, class %u, level %u)", info->Entry, info->expansion, info->unit_class, level); else { health = stats->GenerateHealth(level, info); |