aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2017-11-26 17:40:42 +0100
committerKillyana <morphone1@gmail.com>2017-11-26 17:40:42 +0100
commit00e3023b3263d5743e0df09118bab4b28bfd3608 (patch)
tree68f105f3d65ada77e5c688b542e81f215bd34fcc /src
parenta2b191c78e28916346e6d8d43336e737ef2d3606 (diff)
DB/Creature: Scourging Crystal
And fix spell script spell_q11396_11399_scourging_crystal_controller Closes #17596
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_quest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_quest.cpp b/src/server/scripts/Spells/spell_quest.cpp
index 7cc32340665..874fb45638c 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))