EnvoyTamiSwifthammer.lua 567 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/EnvoyTamiSwifthammer.lua
  3. Script Purpose : Envoy Tami Swifthammer <Ironforge Exchange>
  4. Script Author : theFoof
  5. Script Date : 2013.09.16
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. local choice = math.random(1,2)
  16. if choice == 1 then
  17. PlayFlavor(NPC, "", "Marr's blessings!", "", 0, 0, Spawn)
  18. elseif choice == 2 then
  19. PlayFlavor(NPC, "", "Good day!", "", 1689589577, 4560189, Spawn)
  20. end
  21. end