9
3

BattlemasterGolben.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/BattlemasterGolben.lua
  3. Script Purpose : Battlemaster Golben <Guardians of Herga's Choke>
  4. Script Author : theFoof
  5. Script Date : 2013.06.01
  6. Script Notes :
  7. --]]
  8. local DemandSupplies = 45
  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 HasQuest(Spawn, DemandSupplies) and GetQuestStep(Spawn, DemandSupplies) < 3 then
  17. conversation = CreateConversation()
  18. PlayFlavor(NPC, "battlemaster_golben/halas/great_shelf/battlemaster_golben/battlemaster_golben001.mp3", "", "", 62773900, 972998516, Spawn)
  19. AddConversationOption(conversation, "Yes, here are the supplies.", "Chat")
  20. AddConversationOption(conversation, "I must be going.")
  21. StartConversation(conversation, NPC, Spawn, "I've got no time and even less patience. Did Rockbreaker send ye?")
  22. end
  23. end
  24. function Chat(NPC, Spawn)
  25. SetStepComplete(Spawn, DemandSupplies, 2)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "battlemaster_golben/halas/great_shelf/battlemaster_golben/battlemaster_golben002.mp3", "", "", 2225057385, 3178461226, Spawn)
  29. AddConversationOption(conversation, "Glad to help.")
  30. StartConversation(conversation, NPC, Spawn, "Thank Brell! Our blades are dull and our quivers empty. These new weapons will allow us to keep the orcs at bay awhile longer.")
  31. end