From 29aae591bc697ffc6937afd8a2632ca4960fe391 Mon Sep 17 00:00:00 2001 From: Killyana Date: Sun, 26 Nov 2017 17:40:42 +0100 Subject: DB/Creature: Scourging Crystal And fix spell script spell_q11396_11399_scourging_crystal_controller Closes #17596 (cherry picked from commit 00e3023b3263d5743e0df09118bab4b28bfd3608) --- src/server/scripts/Spells/spell_quest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp index abf23c8da85..f74279148d0 100644 --- a/src/server/scripts/Spells/spell_quest.cpp +++ b/src/server/scripts/Spells/spell_quest.cpp @@ -317,7 +317,7 @@ class spell_q11396_11399_scourging_crystal_controller : public SpellScriptLoader void HandleDummy(SpellEffIndex /*effIndex*/) { - if (Unit* target = GetExplTargetUnit()) + if (Unit* target = GetHitUnit()) if (target->GetTypeId() == TYPEID_UNIT && target->HasAura(SPELL_FORCE_SHIELD_ARCANE_PURPLE_X3)) // Make sure nobody else is channeling the same target if (!target->HasAura(SPELL_SCOURGING_CRYSTAL_CONTROLLER)) -- cgit v1.2.3