aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMalcrom <malcromdev@gmail.com>2013-01-07 19:50:31 -0330
committerMalcrom <malcromdev@gmail.com>2013-01-07 19:50:31 -0330
commit1c77eee9176cca37153c25757495ac738053db74 (patch)
tree2b27261535da8e15913ee15f55de7daa17bc7f96 /src
parent5ce88118eee8cbb84a01b8db853bbb895b6a8f38 (diff)
Core/Scripting: Move Text for Shirrak the Dead Watcher to creature text
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
index 1b0897f1d5e..8bb97fbe387 100644
--- a/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
+++ b/src/server/scripts/Outland/Auchindoun/AuchenaiCrypts/boss_shirrak_the_dead_watcher.cpp
@@ -40,7 +40,10 @@ EndScriptData */
#define SPELL_FIERY_BLAST DUNGEON_MODE(N_SPELL_FIERY_BLAST, H_SPELL_FIERY_BLAST)
#define SPELL_FOCUS_FIRE_VISUAL 42075 //need to find better visual
-#define EMOTE_FOCUSES_ON "focuses on "
+enum Emote
+{
+ EMOTE_FOCUSE = 0
+};
class boss_shirrak_the_dead_watcher : public CreatureScript
{
@@ -143,13 +146,7 @@ public:
{
FocusedTargetGUID = target->GetGUID();
me->SummonCreature(ENTRY_FOCUS_FIRE, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 5500);
-
- // TODO: Find better way to handle emote
- // Emote
- std::string emote(EMOTE_FOCUSES_ON);
- emote.append(target->GetName());
- emote.push_back('!');
- me->MonsterTextEmote(emote.c_str(), 0, true);
+ Talk(EMOTE_FOCUSE);
}
FocusFire_Timer = 15000+(rand()%5000);
} else FocusFire_Timer -= diff;