From 483714d845919f7d9f5eec344d5ad4dc6c66c2ba Mon Sep 17 00:00:00 2001 From: QAston Date: Mon, 18 May 2009 22:59:57 +0200 Subject: [PATCH] *Fix a typo causing healing bonus for spells to be far too low. --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index d9364b1c1b..df78769efe 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)