*Add 3.3% spellpower coeff to Thorns.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-08-28 21:18:03 +02:00
parent b6a9c84aa0
commit 3d9326c4b7
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1423,6 +1423,10 @@ void AuraEffect::HandleAuraEffectSpecificMods(bool apply, bool Real, bool change
// Innervate
else if (m_spellProto->Id == 29166 && GetAuraName() == SPELL_AURA_PERIODIC_ENERGIZE)
m_amount = m_target->GetCreatePowers(POWER_MANA) * m_amount / (GetTotalTicks() * 100.0f);
// Thorns
else if (m_spellProto->SpellFamilyFlags[0] & 0x100 && GetAuraName() == SPELL_AURA_DAMAGE_SHIELD)
// 3.3% from sp bonus
DoneActualBenefit = caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) * 0.033f;
break;
}
case SPELLFAMILY_ROGUE: