RazrothTheBloated.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/RogueMagi/RazrothTheBloated.lua
  3. Script Author : Vo1d
  4. Script Date : 2019.10.22 05:10:57
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheFinalAssault = 367
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. conversation = CreateConversation()
  16. StartConversation(conversation, NPC, Spawn, "*Burp* Hello, " .. GetName(Spawn) .. ". How can i help you?")
  17. if HasQuest(Spawn, TheFinalAssault) then
  18. AddConversationOption(conversation, "The Final Assault", "TheFinalAssaultOptions")
  19. else
  20. end
  21. end
  22. function TheFinalAssaultOptions(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. conversation = CreateConversation()
  25. StartConversation(conversation, NPC, Spawn, "Select an option for this quest: ")
  26. AddConversationOption(conversation, "What step am i on?", "TheFinalAssaultQuestStep")
  27. end
  28. function TheFinalAssaultQuestStep(NPC, Spawn)
  29. Say(NPC, "You are currently on step " .. GetQuestStep(Spawn, TheFinalAssault))
  30. end