diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a2c4ddccd..5aa17dede 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9277,7 +9277,7 @@ int32 Unit::CalculateSpellDamage(Unit const* target, SpellEntry const* spellProt if (scalingEntry->playerClass == -1) gtSpellScalingId += 11 * 100; else - gtSpellScalingId += (getClass() - 1) * 100; + gtSpellScalingId += scalingEntry->playerClass * 100; gtScalingEntry = sGtSpellScalingStore.LookupEntry(gtSpellScalingId); } diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index bfa5fc022..f80268d63 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "0111" + #define REVISION_NR "0112" #endif // __REVISION_NR_H__