Fixed Shadow Ward coefficient, by dr.te...

--HG--
branch : trunk
This commit is contained in:
Tartalo
2010-06-24 15:12:01 +02:00
parent c21c24d461
commit 55ca26294a
@@ -504,10 +504,10 @@ int32 AuraEffect::CalculateAmount(Unit * caster)
break;
case SPELLFAMILY_WARLOCK:
// Shadow Ward
if (m_spellProto->SpellFamilyFlags[2]& 0x40)
if (m_spellProto->SpellFamilyFlags[2] & 0x40)
{
// +30% from sp bonus
DoneActualBenefit += caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) * 0.3f;
// +80.68% from sp bonus
DoneActualBenefit += caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) * 0.8068f;
}
break;
case SPELLFAMILY_PRIEST: