From 1e11c2af24987a183b4a90b603085f6d0335a5bb Mon Sep 17 00:00:00 2001 From: Yaki Khadafi Date: Fri, 17 Aug 2012 03:47:58 +0300 Subject: [PATCH] [0112] Typo Signed-off-by: Yaki Khadafi --- src/game/Unit.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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__