Skip to content

Commit

Permalink
Creature: Fix CLS reading mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Apr 26, 2024
1 parent 53efce2 commit f3ca348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Globals/ObjectMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3ca348

Please sign in to comment.