9
3

SuhubaVankedisi.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/SuhubaVankedisi.lua
  3. Script Purpose : berserker trainer in Halas
  4. Script Author : theFoof
  5. Script Date : 2013.9.24
  6. Script Notes :
  7. --]]
  8. local BERSERKER = 4
  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) == BERSERKER then
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  19. AddConversationOption(conversation, "What advice can you give to another berserker?", "ZerkChat1")
  20. AddConversationOption(conversation, "It does, doesn't it? Good day.")
  21. StartConversation(conversation, NPC, Spawn, "I see a familiar fire in your eyes, warrior. The same burning rage that resides within all berserkers!")
  22. else
  23. PlayFlavor(NPC, "", "This land is full of battle. I like it!", 0, 0, Spawn)
  24. end
  25. end
  26. function ZerkChat1(NPC, Spawn)
  27. conversation = CreateConversation()
  28. FaceTarget(NPC, Spawn)
  29. AddConversationOption(conversation, "That will be useful!", "ZerkChat2")
  30. StartConversation(conversation, NPC, Spawn, "Let that rage consume you! It makes you stronger and fuels your unbridled aggression and fury. This is especially useful when facing many foes at once, inflicting damage on the highest amount of enemies with our wild swings.")
  31. end
  32. function ZerkChat2(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. AddConversationOption(conversation, "That's interesting.", "ZerkChat3")
  36. StartConversation(conversation, NPC, Spawn, "But it is not just an offensive power. It also helps reduce the amount of damage inflicted upon you, and can help you regain your health when you have been injured.")
  37. end
  38. function ZerkChat3(NPC, Spawn)
  39. FaceTarget(NPC, Spawn)
  40. conversation = CreateConversation()
  41. AddConversationOption(conversation, "That's useful to know!", "ZerkChat4")
  42. 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 affets your health. This is crucial.")
  43. end
  44. function ZerkChat4(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. conversation = CreateConversation()
  47. AddConversationOption(conversation, "Thank you for the advice.")
  48. StartConversation(conversation, NPC, Spawn, "And protect yourself with a good set of plate mail, " .. GetName(Spawn) .. ". The armor would be considered too heavy by others, but with your focus on strength such highly protective armor has no downside.")
  49. end