From 94c03e321186bc73e7027a3308ce889250baa594 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 3 Nov 2008 17:20:35 -0600 Subject: [svn] Fix hunter's frozen trap, half duration when pvp. Use vector to store linked spell information to support multiple effects. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 9ac2d4f2ded..45830146e67 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2118,7 +2118,7 @@ void Spell::EffectApplyAura(uint32 i) // Now Reduce spell duration using data received at spell hit int32 duration = Aur->GetAuraMaxDuration(); - unitTarget->ApplyDiminishingToDuration(m_diminishGroup,duration,m_caster,m_diminishLevel); + unitTarget->ApplyDiminishingToDuration(m_diminishGroup,duration,caster,m_diminishLevel); Aur->setDiminishGroup(m_diminishGroup); // if Aura removed and deleted, do not continue. -- cgit v1.2.3