*Fix a typo causing healing bonus for spells to be far too low.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user