9
3

BronlaStonehide.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/BronlaStonehide.lua
  3. Script Purpose : fury trainer in Halas
  4. Script Author : theFoof
  5. Script Date : 2013.9.24
  6. Script Notes :
  7. --]]
  8. local FURY = 17
  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) == FURY then
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  19. AddConversationOption(conversation, "What advice do you have for another fury?", "FuryChat1")
  20. AddConversationOption(conversation, "Thank you, but I must be going.")
  21. StartConversation(conversation, NPC, Spawn, "Lo, and behold, another druid stands before me. Welcome, fellow fury of the storm!")
  22. else
  23. PlayFlavor(NPC, "", "Fresh dreams to you!", "hello", 0, 0, Spawn)
  24. end
  25. end
  26. function FuryChat1(NPC, Spawn)
  27. conversation = CreateConversation()
  28. FaceTarget(NPC, Spawn)
  29. AddConversationOption(conversation, "That's useful to know!", "FuryChat2")
  30. StartConversation(conversation, NPC, Spawn, "If you find items that add to your wisdom or stamina, then take them! Wisdom increases the amount of damage your spells can inflict on others and raises your defenses against spell damage inflicted on you. Your stamina affects your health. This is crucial.")
  31. end
  32. function FuryChat2(NPC, Spawn)
  33. conversation = CreateConversation()
  34. FaceTarget(NPC, Spawn)
  35. AddConversationOption(conversation, "That's interesting.", "FuryChat3")
  36. StartConversation(conversation, NPC, Spawn, "The primal forces of nature we wield can be used to help mend the wounded, which is beneficial in any battle! They can also be used to enhance the physical attributes and mystical might of our allies, making the attacks of our party members even more fearsome.")
  37. end
  38. function FuryChat3(NPC, Spawn)
  39. conversation = CreateConversation()
  40. FaceTarget(NPC, Spawn)
  41. AddConversationOption(conversation, "I agree, that will be useful.", "FuryChat4")
  42. StartConversation(conversation, NPC, Spawn, "Although we skillfully exert the healing and bolstering aspects of nature, we do not want to ignore their effectiveness in inflicting destruction! Lightning and fire can be quite effective in cutting down a formidable foe!")
  43. end
  44. function FuryChat4(NPC, Spawn)
  45. conversation = CreateConversation()
  46. FaceTarget(NPC, Spawn)
  47. AddConversationOption(conversation, "Thank you for the advice.")
  48. StartConversation(conversation, NPC, Spawn, "And protect yourself as best you can in leather, " .. GetName(Spawn) .. ". With such aggressive powers of nature at your hands, you need not waste any energy on encumbering suits of armor.")
  49. end