From f3ca348f60cebb889400a5af94a61cdc29d6517d Mon Sep 17 00:00:00 2001 From: killerwife Date: Fri, 26 Apr 2024 16:58:45 +0200 Subject: [PATCH] Creature: Fix CLS reading mistake --- src/game/Globals/ObjectMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Globals/ObjectMgr.cpp b/src/game/Globals/ObjectMgr.cpp index 75641282fd4..1fa80ed97ad 100644 --- a/src/game/Globals/ObjectMgr.cpp +++ b/src/game/Globals/ObjectMgr.cpp @@ -978,7 +978,7 @@ void ObjectMgr::LoadCreatureClassLvlStats() cCLS.Spirit = spirit; cCLS.BaseHealth = fields[11 + (i * 2)].GetUInt32(); - cCLS.BaseDamage = fields[11 + (i * 2)].GetFloat(); + cCLS.BaseDamage = fields[12 + (i * 2)].GetFloat(); // should ensure old data does not need change (not wanting to recalculate to avoid losing data) // if any mistake is made, it will be in these formulae that make asumptions about the new calculations