9
3

AstryniaBurnwynd.lua 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/AstryniaBurnwynd.lua
  3. Script Purpose : Astrynia Burnwynd <Wizard Trainer>
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. end
  16. function LeaveRange(NPC, Spawn)
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. conversation = CreateConversation()
  21. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "Do you have any advice for a fellow wizard?", "dlg_3_1")
  23. AddConversationOption(conversation, "It is, isn't it? Good day.")
  24. StartConversation(conversation, NPC, Spawn, "Good day to you, fellow student of wizardry. It's amazing to see how many of us have talents for the arcane.")
  25. if convo==21 then
  26. PlayFlavor(NPC, "felion_shadoweater/qey_south/trainer_wizard001.mp3", "", "", 4048173540, 1288632814, Spawn)
  27. AddConversationOption(conversation, "Just looking around.", "dlg_21_1")
  28. StartConversation(conversation, NPC, Spawn, "Greetings Ravelshian, what brings you to the Concordium?")
  29. end
  30. end