TrainerArillaLarivaara.lua 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/TrainerArillaLarivaara.lua
  3. Script Purpose : Trainer Arilla Larivaara <Weapon Master>
  4. Script Author : John Adams
  5. Script Date : 2009.02.05
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara007.mp3", "", "", 3148880847, 947148371, Spawn)
  22. AddConversationOption(conversation, "Teach me the basics of combat.", "dlg_4_1")
  23. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  24. AddConversationOption(conversation, "I'll come back later.")
  25. StartConversation(conversation, NPC, Spawn, "Hello there, " .. GetName(Spawn) .. ". I'm here to teach folks the finer points of combat. I don't like to get into a fight, but if I do, I prefer to win. Know what I mean?")
  26. if convo==5 then
  27. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara007.mp3", "", "", 3148880847, 947148371, Spawn)
  28. AddConversationOption(conversation, "Teach me the basics of combat.", "dlg_5_1")
  29. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  30. AddConversationOption(conversation, "I'll come back later.")
  31. StartConversation(conversation, NPC, Spawn, "Hello there, " .. GetName(Spawn) .. ". I'm here to teach folks the finer points of combat. I don't like to get into a fight, but if I do, I prefer to win. Know what I mean?")
  32. end
  33. end
  34. function dlg_4_1(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara008.mp3", "", "", 2898686401, 1752530734, Spawn)
  38. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_4_2")
  39. AddConversationOption(conversation, "Tell me about melee combat.")
  40. AddConversationOption(conversation, "Tell me about ranged combat.")
  41. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  42. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  43. AddConversationOption(conversation, "I'll come back later.")
  44. StartConversation(conversation, NPC, Spawn, "There are many different elements that go into successful combat. I can teach you a few of the basics, such as how to begin a fight, the difference between melee and ranged combat, and earning rewards for victory.")
  45. end
  46. function dlg_4_2(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara009.mp3", "", "", 1613933242, 1197148922, Spawn)
  50. AddConversationOption(conversation, "How do I begin the battle?", "dlg_4_3")
  51. StartConversation(conversation, NPC, Spawn, "Starting combat is easy. Just use your mouse pointer to left-click on an opponent. Its name will appear in the Target window in the upper left of your screen. You can also use the Tab key to cycle through nearby targets or the F8 key to select your closest enemy.")
  52. end
  53. function dlg_4_3(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara010.mp3", "", "", 1755891240, 3796028834, Spawn)
  57. AddConversationOption(conversation, "So I can fight anyone or anything I want?", "dlg_4_4")
  58. StartConversation(conversation, NPC, Spawn, "If you're close enough to your foe and want to start hitting it with your weapon, either click your Melee Attack button on your hotbar or press the ~ key. Or you can begin by using one of your spells or combat arts to get the enemy's attention. Remember, you must be close enough to actually hit them.")
  59. end
  60. function dlg_4_4(NPC, Spawn)
  61. FaceTarget(NPC, Spawn)
  62. conversation = CreateConversation()
  63. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara011.mp3", "", "", 3723859553, 908527971, Spawn)
  64. AddConversationOption(conversation, "Tell me about melee combat.", "dlg_4_5")
  65. AddConversationOption(conversation, "Tell me about ranged combat.")
  66. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  67. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  68. AddConversationOption(conversation, "I'll come back later.")
  69. StartConversation(conversation, NPC, Spawn, "You can fight most non-player characters and creatures that you find outside your city, whether outdoors or in dungeons. Many non-player characters in the cities are there to help you or give quests, so you can't attack some of them. If you try, you'll get a message telling you that they aren't valid targets.")
  70. end
  71. function dlg_4_5(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. conversation = CreateConversation()
  74. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara012.mp3", "", "", 3752439035, 2733336647, Spawn)
  75. AddConversationOption(conversation, "What classes specialize in melee combat?", "dlg_4_6")
  76. StartConversation(conversation, NPC, Spawn, "Melee combat means a toe-to-toe, physical confrontation. It is a combination of auto-attack damage that happens automatically when you press the Melee Attack button on your hotbar or the ~ key and spells or combat arts that you use in close proximity to your foe.")
  77. end
  78. function dlg_4_6(NPC, Spawn)
  79. FaceTarget(NPC, Spawn)
  80. conversation = CreateConversation()
  81. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara013.mp3", "", "", 1434116742, 4225387141, Spawn)
  82. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_4_7")
  83. AddConversationOption(conversation, "Tell me about ranged combat.")
  84. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  85. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  86. AddConversationOption(conversation, "I'll come back later.")
  87. StartConversation(conversation, NPC, Spawn, "Sturdy fighters such as Guardians, Berserkers, Monks, and Paladins stand at the front lines of battle facing the enemy. Crafty scouts such as Swashbucklers, Rangers, Troubadors, and Dirges generally stay close to their foes as well, but prefer to launch attacks from the back or side where they are less likely to be counterattacked.")
  88. end
  89. function dlg_4_7(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. conversation = CreateConversation()
  92. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara014.mp3", "", "", 3046408427, 2592738256, Spawn)
  93. AddConversationOption(conversation, "How do I launch a ranged attack?")
  94. StartConversation(conversation, NPC, Spawn, "Ranged combat means that you put some distance between yourself and the enemy. This can be done with weapons such as bows or throwing daggers, or with spells and arts that can be cast from a distance.")
  95. end
  96. function dlg_4_8(NPC, Spawn)
  97. FaceTarget(NPC, Spawn)
  98. conversation = CreateConversation()
  99. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara015.mp3", "", "", 3151700367, 2431538473, Spawn)
  100. AddConversationOption(conversation, "What classes specialize in ranged combat?", "dlg_4_9")
  101. StartConversation(conversation, NPC, Spawn, "If you have a ranged weapon and ammunition, you can initiate ranged combat by using the Ranged Attack button on the Abilities tab of your Knowledge Book. You can drag this key to your hotbar if you like. Remember, you must have a ranged weapon in the Ranged slot of your inventory window and the correct type of ammunition in the Ammo slot.")
  102. end
  103. function dlg_4_9(NPC, Spawn)
  104. FaceTarget(NPC, Spawn)
  105. conversation = CreateConversation()
  106. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara016.mp3", "", "", 1497976155, 2895560497, Spawn)
  107. AddConversationOption(conversation, "How do I tell if I can use spells or arts from a distance?", "dlg_4_10")
  108. StartConversation(conversation, NPC, Spawn, "While most classes have the ability to attack from a distance, scout classes such as Swashbucklers, Troubadors, Dirges, and particularly Rangers specialize in ranged physical attacks. Mages, priests, and Paladins have spells that do damage to their foes from a distance.")
  109. end
  110. function dlg_4_10(NPC, Spawn)
  111. FaceTarget(NPC, Spawn)
  112. conversation = CreateConversation()
  113. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara017.mp3", "", "", 893336149, 277723094, Spawn)
  114. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_4_11")
  115. AddConversationOption(conversation, "Tell me about melee combat.")
  116. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  117. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  118. AddConversationOption(conversation, "I'll come back later.")
  119. StartConversation(conversation, NPC, Spawn, "You can right-click on a spell or art's icon and select 'Examine' to see what its range of effect is. In addition, if you target something and the icon for one of your spells or arts turns a dark red, that means the opponent is out of range of that ability.")
  120. end
  121. function dlg_4_11(NPC, Spawn)
  122. FaceTarget(NPC, Spawn)
  123. conversation = CreateConversation()
  124. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara012.mp3", "", "", 3752439035, 2733336647, Spawn)
  125. AddConversationOption(conversation, "What classes specialize in melee combat?")
  126. StartConversation(conversation, NPC, Spawn, "Melee combat means a toe-to-toe, physical confrontation. It is a combination of auto-attack damage that happens automatically when you press the Melee Attack button on your hotbar or the ~ key and spells or combat arts that you use in close proximity to your foe.")
  127. end
  128. function dlg_4_12(NPC, Spawn)
  129. FaceTarget(NPC, Spawn)
  130. conversation = CreateConversation()
  131. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara013.mp3", "", "", 1434116742, 4225387141, Spawn)
  132. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_4_13")
  133. AddConversationOption(conversation, "Tell me about ranged combat.")
  134. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  135. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  136. AddConversationOption(conversation, "I'll come back later.")
  137. StartConversation(conversation, NPC, Spawn, "Sturdy fighters such as Guardians, Berserkers, Monks, and Paladins stand at the front lines of battle facing the enemy. Crafty scouts such as Swashbucklers, Rangers, Troubadors, and Dirges generally stay close to their foes as well, but prefer to launch attacks from the back or side where they are less likely to be counterattacked.")
  138. end
  139. function dlg_4_13(NPC, Spawn)
  140. FaceTarget(NPC, Spawn)
  141. conversation = CreateConversation()
  142. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara018.mp3", "", "", 2556228609, 3589317469, Spawn)
  143. AddConversationOption(conversation, "What do you mean by 'a worthy opponent'?")
  144. StartConversation(conversation, NPC, Spawn, "Victory in battle can be very rewarding. Successful combat against a worthy opponent awards you experience (XP) to help you advance your level, as well as the chance at coin, usable items, and other valuables.")
  145. end
  146. function dlg_4_14(NPC, Spawn)
  147. FaceTarget(NPC, Spawn)
  148. conversation = CreateConversation()
  149. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara019.mp3", "", "", 4159604095, 2208350646, Spawn)
  150. AddConversationOption(conversation, "Are certain types of targets more rewarding than others?", "dlg_4_15")
  151. StartConversation(conversation, NPC, Spawn, "You don't earn rewards for defeating foes that are too far below your level. If your target has a grey name, it means it is very weak and won't provide any benefit for beating it. Talk to Trainer Tahvolo Viljaan for more information on evaluating your opponents.")
  152. end
  153. function dlg_4_15(NPC, Spawn)
  154. FaceTarget(NPC, Spawn)
  155. conversation = CreateConversation()
  156. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara020.mp3", "", "", 3722520538, 550116332, Spawn)
  157. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_4_16")
  158. AddConversationOption(conversation, "Tell me about melee combat.")
  159. AddConversationOption(conversation, "Tell me about ranged combat.")
  160. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  161. AddConversationOption(conversation, "I'll come back later.")
  162. StartConversation(conversation, NPC, Spawn, "The tougher a foe, the better its chances to provide a valuable reward. Though defeating enemies alone provides nice rewards, defeating heroic enemies that require a group is even more rewarding. The very best items come from banding together multiple groups to defeat epic opponents.")
  163. end
  164. function dlg_4_16(NPC, Spawn)
  165. FaceTarget(NPC, Spawn)
  166. conversation = CreateConversation()
  167. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara021.mp3", "", "", 801103527, 2875309924, Spawn)
  168. AddConversationOption(conversation, "Tell me about selecting the right opponent.")
  169. AddConversationOption(conversation, "Teach me about knowing my surroundings.")
  170. AddConversationOption(conversation, "Tell me about using my abilities.")
  171. AddConversationOption(conversation, "Teach me the basics of combat.", "dlg_4_17")
  172. AddConversationOption(conversation, "I'll come back later.")
  173. StartConversation(conversation, NPC, Spawn, "There are many advanced combat techniques that you will learn over time. There's no substitute for experience, .. GetName(Spawn) .. . I'd be happy to discuss a few of these advanced aspects, such as selecting the right opponent, knowing your surroundings, and using your abilities.")
  174. end
  175. function dlg_4_17(NPC, Spawn)
  176. FaceTarget(NPC, Spawn)
  177. conversation = CreateConversation()
  178. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara022.mp3", "", "", 187572586, 450509917, Spawn)
  179. AddConversationOption(conversation, "How do I tell if an opponent is too weak or too strong for me?", "dlg_4_18")
  180. StartConversation(conversation, NPC, Spawn, "Picking the right fight is crucial to victory. A weak opponent won't provide worthwhile rewards, while an overly powerful foe will result in your defeat. You need to keep your resources in mind as well as choosing the right target.")
  181. end
  182. function dlg_4_18(NPC, Spawn)
  183. FaceTarget(NPC, Spawn)
  184. conversation = CreateConversation()
  185. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara023.mp3", "", "", 4040652289, 1699138117, Spawn)
  186. AddConversationOption(conversation, "What resources should I be keeping an eye on?", "dlg_4_19")
  187. StartConversation(conversation, NPC, Spawn, "Targeting an opponent will show you detailed information on its overall potency. Generally speaking, you'll find the best results from fighting opponents with blue, white, or yellow names. Talk to Trainer Tahvolo Viljaan for more information on evaluating your opponents.")
  188. end
  189. function dlg_4_19(NPC, Spawn)
  190. FaceTarget(NPC, Spawn)
  191. conversation = CreateConversation()
  192. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara024.mp3", "", "", 3598297774, 910017607, Spawn)
  193. AddConversationOption(conversation, "Teach me about knowing my surroundings.", "dlg_4_20")
  194. AddConversationOption(conversation, "Tell me about using my abilities.")
  195. AddConversationOption(conversation, "Teach me the basics of combat.")
  196. AddConversationOption(conversation, "I'll come back later.")
  197. StartConversation(conversation, NPC, Spawn, "Starting a fight when you are low on health or power is a very bad idea. Your choice of targets also depends on whether you're alone or grouped with other players. Forming a group allows you to take on tougher and more rewarding challenges than you could face alone.")
  198. end
  199. function dlg_4_20(NPC, Spawn)
  200. FaceTarget(NPC, Spawn)
  201. conversation = CreateConversation()
  202. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara025.mp3", "", "", 302868023, 1058230652, Spawn)
  203. AddConversationOption(conversation, "Anything else I should watch out for?", "dlg_4_21")
  204. StartConversation(conversation, NPC, Spawn, "Keeping your surroundings in mind is crucial to victory. Fighting in areas with lots of aggressive creatures is a bad idea, because they won't hesitate to gang up on you.")
  205. end
  206. function dlg_4_21(NPC, Spawn)
  207. FaceTarget(NPC, Spawn)
  208. conversation = CreateConversation()
  209. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara026.mp3", "", "", 2395836258, 4167880022, Spawn)
  210. AddConversationOption(conversation, "Any other tips?", "dlg_4_22")
  211. StartConversation(conversation, NPC, Spawn, "Staying too long on the exact spot where you just defeated a foe can be dangerous. Another enemy is likely to show up there soon after, which can be an unpleasant surprise if you're already in another battle.")
  212. end
  213. function dlg_4_22(NPC, Spawn)
  214. FaceTarget(NPC, Spawn)
  215. conversation = CreateConversation()
  216. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara027.mp3", "", "", 3335927389, 418360840, Spawn)
  217. AddConversationOption(conversation, "Tell me about selecting the right opponent.", "dlg_4_23")
  218. AddConversationOption(conversation, "Tell me about using my abilities.")
  219. AddConversationOption(conversation, "Teach me the basics of combat.")
  220. AddConversationOption(conversation, "I'll come back later.")
  221. StartConversation(conversation, NPC, Spawn, "You should be aware of what's going on around you. Using your mouse wheel to scroll out into third person and holding down the left mouse button allows you to move the camera around your character. It's a good idea to do this when fighting in dangerous areas to make sure nothing sneaks up on you.")
  222. end
  223. function dlg_4_23(NPC, Spawn)
  224. FaceTarget(NPC, Spawn)
  225. conversation = CreateConversation()
  226. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara028.mp3", "", "", 3915273076, 3111917162, Spawn)
  227. AddConversationOption(conversation, "What do you mean?")
  228. StartConversation(conversation, NPC, Spawn, "Successful fighting isn't about turning on your auto-attack and walking away from battle. Your odds of victory are much better if you are well-prepared and are active during combat. You should use every spell or combat art that has a positive effect on your chances to win.")
  229. end
  230. function dlg_4_24(NPC, Spawn)
  231. FaceTarget(NPC, Spawn)
  232. conversation = CreateConversation()
  233. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara029.mp3", "", "", 2179864552, 3125288554, Spawn)
  234. AddConversationOption(conversation, "What about during battle?", "dlg_4_25")
  235. StartConversation(conversation, NPC, Spawn, "Before you begin fighting, make sure you and your allies have activated all beneficial spells, also known as 'buffs,' so that you're operating at peak efficiency. Buffs can add health or power, increase your rate of regeneration, enhance your physical attributes, make you attack faster or do more damage, and more.")
  236. end
  237. function dlg_4_25(NPC, Spawn)
  238. FaceTarget(NPC, Spawn)
  239. conversation = CreateConversation()
  240. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara030.mp3", "", "", 2306274826, 3024519845, Spawn)
  241. AddConversationOption(conversation, "What else should I know about spells and arts?", "dlg_4_26")
  242. StartConversation(conversation, NPC, Spawn, "Whether you're a front-lines melee type or someone attacking from a distance with weapons or spells, you should be using abilities that damage your foes effectively and efficiently. Right click on your spells and arts and select 'Examine' to see details on their effects.")
  243. end
  244. function dlg_4_26(NPC, Spawn)
  245. FaceTarget(NPC, Spawn)
  246. conversation = CreateConversation()
  247. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara031.mp3", "", "", 2411688474, 2950057017, Spawn)
  248. AddConversationOption(conversation, "Tell me about selecting the right opponent.", "dlg_4_27")
  249. AddConversationOption(conversation, "Teach me about knowing my surroundings.")
  250. AddConversationOption(conversation, "Teach me the basics of combat.")
  251. AddConversationOption(conversation, "I'll come back later.")
  252. StartConversation(conversation, NPC, Spawn, "Using your highest-level versions of spells and arts will be more effective than using older versions. In addition, you should be upgrading your abilities to higher ranks to make them more effective. For more details on spells and combat arts, talk to Trainer Valtteri Yliveri.")
  253. end
  254. function dlg_5_1(NPC, Spawn)
  255. FaceTarget(NPC, Spawn)
  256. conversation = CreateConversation()
  257. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara008.mp3", "", "", 2898686401, 1752530734, Spawn)
  258. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_5_2")
  259. AddConversationOption(conversation, "Tell me about melee combat.")
  260. AddConversationOption(conversation, "Tell me about ranged combat.")
  261. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  262. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  263. AddConversationOption(conversation, "I'll come back later.")
  264. StartConversation(conversation, NPC, Spawn, "There are many different elements that go into successful combat. I can teach you a few of the basics, such as how to begin a fight, the difference between melee and ranged combat, and earning rewards for victory.")
  265. end
  266. function dlg_5_2(NPC, Spawn)
  267. FaceTarget(NPC, Spawn)
  268. conversation = CreateConversation()
  269. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara009.mp3", "", "", 1613933242, 1197148922, Spawn)
  270. AddConversationOption(conversation, "How do I begin the battle?", "dlg_5_3")
  271. StartConversation(conversation, NPC, Spawn, "Starting combat is easy. Just use your mouse pointer to left-click on an opponent. Its name will appear in the Target window in the upper left of your screen. You can also use the Tab key to cycle through nearby targets or the F8 key to select your closest enemy.")
  272. end
  273. function dlg_5_3(NPC, Spawn)
  274. FaceTarget(NPC, Spawn)
  275. conversation = CreateConversation()
  276. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara010.mp3", "", "", 1755891240, 3796028834, Spawn)
  277. AddConversationOption(conversation, "So I can fight anyone or anything I want?", "dlg_5_4")
  278. StartConversation(conversation, NPC, Spawn, "If you're close enough to your foe and want to start hitting it with your weapon, either click your Melee Attack button on your hotbar or press the ~ key. Or you can begin by using one of your spells or combat arts to get the enemy's attention. Remember, you must be close enough to actually hit them.")
  279. end
  280. function dlg_5_4(NPC, Spawn)
  281. FaceTarget(NPC, Spawn)
  282. conversation = CreateConversation()
  283. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara011.mp3", "", "", 3723859553, 908527971, Spawn)
  284. AddConversationOption(conversation, "Tell me about melee combat.", "dlg_5_5")
  285. AddConversationOption(conversation, "Tell me about ranged combat.")
  286. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  287. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  288. AddConversationOption(conversation, "I'll come back later.")
  289. StartConversation(conversation, NPC, Spawn, "You can fight most non-player characters and creatures that you find outside your city, whether outdoors or in dungeons. Many non-player characters in the cities are there to help you or give quests, so you can't attack some of them. If you try, you'll get a message telling you that they aren't valid targets.")
  290. end
  291. function dlg_5_5(NPC, Spawn)
  292. FaceTarget(NPC, Spawn)
  293. conversation = CreateConversation()
  294. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara012.mp3", "", "", 3752439035, 2733336647, Spawn)
  295. AddConversationOption(conversation, "What classes specialize in melee combat?", "dlg_5_6")
  296. StartConversation(conversation, NPC, Spawn, "Melee combat means a toe-to-toe, physical confrontation. It is a combination of auto-attack damage that happens automatically when you press the Melee Attack button on your hotbar or the ~ key and spells or combat arts that you use in close proximity to your foe.")
  297. end
  298. function dlg_5_6(NPC, Spawn)
  299. FaceTarget(NPC, Spawn)
  300. conversation = CreateConversation()
  301. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara013.mp3", "", "", 1434116742, 4225387141, Spawn)
  302. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_5_7")
  303. AddConversationOption(conversation, "Tell me about ranged combat.")
  304. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  305. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  306. AddConversationOption(conversation, "I'll come back later.")
  307. StartConversation(conversation, NPC, Spawn, "Sturdy fighters such as Guardians, Berserkers, Monks, and Paladins stand at the front lines of battle facing the enemy. Crafty scouts such as Swashbucklers, Rangers, Troubadors, and Dirges generally stay close to their foes as well, but prefer to launch attacks from the back or side where they are less likely to be counterattacked.")
  308. end
  309. function dlg_5_7(NPC, Spawn)
  310. FaceTarget(NPC, Spawn)
  311. conversation = CreateConversation()
  312. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara014.mp3", "", "", 3046408427, 2592738256, Spawn)
  313. AddConversationOption(conversation, "How do I launch a ranged attack?")
  314. StartConversation(conversation, NPC, Spawn, "Ranged combat means that you put some distance between yourself and the enemy. This can be done with weapons such as bows or throwing daggers, or with spells and arts that can be cast from a distance.")
  315. end
  316. function dlg_5_8(NPC, Spawn)
  317. FaceTarget(NPC, Spawn)
  318. conversation = CreateConversation()
  319. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara015.mp3", "", "", 3151700367, 2431538473, Spawn)
  320. AddConversationOption(conversation, "What classes specialize in ranged combat?", "dlg_5_9")
  321. StartConversation(conversation, NPC, Spawn, "If you have a ranged weapon and ammunition, you can initiate ranged combat by using the Ranged Attack button on the Abilities tab of your Knowledge Book. You can drag this key to your hotbar if you like. Remember, you must have a ranged weapon in the Ranged slot of your inventory window and the correct type of ammunition in the Ammo slot.")
  322. end
  323. function dlg_5_9(NPC, Spawn)
  324. FaceTarget(NPC, Spawn)
  325. conversation = CreateConversation()
  326. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara016.mp3", "", "", 1497976155, 2895560497, Spawn)
  327. AddConversationOption(conversation, "How do I tell if I can use spells or arts from a distance?", "dlg_5_10")
  328. StartConversation(conversation, NPC, Spawn, "While most classes have the ability to attack from a distance, scout classes such as Swashbucklers, Troubadors, Dirges, and particularly Rangers specialize in ranged physical attacks. Mages, priests, and Paladins have spells that do damage to their foes from a distance.")
  329. end
  330. function dlg_5_10(NPC, Spawn)
  331. FaceTarget(NPC, Spawn)
  332. conversation = CreateConversation()
  333. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara017.mp3", "", "", 893336149, 277723094, Spawn)
  334. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_5_11")
  335. AddConversationOption(conversation, "Tell me about melee combat.")
  336. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  337. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  338. AddConversationOption(conversation, "I'll come back later.")
  339. StartConversation(conversation, NPC, Spawn, "You can right-click on a spell or art's icon and select 'Examine' to see what its range of effect is. In addition, if you target something and the icon for one of your spells or arts turns a dark red, that means the opponent is out of range of that ability.")
  340. end
  341. function dlg_5_11(NPC, Spawn)
  342. FaceTarget(NPC, Spawn)
  343. conversation = CreateConversation()
  344. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara018.mp3", "", "", 2556228609, 3589317469, Spawn)
  345. AddConversationOption(conversation, "What do you mean by 'a worthy opponent'?")
  346. StartConversation(conversation, NPC, Spawn, "Victory in battle can be very rewarding. Successful combat against a worthy opponent awards you experience (XP) to help you advance your level, as well as the chance at coin, usable items, and other valuables.")
  347. end
  348. function dlg_5_12(NPC, Spawn)
  349. FaceTarget(NPC, Spawn)
  350. conversation = CreateConversation()
  351. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara019.mp3", "", "", 4159604095, 2208350646, Spawn)
  352. AddConversationOption(conversation, "Are certain types of targets more rewarding than others?", "dlg_5_13")
  353. StartConversation(conversation, NPC, Spawn, "You don't earn rewards for defeating foes that are too far below your level. If your target has a grey name, it means it is very weak and won't provide any benefit for beating it. Talk to Trainer Tahvolo Viljaan for more information on evaluating your opponents.")
  354. end
  355. function dlg_5_13(NPC, Spawn)
  356. FaceTarget(NPC, Spawn)
  357. conversation = CreateConversation()
  358. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara020.mp3", "", "", 3722520538, 550116332, Spawn)
  359. AddConversationOption(conversation, "Tell me how to begin a fight.", "dlg_5_14")
  360. AddConversationOption(conversation, "Tell me about melee combat.")
  361. AddConversationOption(conversation, "Tell me about ranged combat.")
  362. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  363. AddConversationOption(conversation, "I'll come back later.")
  364. StartConversation(conversation, NPC, Spawn, "The tougher a foe, the better its chances to provide a valuable reward. Though defeating enemies alone provides nice rewards, defeating heroic enemies that require a group is even more rewarding. The very best items come from banding together multiple groups to defeat epic opponents.")
  365. end
  366. function dlg_5_14(NPC, Spawn)
  367. FaceTarget(NPC, Spawn)
  368. conversation = CreateConversation()
  369. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara021.mp3", "", "", 801103527, 2875309924, Spawn)
  370. AddConversationOption(conversation, "Tell me about selecting the right opponent.")
  371. AddConversationOption(conversation, "Teach me about knowing my surroundings.")
  372. AddConversationOption(conversation, "Tell me about using my abilities.")
  373. AddConversationOption(conversation, "Teach me the basics of combat.", "dlg_5_15")
  374. AddConversationOption(conversation, "I'll come back later.")
  375. StartConversation(conversation, NPC, Spawn, "There are many advanced combat techniques that you will learn over time. There's no substitute for experience, .. GetName(Spawn) .. . I'd be happy to discuss a few of these advanced aspects, such as selecting the right opponent, knowing your surroundings, and using your abilities.")
  376. end
  377. function dlg_5_15(NPC, Spawn)
  378. FaceTarget(NPC, Spawn)
  379. conversation = CreateConversation()
  380. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara022.mp3", "", "", 187572586, 450509917, Spawn)
  381. AddConversationOption(conversation, "How do I tell if an opponent is too weak or too strong for me?", "dlg_5_16")
  382. StartConversation(conversation, NPC, Spawn, "Picking the right fight is crucial to victory. A weak opponent won't provide worthwhile rewards, while an overly powerful foe will result in your defeat. You need to keep your resources in mind as well as choosing the right target.")
  383. end
  384. function dlg_5_16(NPC, Spawn)
  385. FaceTarget(NPC, Spawn)
  386. conversation = CreateConversation()
  387. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara023.mp3", "", "", 4040652289, 1699138117, Spawn)
  388. AddConversationOption(conversation, "What resources should I be keeping an eye on?", "dlg_5_17")
  389. StartConversation(conversation, NPC, Spawn, "Targeting an opponent will show you detailed information on its overall potency. Generally speaking, you'll find the best results from fighting opponents with blue, white, or yellow names. Talk to Trainer Tahvolo Viljaan for more information on evaluating your opponents.")
  390. end
  391. function dlg_5_17(NPC, Spawn)
  392. FaceTarget(NPC, Spawn)
  393. conversation = CreateConversation()
  394. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara024.mp3", "", "", 3598297774, 910017607, Spawn)
  395. AddConversationOption(conversation, "Teach me about knowing my surroundings.", "dlg_5_18")
  396. AddConversationOption(conversation, "Tell me about using my abilities.")
  397. AddConversationOption(conversation, "Teach me the basics of combat.")
  398. AddConversationOption(conversation, "I'll come back later.")
  399. StartConversation(conversation, NPC, Spawn, "Starting a fight when you are low on health or power is a very bad idea. Your choice of targets also depends on whether you're alone or grouped with other players. Forming a group allows you to take on tougher and more rewarding challenges than you could face alone.")
  400. end
  401. function dlg_5_18(NPC, Spawn)
  402. FaceTarget(NPC, Spawn)
  403. conversation = CreateConversation()
  404. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara025.mp3", "", "", 302868023, 1058230652, Spawn)
  405. AddConversationOption(conversation, "Anything else I should watch out for?", "dlg_5_19")
  406. StartConversation(conversation, NPC, Spawn, "Keeping your surroundings in mind is crucial to victory. Fighting in areas with lots of aggressive creatures is a bad idea, because they won't hesitate to gang up on you.")
  407. end
  408. function dlg_5_19(NPC, Spawn)
  409. FaceTarget(NPC, Spawn)
  410. conversation = CreateConversation()
  411. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara026.mp3", "", "", 2395836258, 4167880022, Spawn)
  412. AddConversationOption(conversation, "Any other tips?", "dlg_5_20")
  413. StartConversation(conversation, NPC, Spawn, "Staying too long on the exact spot where you just defeated a foe can be dangerous. Another enemy is likely to show up there soon after, which can be an unpleasant surprise if you're already in another battle.")
  414. end
  415. function dlg_5_20(NPC, Spawn)
  416. FaceTarget(NPC, Spawn)
  417. conversation = CreateConversation()
  418. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara027.mp3", "", "", 3335927389, 418360840, Spawn)
  419. AddConversationOption(conversation, "Tell me about selecting the right opponent.", "dlg_5_21")
  420. AddConversationOption(conversation, "Tell me about using my abilities.")
  421. AddConversationOption(conversation, "Teach me the basics of combat.")
  422. AddConversationOption(conversation, "I'll come back later.")
  423. StartConversation(conversation, NPC, Spawn, "You should be aware of what's going on around you. Using your mouse wheel to scroll out into third person and holding down the left mouse button allows you to move the camera around your character. It's a good idea to do this when fighting in dangerous areas to make sure nothing sneaks up on you.")
  424. end
  425. function dlg_5_21(NPC, Spawn)
  426. FaceTarget(NPC, Spawn)
  427. conversation = CreateConversation()
  428. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara028.mp3", "", "", 3915273076, 3111917162, Spawn)
  429. AddConversationOption(conversation, "What do you mean?")
  430. StartConversation(conversation, NPC, Spawn, "Successful fighting isn't about turning on your auto-attack and walking away from battle. Your odds of victory are much better if you are well-prepared and are active during combat. You should use every spell or combat art that has a positive effect on your chances to win.")
  431. end
  432. function dlg_5_22(NPC, Spawn)
  433. FaceTarget(NPC, Spawn)
  434. conversation = CreateConversation()
  435. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara029.mp3", "", "", 2179864552, 3125288554, Spawn)
  436. AddConversationOption(conversation, "What about during battle?", "dlg_5_23")
  437. StartConversation(conversation, NPC, Spawn, "Before you begin fighting, make sure you and your allies have activated all beneficial spells, also known as 'buffs,' so that you're operating at peak efficiency. Buffs can add health or power, increase your rate of regeneration, enhance your physical attributes, make you attack faster or do more damage, and more.")
  438. end
  439. function dlg_5_23(NPC, Spawn)
  440. FaceTarget(NPC, Spawn)
  441. conversation = CreateConversation()
  442. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara030.mp3", "", "", 2306274826, 3024519845, Spawn)
  443. AddConversationOption(conversation, "What else should I know about spells and arts?", "dlg_5_24")
  444. StartConversation(conversation, NPC, Spawn, "Whether you're a front-lines melee type or someone attacking from a distance with weapons or spells, you should be using abilities that damage your foes effectively and efficiently. Right click on your spells and arts and select 'Examine' to see details on their effects.")
  445. end
  446. function dlg_5_24(NPC, Spawn)
  447. FaceTarget(NPC, Spawn)
  448. conversation = CreateConversation()
  449. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara031.mp3", "", "", 2411688474, 2950057017, Spawn)
  450. AddConversationOption(conversation, "Tell me about selecting the right opponent.", "dlg_5_25")
  451. AddConversationOption(conversation, "Teach me about knowing my surroundings.")
  452. AddConversationOption(conversation, "Teach me the basics of combat.")
  453. AddConversationOption(conversation, "I'll come back later.")
  454. StartConversation(conversation, NPC, Spawn, "Using your highest-level versions of spells and arts will be more effective than using older versions. In addition, you should be upgrading your abilities to higher ranks to make them more effective. For more details on spells and combat arts, talk to Trainer Valtteri Yliveri.")
  455. end
  456. function dlg_5_25(NPC, Spawn)
  457. FaceTarget(NPC, Spawn)
  458. conversation = CreateConversation()
  459. PlayFlavor(NPC, "voiceover/english/exp03_questvo/trainer_arilla_larivaara/_exp03/exp03_cty_kelethin/tutorials/qst_larivaara/qst_laarivaara008.mp3", "", "", 2898686401, 1752530734, Spawn)
  460. AddConversationOption(conversation, "Tell me how to begin a fight.")
  461. AddConversationOption(conversation, "Tell me about melee combat.")
  462. AddConversationOption(conversation, "Tell me about ranged combat.", "dlg_5_26")
  463. AddConversationOption(conversation, "What kind of rewards can I earn in battle?")
  464. AddConversationOption(conversation, "Teach me more advanced aspects of combat.")
  465. AddConversationOption(conversation, "I'll come back later.")
  466. StartConversation(conversation, NPC, Spawn, "There are many different elements that go into successful combat. I can teach you a few of the basics, such as how to begin a fight, the difference between melee and ranged combat, and earning rewards for victory.")
  467. end