TrainerGurgaTrueheart.lua 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/TrainerGurgaTrueheart.lua
  3. Script Purpose : Trainer Gurga Trueheart <Expert in Physical Attributes>
  4. Script Author : John Adams
  5. Script Date : 2008.09.20
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. Modified Date : 2020.04.03
  8. Modified by : premierio015
  9. Notes : Added animations
  10. --]]
  11. function spawn(NPC)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. conversation = CreateConversation()
  19. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart001.mp3", "", "beckon", 330223646, 1165391404, Spawn)
  20. AddConversationOption(conversation, "Tell me what my physical attributes do.", "dlg_14_1")
  21. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  22. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  23. AddConversationOption(conversation, "I will ask you about this later.")
  24. StartConversation(conversation, NPC, Spawn, "Hello there, " .. GetName(Spawn) .. ". You look like you keep both your body and mind in good shape. Even so, I bet you could use more information on your physical attributes: Strength, Agility, Stamina, Intelligence, and Wisdom. That's what I'm here to teach you!")
  25. end
  26. function dlg_14_1(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. conversation = CreateConversation()
  29. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart002.mp3", "", "flex", 3017268324, 3420396892, Spawn)
  30. AddConversationOption(conversation, "Tell me about Agility.", "dlg_14_2")
  31. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  32. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  33. AddConversationOption(conversation, "Thanks for the information.")
  34. StartConversation(conversation, NPC, Spawn, "Strength determines how much weight you can carry. The more Strength you have, the more physical damage you can do in melee combat. Strength also determines the maximum amount of power Guardians, Berserkers, Monks, and Paladins have.")
  35. end
  36. function dlg_14_2(NPC, Spawn)
  37. FaceTarget(NPC, Spawn)
  38. conversation = CreateConversation()
  39. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart003.mp3", "", "", 1800198432, 422621617, Spawn)
  40. AddConversationOption(conversation, "Tell me about Stamina.", "dlg_14_3")
  41. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  42. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  43. AddConversationOption(conversation, "Thanks for the information.")
  44. StartConversation(conversation, NPC, Spawn, "Agility helps you avoid physical attacks. The more Agility you have, the higher your Avoidance ability. Agility also determines the maximum amount of power Swashbucklers, Rangers, Troubadors, and Dirges have.")
  45. end
  46. function dlg_14_3(NPC, Spawn)
  47. FaceTarget(NPC, Spawn)
  48. conversation = CreateConversation()
  49. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart004.mp3", "", "", 824633632, 4280308507, Spawn)
  50. AddConversationOption(conversation, "Tell me about Intelligence.", "dlg_14_4")
  51. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  52. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  53. AddConversationOption(conversation, "Thank you for the information.")
  54. StartConversation(conversation, NPC, Spawn, "Stamina gives you more Health points. The more Health you have, the longer you can survive in battle. Stamina is a useful attribute for every class.")
  55. end
  56. function dlg_14_4(NPC, Spawn)
  57. FaceTarget(NPC, Spawn)
  58. conversation = CreateConversation()
  59. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart005.mp3", "", "ponder", 634969391, 333054011, Spawn)
  60. AddConversationOption(conversation, "Tell me about Wisdom.", "dlg_14_5")
  61. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  62. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  63. AddConversationOption(conversation, "Thank you for the information.")
  64. StartConversation(conversation, NPC, Spawn, "Intelligence is more than just a sign of how smart you are. The more Intelligence you have, the more damage you do with spells in combat. Intelligence also determines the maximum amount of power Wizards, Warlocks, Illusionists, Conjurors, Troubadors, and Dirges have.")
  65. end
  66. function dlg_14_5(NPC, Spawn)
  67. FaceTarget(NPC, Spawn)
  68. conversation = CreateConversation()
  69. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart006.mp3", "", "", 172104333, 2804988196, Spawn)
  70. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  71. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  72. AddConversationOption(conversation, "Thank you for the information.")
  73. StartConversation(conversation, NPC, Spawn, "Wisdom increases your resistances to magical types of attacks: Heat, Cold, Disease, Poison, Magic, Mental and Divine. Wisdom also determines the maximum amount of power Templars, Mystics, Furies, Wardens, and Paladins have.")
  74. end
  75. function dlg_14_6(NPC, Spawn)
  76. FaceTarget(NPC, Spawn)
  77. conversation = CreateConversation()
  78. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart007.mp3", "", "", 3977540961, 2552439869, Spawn)
  79. AddConversationOption(conversation, "Tell me what my physical attributes do.", "dlg_14_1")
  80. AddConversationOption(conversation, "How do I improve my physical attributes?", "dlg_14_7")
  81. AddConversationOption(conversation, "Thank you for the information.")
  82. StartConversation(conversation, NPC, Spawn, "You can see your physical attributes, as well as other important aspects of your character, in your persona window. Just press the P key to open your persona window.")
  83. end
  84. function dlg_14_7(NPC, Spawn)
  85. FaceTarget(NPC, Spawn)
  86. conversation = CreateConversation()
  87. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart008.mp3", "", "", 3884845357, 2691699677, Spawn)
  88. AddConversationOption(conversation, "Are there other ways?", "dlg_14_8")
  89. AddConversationOption(conversation, "Thank you for the information.")
  90. StartConversation(conversation, NPC, Spawn, "Your physical attributes, as well as other aspects of your character, can be improved in a number of ways. Many items add points to your attributes, resistances, Health, or Power. Hold your mouse pointer over your items to see what benefits they provide.")
  91. end
  92. function dlg_14_8(NPC, Spawn)
  93. FaceTarget(NPC, Spawn)
  94. conversation = CreateConversation()
  95. PlayFlavor(NPC, "voiceover/english/tutorial_revamp/trainer_gurga_trueheart/tutorial_island02_revamp/trainers/attributes/gurga_trueheart009.mp3", "", "", 1275102729, 1764856299, Spawn)
  96. AddConversationOption(conversation, "Tell me what my physical attributes do.", "dlg_14_1")
  97. AddConversationOption(conversation, "How do I view my physical attributes?", "dlg_14_6")
  98. AddConversationOption(conversation, "I will ask you about this later.")
  99. StartConversation(conversation, NPC, Spawn, "Many spells and combat arts enhance your attributes. Some of these can be cast on yourself, while others can improve other player characters that you group with. Grouping with other classes provides a wider variety of ways to improve your attributes.")
  100. end
  101. --[[ raw_conversations
  102. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1015.mp3", "", "", 0, 0)
  103. --]]