aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-05-18 22:59:57 +0200
committerQAston <none@none>2009-05-18 22:59:57 +0200
commit483714d845919f7d9f5eec344d5ad4dc6c66c2ba (patch)
tree5af456cfd938316288ae049288fc921fd5587ea6 /src/game/Unit.cpp
parent3f98363aab842b2731de4e95a24bca28bd202134 (diff)
*Fix a typo causing healing bonus for spells to be far too low.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index d9364b1c1bd..df78769efe2 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -9364,7 +9364,7 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint
}
// Check for table values
- SpellBonusEntry const* bonus = scripted ? spellmgr.GetSpellBonusData(spellProto->Id) : NULL;
+ SpellBonusEntry const* bonus = !scripted ? spellmgr.GetSpellBonusData(spellProto->Id) : NULL;
float coeff;
float factorMod = 1.0f;
if (bonus)