diff options
author | Subv <s.v.h21@hotmail.com> | 2012-02-09 15:27:12 -0500 |
---|---|---|
committer | Subv <s.v.h21@hotmail.com> | 2012-02-09 15:27:12 -0500 |
commit | 4ba341e8921d1509724c53117411e493ca8a629e (patch) | |
tree | b0e737053bfa88379cb32fe61ee0448a6602e618 | |
parent | 800cf737500048a0950dcde312b35be08e1ed006 (diff) |
Core/Spells: Removed deprecated code, fixed duration bonus of the Glyph of Dancing Rune Weapon
-rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 70b1108eff3..d3fd3a6b117 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -7142,13 +7142,7 @@ void Spell::SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const* float radius = 5.0f; int32 duration = m_spellInfo->GetDuration(); - switch (m_spellInfo->Id) - { - case 49028: // Dancing Rune Weapon - if (AuraEffect* aurEff = m_originalCaster->GetAuraEffect(63330, 0)) // glyph of Dancing Rune Weapon - duration += aurEff->GetAmount(); - break; - } + if (Player* modOwner = m_originalCaster->GetSpellModOwner()) modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DURATION, duration); |