*Fix a typo causing healing bonus for spells to be far too low.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-05-18 22:59:57 +02:00
parent 3f98363aab
commit 483714d845
+1 -1
View File
@@ -9364,7 +9364,7 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint
} }
// Check for table values // 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 coeff;
float factorMod = 1.0f; float factorMod = 1.0f;
if (bonus) if (bonus)