TergjerdGoreblade.lua 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/TergjerdGoreblade.lua
  3. Script Purpose : paladin trainer
  4. Script Author : theFoof
  5. Script Date : 2013.9.24
  6. Script Notes :
  7. --]]
  8. local PALADIN = 10
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. if GetClass(Spawn) == PALADIN then
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  19. AddConversationOption(conversation, "What advice do you have for a another paladin?", "PalChat1")
  20. AddConversationOption(conversation, "They do, don't they? Good day.")
  21. StartConversation(conversation, NPC, Spawn, "I see a familiar fire in your eyes, warrior. The same flames of righteousness rside within all paladins!")
  22. else
  23. PlayFlavor(NPC, "", "I'm here to whup folks like you into shape!", "hello", 0, 0, Spawn)
  24. end
  25. end
  26. function PalChat1(NPC, Spawn)
  27. conversation = CreateConversation()
  28. FaceTarget(NPC, Spawn)
  29. AddConversationOption(conversation, "That's useful to know!", "PalChat2")
  30. StartConversation(conversation, NPC, Spawn, "If you find items that add to your strength or stamina, be sure to get them! Strength increases the amount of damage your attacks can inflict on others and raises your ability to carry heavy weight. Your stamina affects your health. This is crucial.")
  31. end
  32. function PalChat2(NPC, Spawn)
  33. conversation = CreateConversation()
  34. FaceTarget(NPC, Spawn)
  35. AddConversationOption(conversation, "That's reassuring.", "PalChat3")
  36. StartConversation(conversation, NPC, Spawn, "Know the power you wield. You have been called into this service, to become a sword of valor, a servant to the divine, smiting oppressors and followers of the dark no matter if they attack one at a time or as a horde.")
  37. end
  38. function PalChat3(NPC, Spawn)
  39. conversation = CreateConversation()
  40. FaceTarget(NPC, Spawn)
  41. AddConversationOption(conversation, "That will be useful!", "PalChat4")
  42. StartConversation(conversation, NPC, Spawn, "The divine powers can also be used to grant us health in moments of need, as wlel as increase our allies' ability to heal. It can also be used to lend them some invaluable aid in the form of damage mitigation, reducing the amount of damage they receive.")
  43. end
  44. function PalChat4(NPC, Spawn)
  45. conversation = CreateConversation()
  46. FaceTarget(NPC, Spawn)
  47. AddConversationOption(conversation, "That's interesting.", "PalChat5")
  48. StartConversation(conversation, NPC, Spawn, "As is oura bility to take the blame for the damage an ally may inflict. This may sound bad, but when you are battling beside a powerful friend who does not have much protection anything that can keep the foe's attention on you is saving your friend.")
  49. end
  50. function PalChat5(NPC, Spawn)
  51. conversation = CreateConversation()
  52. FaceTarget(NPC, Spawn)
  53. AddConversationOption(conversation, "Thank you for the advice.")
  54. StartConversation(conversation, NPC, Spawn, "And protect yourself with a good set of plate mail, " .. GetName(Spawn) .. ". The armor may be weighty, but you can handle it, and its protective properties will be necessary, as it takes time to beseech our divine powers.")
  55. end