Rename spell correctly

(cherry picked from commit 4c53dd930eb13d9e2df93061ec5fe4a6139e744c)
This commit is contained in:
Killyana
2021-11-21 13:30:00 +01:00
committed by Shauren
parent 0b1c3d3544
commit c375208e5b
@@ -200,9 +200,9 @@ public:
enum GhostlyCitizenSpells
{
SPELL_HAUNTING_PHANTOM = 16336,
DEBILITATING_TOUCH = 16333,
SPELL_SLAP = 6754
SPELL_HAUNTING_PHANTOM = 16336,
SPELL_DEBILITATING_TOUCH = 16333,
SPELL_SLAP = 6754
};
class npc_spectral_ghostly_citizen : public CreatureScript
@@ -286,7 +286,7 @@ public:
if (TouchTimer <= diff)
{
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
DoCast(target, DEBILITATING_TOUCH);
DoCast(target, SPELL_DEBILITATING_TOUCH);
TouchTimer = 7000;
}
else TouchTimer -= diff;