diff options
| author | QAston <none@none> | 2009-08-28 21:18:03 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-08-28 21:18:03 +0200 |
| commit | 3d9326c4b7ec086790d0476f9864cd7d201e9495 (patch) | |
| tree | 363b0e2eab8982bf52f074060f9e3a8f9f67800d /src/game/SpellAuras.cpp | |
| parent | b6a9c84aa0f0a006f4de355b77bb9858b7593956 (diff) | |
*Add 3.3% spellpower coeff to Thorns.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 2040722c17e..22c540ef9db 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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: |
