aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-27 17:18:05 +0200
committerQAston <none@none>2009-07-27 17:18:05 +0200
commite3ef5da919bc88e851cb7fc878f118f127270954 (patch)
tree10108b58814f97f651152aa4df5fe39355c786b9 /src
parent2e0a8ae6389378a8b92f067af2f18e3cec3e57ee (diff)
*Update Devastate talent handler for 3.1.3 - by Farah.
--HG-- branch : trunk
Diffstat (limited to 'src')
-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++)