TrainerAnnaWinston.lua 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/TrainerAnnaWinston.lua
  3. Script Purpose : Trainer Anna Winston <Know Your Enemy>
  4. Script Author : John Adams
  5. Script Date : 2008.09.23
  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/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil001.mp3", "", "", 3826694129, 553189793, Spawn)
  17. AddConversationOption(conversation, "How do I judge my opponent?", "dlg_17_1")
  18. AddConversationOption(conversation, "I will learn this lesson later.")
  19. StartConversation(conversation, NPC, Spawn, "You seem to have potential, adventurer. I think you shall make a great champion of the Overlord some day. As you begin your training here at the Outpost, it is important that you learn how to gauge the capabilities of your adversary.")
  20. end
  21. function dlg_17_1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. conversation = CreateConversation()
  24. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil002.mp3", "", "", 4184288425, 582050840, Spawn)
  25. AddConversationOption(conversation, "What does the creature's name tell me?", "dlg_17_2")
  26. AddConversationOption(conversation, "I will learn this lesson later.")
  27. StartConversation(conversation, NPC, Spawn, "You must learn to use both your eyes and your instincts as you consider friends and foes in Norrath. There are two excellent tools you should use to judge their capabilities: what you can tell from their name and what you can learn by targeting them.")
  28. end
  29. function dlg_17_2(NPC, Spawn)
  30. FaceTarget(NPC, Spawn)
  31. conversation = CreateConversation()
  32. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil003.mp3", "", "", 3153490829, 2957467491, Spawn)
  33. AddConversationOption(conversation, "How do I target an opponent?", "dlg_17_3")
  34. AddConversationOption(conversation, "I will learn this lesson later.")
  35. StartConversation(conversation, NPC, Spawn, "If something has a red border around its name, that target is aggressive toward you and will attack if you get too close to it. You should be especially careful of creatures that roam around, because if they notice you they won't hesitate to strike.")
  36. end
  37. function dlg_17_3(NPC, Spawn)
  38. FaceTarget(NPC, Spawn)
  39. conversation = CreateConversation()
  40. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil004.mp3", "", "", 3804622316, 716418387, Spawn)
  41. AddConversationOption(conversation, "Why are separate creatures sometimes linked?", "dlg_17_4")
  42. AddConversationOption(conversation, "I will learn this lesson later.")
  43. StartConversation(conversation, NPC, Spawn, "All you need to do is move your mouse pointer over what you want to target and click. You will see the name of your opponent in the Target window in the upper left corner of the screen, and a large arrow will appear above its head. If arrows also appear above the heads of nearby creatures, it means all of them are linked together and will attack as one.")
  44. end
  45. function dlg_17_4(NPC, Spawn)
  46. FaceTarget(NPC, Spawn)
  47. conversation = CreateConversation()
  48. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil005.mp3", "", "", 1876992668, 3587528446, Spawn)
  49. AddConversationOption(conversation, "What does the Target window tell me?", "dlg_17_5")
  50. AddConversationOption(conversation, "I will learn this lesson later.")
  51. StartConversation(conversation, NPC, Spawn, "Sometimes multiple creatures will work together to form a single encounter. These opponents will act as a team, and usually won't stop fighting until all of them are defeated.")
  52. end
  53. function dlg_17_5(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. conversation = CreateConversation()
  56. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil006.mp3", "", "", 3654063813, 804080382, Spawn)
  57. AddConversationOption(conversation, "What does the level indicate?", "dlg_17_6")
  58. AddConversationOption(conversation, "I will learn this lesson later.")
  59. StartConversation(conversation, NPC, Spawn, "The Target window tells you several important facts, which collectively form what is referred to as the 'con' (overall challenge) of the opponent. It shows you the numerical level of the creature you have targeted, a color to indicate its relative level range, up or down arrows to indicate toughness, and indicators that tell you if the encounter is normal, heroic, or epic.")
  60. end
  61. function dlg_17_6(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. conversation = CreateConversation()
  64. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil007.mp3", "", "", 1614821790, 2742028941, Spawn)
  65. AddConversationOption(conversation, "How does my opponent's level affect my rewards for victory?", "dlg_17_7")
  66. AddConversationOption(conversation, "I will learn this lesson later.")
  67. StartConversation(conversation, NPC, Spawn, "As you adventure through Norrath, you will gain experience and increase your level. The opponents you will face in combat have levels as well. To be victorious, you will usually want to face foes that are close to your level.")
  68. end
  69. function dlg_17_7(NPC, Spawn)
  70. FaceTarget(NPC, Spawn)
  71. conversation = CreateConversation()
  72. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil008.mp3", "", "", 3345285161, 1595199883, Spawn)
  73. AddConversationOption(conversation, "What does the color of my opponent's name tell me?", "dlg_17_8")
  74. AddConversationOption(conversation, "I will learn this lesson later.")
  75. StartConversation(conversation, NPC, Spawn, "You gain more experience for defeating higher-level opponents, but they will be tougher to beat. Conversely, if you defeat foes much lower than your level, they will not be nearly as rewarding.")
  76. end
  77. function dlg_17_8(NPC, Spawn)
  78. FaceTarget(NPC, Spawn)
  79. conversation = CreateConversation()
  80. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil009.mp3", "", "", 2978922911, 137803014, Spawn)
  81. AddConversationOption(conversation, "What are the colors?", "dlg_17_9")
  82. AddConversationOption(conversation, "I will learn this lesson later.")
  83. StartConversation(conversation, NPC, Spawn, "The color of the opponent's name indicates how challenging the encounter is. It is very useful as a quick indicator of whether or not you should try fighting a target. The more danger its color indicates, the greater the threat it represents.")
  84. end
  85. function dlg_17_9(NPC, Spawn)
  86. FaceTarget(NPC, Spawn)
  87. conversation = CreateConversation()
  88. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil010.mp3", "", "", 962673165, 2603707279, Spawn)
  89. AddConversationOption(conversation, "Will grey targets ever attack me?", "dlg_17_10")
  90. AddConversationOption(conversation, "I will learn this lesson later.")
  91. StartConversation(conversation, NPC, Spawn, "Grey names mean the fight is below your abilities and will give no experience or reward. Green names mean the opponent is very easy. Blue names mean an easy fight. White names indicate the opponent is even with your abilities. Yellow names mean the fight will be challenging. Orange names indicate a difficult encounter. Red names mean the battle could be deadly.")
  92. end
  93. function dlg_17_10(NPC, Spawn)
  94. FaceTarget(NPC, Spawn)
  95. conversation = CreateConversation()
  96. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil011.mp3", "", "", 2405729502, 4006280510, Spawn)
  97. AddConversationOption(conversation, "What do down arrows tell me?", "dlg_17_11")
  98. AddConversationOption(conversation, "I will learn this lesson later.")
  99. StartConversation(conversation, NPC, Spawn, "Targets with grey names will not attack you, even if they would be aggressive to someone closer to their level. In other words, you won't be attacked by anything that won't give you some reward for defeating it.")
  100. end
  101. function dlg_17_11(NPC, Spawn)
  102. FaceTarget(NPC, Spawn)
  103. conversation = CreateConversation()
  104. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil012.mp3", "", "", 1405338343, 2444664063, Spawn)
  105. AddConversationOption(conversation, "What do up arrows mean?", "dlg_17_12")
  106. AddConversationOption(conversation, "I will learn this lesson later.")
  107. StartConversation(conversation, NPC, Spawn, "No arrow by the target's name indicates an average opponent for a lone adventurer. A single down arrow means it is a below average opponent. Two down arrows tell you it's a weak opponent, and three down arrows mean it is very weak. Be careful though, because if multiple weak opponents are working together they can still represent quite a challenge.")
  108. end
  109. function dlg_17_12(NPC, Spawn)
  110. FaceTarget(NPC, Spawn)
  111. conversation = CreateConversation()
  112. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  113. AddConversationOption(conversation, "So how do I know whether I can face a challenge alone?", "dlg_17_13")
  114. AddConversationOption(conversation, "I will learn this lesson later.")
  115. StartConversation(conversation, NPC, Spawn, "Up arrows indicate increased difficulty. A single up arrow means an above average opponent. Two up arrows show a strong opponent, while three up arrows means a very tough fight. If you look at the sparring partners next to us, you will see that they have different arrow indicators. Feel free to practice fighting them to feel what effect the arrows have.")
  116. end
  117. function dlg_17_13(NPC, Spawn)
  118. FaceTarget(NPC, Spawn)
  119. conversation = CreateConversation()
  120. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil014.mp3", "", "", 119965585, 995426469, Spawn)
  121. AddConversationOption(conversation, "What is the difference between normal, heroic, and epic?", "dlg_17_14")
  122. AddConversationOption(conversation, "I will learn this lesson later.")
  123. StartConversation(conversation, NPC, Spawn, "As a general rule of thumb, if you see an enemy with one up arrow, it's a good idea to team up with another player to take it on. If you see an enemy with two up arrows, add two members to your group. If you see an opponent with three up arrows, add three members to your group. A lone adventurer will likely want to face targets with no arrows or down arrows.")
  124. end
  125. function dlg_17_14(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. conversation = CreateConversation()
  128. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil015.mp3", "", "", 3757452020, 2618123784, Spawn)
  129. AddConversationOption(conversation, "So how do all these elements work together to show an opponent's difficulty?", "dlg_17_15")
  130. AddConversationOption(conversation, "I will learn this lesson later.")
  131. StartConversation(conversation, NPC, Spawn, "A normal opponent has no indicator and is intended to be fought by a solo adventurer or small group. A heroic encounter is intended for a larger group of up to six adventurers. An epic opponent should only be attempted by a raid force of multiple groups working together.")
  132. end
  133. function dlg_17_15(NPC, Spawn)
  134. FaceTarget(NPC, Spawn)
  135. conversation = CreateConversation()
  136. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_anna_winston/tutorial_island02_evil_revamp/trainers/con_system/con_evil016.mp3", "", "", 1301376651, 859276859, Spawn)
  137. AddConversationOption(conversation, "Thank you, instructor.")
  138. StartConversation(conversation, NPC, Spawn, "All the elements I've explained will affect the outcome of a battle and whether or not you will need allies to win. Pay close attention to the lessons I have taught you. Learn well and you will indeed become the great champion I know you can be!")
  139. end