9
3

TrainerByrkuriMyliLok.lua 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. --[[
  2. Script Name : SpawnScripts/TimorousDeep/TrainerByrkuriMyliLok.lua
  3. Script Purpose : Trainer Byrkuri Myli'Lok <Recognizing Opportunities>
  4. Script Author : John Adams
  5. Script Date : 2009.03.02
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. conversation = CreateConversation()
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1003.mp3", "", "", 0, 0, Spawn)
  17. AddConversationOption(conversation, "What are Heroic Opportunities?", "dlg_11_1")
  18. AddConversationOption(conversation, "I will seek your knowledge another time.")
  19. StartConversation(conversation, NPC, Spawn, "I look at you and see someone eager to face fierce opponents in battle. Well, I can teach you about Heroic Opportunities, a way for you and your allies to accomplish great feats of combat prowess.")
  20. end
  21. function dlg_11_1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  25. AddConversationOption(conversation, "Are Heroic Opportunities complicated?", "dlg_11_2")
  26. AddConversationOption(conversation, "I need to finish another task.")
  27. StartConversation(conversation, NPC, Spawn, "Beginning at level 5, Heroic Opportunities can be triggered in combat. They allow both lone adventurers and groups of allies to combine their attacks into a series of spells or combat arts performed in a specific order. When successful, Heroic Opportunities give beneficial effects such as extra attacks against your foes or beneficial magic to heal or enhance your abilities.")
  28. end
  29. function dlg_11_2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  33. AddConversationOption(conversation, "So how does a Heroic Opportunity arise?", "dlg_11_3")
  34. StartConversation(conversation, NPC, Spawn, "Rest assured, someone with battle skills will find them easy! Once you start using them, you'll wonder how you ever got along without them.")
  35. end
  36. function dlg_11_3(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  40. AddConversationOption(conversation, "Okay, that does sound easy. How do I begin a Heroic Opportunity?", "dlg_11_4")
  41. AddConversationOption(conversation, "I need to finish something else first.")
  42. StartConversation(conversation, NPC, Spawn, "Let me tell you the short and simple version first so that you can see how easy Heroic Opportunities are to use. All you need to do is use your ability that triggers the Heroic Opportunity, then use the spells or combat arts that are blinking on your hotbar or in your Knowledge Book. Easy, isn't it?")
  43. end
  44. function dlg_11_4(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  48. AddConversationOption(conversation, "Can I trigger a Starter Chain whenever I want?", "dlg_11_5")
  49. AddConversationOption(conversation, "I need to finish something else first.")
  50. StartConversation(conversation, NPC, Spawn, "Heroic Opportunities have two parts called the Starter Chain and the Combat Wheel. At level 5, every adventure class gains an ability that triggers a Starter Chain: Fighting Chance, Divine Providence, Arcane Augur, or Lucky Break. Open your Knowledge book by pressing K and click the Abilities tab to see it. You can drag its icon to your hotbar to use it.")
  51. end
  52. function dlg_11_5(NPC, Spawn)
  53. FaceTarget(NPC, Spawn)
  54. conversation = CreateConversation()
  55. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  56. AddConversationOption(conversation, "What happens when I trigger a Starter Chain?", "dlg_11_6")
  57. StartConversation(conversation, NPC, Spawn, "Starter Chains can only be triggered while in battle with an enemy. After all, Heroic Opportunities are all about becoming great in combat! When you or an ally triggers a Starter Chain, you will see it appear in the corner of your screen.")
  58. end
  59. function dlg_11_6(NPC, Spawn)
  60. FaceTarget(NPC, Spawn)
  61. conversation = CreateConversation()
  62. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  63. AddConversationOption(conversation, "Are Heroic Opportunities only usable in groups?", "dlg_11_7")
  64. AddConversationOption(conversation, "I'll need to continue this later.")
  65. StartConversation(conversation, NPC, Spawn, "Once a Starter Chain is initiated, it shows different ability icons flashing on the screen. A Starter Chain will generally display four different icons that indicate which spells or combat arts advance the Heroic Opportunity to the next stage. Icons will be blue, yellow, red, or green, depending on which class has the ability.")
  66. end
  67. function dlg_11_7(NPC, Spawn)
  68. FaceTarget(NPC, Spawn)
  69. conversation = CreateConversation()
  70. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  71. AddConversationOption(conversation, "How do I know what I should do to advance the Starter Chain?", "dlg_11_8")
  72. AddConversationOption(conversation, "I need to finish something else now.")
  73. StartConversation(conversation, NPC, Spawn, "Heroic Opportunities can be used alone or in groups. If you fight alone you will have a limited number of ways to advance the Starter Chain, but if you are in a group made up of different classes then you will be able to advance the Starter Chain in different ways to unleash a variety of Heroic Opportunities.")
  74. end
  75. function dlg_11_8(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  79. AddConversationOption(conversation, "Use the spell or art that is blinking. That's all there is to it?", "dlg_11_9")
  80. AddConversationOption(conversation, "I'll be back later.")
  81. StartConversation(conversation, NPC, Spawn, "Any spells or combat arts that can advance the Heroic Opportunity will flash on your hotbar and in your Knowledge Book. You have 10 seconds to complete the Starter Chain and advance to the Combat Wheel. See, it's easy: just use the spell or art that blinks!")
  82. end