aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMalcrom <malcromdev@gmail.com>2012-02-09 18:16:43 -0330
committerMalcrom <malcromdev@gmail.com>2012-02-09 18:16:43 -0330
commitcefececdf99764872b7f866f9e5c1441f32c7a52 (patch)
treeb0e737053bfa88379cb32fe61ee0448a6602e618 /src
parentb20c0a1770872caec0f9e8069241e23df005ba60 (diff)
parent4ba341e8921d1509724c53117411e493ca8a629e (diff)
Merge branch 'master' of git://github.com/TrinityCore/TrinityCore
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Spells/SpellEffects.cpp8
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);