From 3a826ecfeea9222fdd4f5528a4e5e09eb7a4a2ba Mon Sep 17 00:00:00 2001 From: click Date: Wed, 21 Apr 2010 22:33:20 +0200 Subject: Fix Beacon of Light: make it work when casted on other players (no initial aggro on caster) Fix by Liberate --HG-- branch : trunk --- src/game/SpellAuraEffects.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/SpellAuraEffects.cpp') diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index 8880d3fd057..51c707ea5a8 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -2260,6 +2260,11 @@ void AuraEffect::TriggerSpell(Unit * target, Unit * caster) const case 54362: target->CastCustomSpell(triggerSpellId, SPELLVALUE_RADIUS_MOD, (int32)((((float)m_tickNumber / 60) * 0.9f + 0.1f) * 10000), NULL, true, NULL, this); return; + // Beacon of Light + case 53563: + Unit * triggerCaster = (Unit *)(GetBase()->GetOwner()); + triggerCaster->CastSpell(triggerTarget, triggeredSpellInfo, true, 0, this,triggerCaster->GetGUID()); + return; } } -- cgit v1.2.3