mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
Core/Scripts/boss_headless_horseman: remove hardcoded text
Remove the old `#define EMOTE_LAUGHS "Headless Horseman laughs"` No emote is ever used on retail. It would have created log spam.
This commit is contained in:
@@ -134,8 +134,6 @@ static char const* Text[]=
|
||||
"Now, know demise!"
|
||||
};
|
||||
|
||||
#define EMOTE_LAUGHS "Headless Horseman laughs" // needs assigned to db.
|
||||
|
||||
class npc_wisp_invis : public CreatureScript
|
||||
{
|
||||
public:
|
||||
@@ -347,7 +345,6 @@ public:
|
||||
Creature* speaker = DoSpawnCreature(HELPER, 0, 0, 0, 0, TEMPSUMMON_TIMED_DESPAWN, 1000);
|
||||
if (speaker)
|
||||
speaker->CastSpell(speaker, SPELL_HEAD_SPEAKS, false);
|
||||
me->TextEmote(EMOTE_LAUGHS);
|
||||
}
|
||||
else laugh -= diff;
|
||||
}
|
||||
@@ -724,7 +721,6 @@ public:
|
||||
if (laugh <= diff)
|
||||
{
|
||||
laugh = urand(11000, 22000);
|
||||
me->TextEmote(EMOTE_LAUGHS);
|
||||
DoPlaySoundToSet(me, RandomLaugh[rand32() % 3]);
|
||||
}
|
||||
else laugh -= diff;
|
||||
|
||||
Reference in New Issue
Block a user