9
3

CelinistaRyannalis.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/CelinistaRyannalis.lua
  3. Script Purpose : Celinista Ryannalis <Order of Arcane>
  4. Script Author : John Adams
  5. Script Date : 2009.03.01
  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, "voiceover/english/voice_emotes/greetings/greetings_3_1011.mp3", "", "", 0, 0, Spawn)
  22. AddConversationOption(conversation, "I would like the writ: Scorched Skeletal Wizards", "dlg_12_1")
  23. AddConversationOption(conversation, "I would like the writ: Fayflies")
  24. AddConversationOption(conversation, "I will return later to lend my aid.")
  25. StartConversation(conversation, NPC, Spawn, "Welcome to the Order of Arcane, .. GetName(Spawn) .. . We could use your assistance if you are willing to lend a hand.")
  26. if convo==13 then
  27. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1011.mp3", "", "", 0, 0, Spawn)
  28. AddConversationOption(conversation, "I would like the writ: Scorched Skeletal Wizards", "dlg_13_1")
  29. AddConversationOption(conversation, "I would like the writ: Fayflies")
  30. AddConversationOption(conversation, "I will return later to lend my aid.")
  31. StartConversation(conversation, NPC, Spawn, "Welcome to the Order of Arcane, .. GetName(Spawn) .. . We could use your assistance if you are willing to lend a hand.")
  32. end
  33. end
  34. function dlg_13_1(NPC, Spawn)
  35. FaceTarget(NPC, Spawn)
  36. conversation = CreateConversation()
  37. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  38. AddConversationOption(conversation, "Thank you, I'll get started right away.", "dlg_13_2")
  39. StartConversation(conversation, NPC, Spawn, "The Order of the Arcane would like for you to eliminate scorched skeletal wizards to further our cause. Doing so will earn you favor with our organization.")
  40. end