Rename spell correctly

(cherry picked from commit 4c53dd930e)
This commit is contained in:
Killyana
2019-01-10 21:58:00 +01:00
committed by Shauren
parent 0b1c3d3544
commit c375208e5b

View File

@@ -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;