aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 7ee0289e329..f36d7048efe 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4218,11 +4218,11 @@ void Spell::SpellDamageWeaponDmg(uint32 i)
SpellEntry const *spellInfo = NULL;
uint32 stack = 0;
- if (AuraEffect * aur = unitTarget->GetAura(SPELL_AURA_MOD_RESISTANCE,SPELLFAMILY_WARRIOR,SPELLFAMILYFLAG_WARRIOR_SUNDERARMOR, 0, 0, m_caster->GetGUID()))
+ if (Aura * aur = unitTarget->GetAura(58567, m_caster->GetGUID()))
{
- aur->GetParentAura()->RefreshAura();
+ aur->RefreshAura();
spellInfo = aur->GetSpellProto();
- stack = aur->GetParentAura()->GetStackAmount();
+ stack = aur->GetStackAmount();
}
for(uint8 j = 0; j < 3; j++)