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:
tkrokli
2016-02-26 05:29:26 +01:00
parent bfac62c5c9
commit 1602be1253

View File

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