Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/server/scripts/EasternKingdoms/arathi_highlands.cpp b/src/server/scripts/EasternKingdoms/arathi_highlands.cpp
- index 8b6cbf2..7a22825 100644
- -- a/src/server/scripts/EasternKingdoms/arathi_highlands.cpp
- ++ b/src/server/scripts/EasternKingdoms/arathi_highlands.cpp
- @@ -36,16 +36,16 @@ EndContentData */
- enum eEnums
- {
- - SAY_PROGRESS_1 = -1000264,
- - SAY_PROGRESS_2 = -1000265,
- - SAY_PROGRESS_3 = -1000266,
- - EMOTE_PROGRESS_4 = -1000267,
- - SAY_AGGRO = -1000268,
- - SAY_PROGRESS_5 = -1000269,
- - SAY_PROGRESS_6 = -1000270,
- - SAY_PROGRESS_7 = -1000271,
- - EMOTE_PROGRESS_8 = -1000272,
- - SAY_PROGRESS_9 = -1000273,
- + SAY_PROGRESS_1 = 0,
- + SAY_PROGRESS_2 = 1,
- + SAY_PROGRESS_3 = 2,
- + EMOTE_PROGRESS_4 = 3,
- + SAY_AGGRO = 4,
- + SAY_PROGRESS_5 = 5,
- + SAY_PROGRESS_6 = 6,
- + SAY_PROGRESS_7 = 7,
- + EMOTE_PROGRESS_8 = 8,
- + SAY_PROGRESS_9 = 9,
- QUEST_SUNKEN_TREASURE = 665,
- MOB_VENGEFUL_SURGE = 2776
- @@ -73,24 +73,24 @@ class npc_professor_phizzlethorpe : public CreatureScript
- switch (uiPointId)
- {
- - case 4:DoScriptText(SAY_PROGRESS_2, me, player);break;
- - case 5:DoScriptText(SAY_PROGRESS_3, me, player);break;
- - case 8:DoScriptText(EMOTE_PROGRESS_4, me);break;
- + case 4:Talk(SAY_PROGRESS_2, player);break;
- + case 5:Talk(SAY_PROGRESS_3, player);break;
- + case 8:Talk(EMOTE_PROGRESS_4);break;
- case 9:
- {
- me->SummonCreature(MOB_VENGEFUL_SURGE, -2052.96f, -2142.49f, 20.15f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
- me->SummonCreature(MOB_VENGEFUL_SURGE, -2052.96f, -2142.49f, 20.15f, 1.0f, TEMPSUMMON_CORPSE_DESPAWN, 0);
- break;
- }
- - case 10:DoScriptText(SAY_PROGRESS_5, me, player);break;
- + case 10:Talk(SAY_PROGRESS_5, player);break;
- case 11:
- - DoScriptText(SAY_PROGRESS_6, me, player);
- + Talk(SAY_PROGRESS_6, player);
- SetRun();
- break;
- - case 19:DoScriptText(SAY_PROGRESS_7, me, player); break;
- + case 19:Talk(SAY_PROGRESS_7, player); break;
- case 20:
- - DoScriptText(EMOTE_PROGRESS_8, me);
- - DoScriptText(SAY_PROGRESS_9, me, player);
- + Talk(EMOTE_PROGRESS_8);
- + Talk(SAY_PROGRESS_9, player);
- if (player)
- CAST_PLR(player)->GroupEventHappens(QUEST_SUNKEN_TREASURE, me);
- break;
- @@ -104,7 +104,7 @@ class npc_professor_phizzlethorpe : public CreatureScript
- void EnterCombat(Unit* /*who*/)
- {
- - DoScriptText(SAY_AGGRO, me);
- + Talk(SAY_AGGRO, me);
- }
- void UpdateAI(const uint32 diff)
- @@ -122,7 +122,7 @@ class npc_professor_phizzlethorpe : public CreatureScript
- {
- if (quest->GetQuestId() == QUEST_SUNKEN_TREASURE)
- {
- - DoScriptText(SAY_PROGRESS_1, creature, player);
- + Talk(SAY_PROGRESS_1, creature, player);
- if (npc_escortAI* pEscortAI = CAST_AI(npc_professor_phizzlethorpeAI, (creature->AI())))
- pEscortAI->Start(false, false, player->GetGUID(), quest);
Add Comment
Please, Sign In to add comment