Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. /*###########################################
  2. ### QUEST The Exorcism of Colonel Jules ###
  3. ###########################################*/
  4. enum eExorcism
  5. {
  6. QUEST_THE_EXORCISM_OF_COLONEL_JULES = 10935,
  7. NPC_ASSISTANT_KLATU = 22430,
  8. NPC_ANCHORITE_BARADA = 22431,
  9. NPC_COLONEL_JULES = 22432,
  10. NPC_DARKNESS_RELEASED = 22507,
  11. SPELL_BARADA_COMMANDS = 39277,
  12. SPELL_BARADA_FALTERS = 39278,
  13. SPELL_JOLES_GO_PRONE = 39283,
  14. SPELL_JOLES_GO_THREATENS = 39284,
  15. SPELL_JOLES_GO_UPRIGHT = 39294,
  16. SPELL_JOLES_VOMIT_AURA = 39295,
  17. SPELL_JOLES_VOMIT = 39296,
  18. ITEM_RITUAL_PRAYER_BEADS = 31828,
  19. SAY_START =
  20. SAY_START_WALKING =
  21. SAY_COLONEL_START =
  22. SAY_START_COMMANDS =
  23. SAY_
  24. #define GOSSIP_ITEM_1 "I am ready, Anchorite. Let us begin the exorcism"
  25.  
  26. };
  27. class npc_anchorite_barada : public CreatureScript
  28. {
  29. public:
  30. npc_anchorite_barada() : CreatureScript("npc_anchorite_barada") { }
  31. uint32 uiYell_Timer;
  32. bool Yell_Timer;
  33. bool OnGossipSelect(Player* pPlayer, Creature* pCreature, Quest const* quest)
  34. {
  35. pPlayer->PlayerTalkClass->ClearMenus();
  36. if (uiAction == GOSSIP_ITEM_1)
  37. {
  38. pPlayer->CLOSE_GOSSIP_MENU();
  39. DoScriptText(SAY_START, me);
  40. uiYell_Timer = 500;
  41. DoScriptText(SAY_START_WALKING, me);
  42. DoScriptText(SAY_COLONEL_START, me);
  43. mob->GetMotionMaster()->MovePoint(0, -710.922546, 2747.581787, 101.590622);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement