mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
DB/Creature: Scourging Crystal
And fix spell script spell_q11396_11399_scourging_crystal_controller
Closes #17596
(cherry picked from commit 00e3023b32)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user