diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index de7e89d32..dc07e2e7e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5166,6 +5166,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) { uint32 spellId = 0; int32 basePoint = 0; + Unit* target = unitTarget; Unit::AuraMap& Auras = unitTarget->GetAuras(); for(Unit::AuraMap::iterator i = Auras.begin(); i != Auras.end(); ++i) { @@ -5190,6 +5191,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) { spellId = 53358; // 53358 Chimera Shot - Viper basePoint = aura->GetModifier()->m_amount * 4 * 60 / 100; + target = m_caster; } // Scorpid Sting - Attempts to Disarm the target for 10 sec. This effect cannot occur more than once per 1 minute. if (familyFlag & UI64LIT(0x0000000000008000)) @@ -5202,7 +5204,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) //} } if (spellId) - m_caster->CastCustomSpell(unitTarget, spellId, &basePoint, 0, 0, false); + m_caster->CastCustomSpell(target, spellId, &basePoint, 0, 0, false); return; } default: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 56f454570..7294c629e 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "8295" + #define REVISION_NR "8296" #endif // __REVISION_NR_H__