Greshar.lua 878 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Spawn Template
  3. Script Name: Greshar.lua
  4. Script Purpose: Mender (evil)
  5. Script Author: John Adams
  6. Script Date: 2008.09.02
  7. Script Notes: Auto-Generated Conversation from PacketParser Data
  8. --]]
  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. conversation = CreateConversation()
  17. AddConversationOption(conversation, "Thanks, I will do so.")
  18. StartConversation(conversation, NPC, Spawn, "Hello there, " .. GetName(Spawn) .. ". Menders like me repair your equipment after it gets damaged due to death. To learn more about repairs, speak to Trainer Vissa Sathliss nearby. I'll fix your gear for a small fee, but menders in Freeport won't be quite so generous!")
  19. end
  20. function targeted(NPC, Spawn)
  21. if GetDistance(Spawn, NPC) < 10 then
  22. hailed(NPC, Spawn)
  23. end
  24. end