anuntamedspirit_male.lua 648 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : <script-name>
  3. Script Purpose : <purpose>
  4. Script Author : <author-name>
  5. Script Date : <date>
  6. Script Notes : <special-instructions>
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. end
  12. function respawn(NPC)
  13. end
  14. function death(NPC, Spawn)
  15. rand = math.random(0, 100)
  16. if rand <= 20 then
  17. choice = math.random(1, 2)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/ghost_darkelf_base_1/ft/ghost/ghost_darkelf_base_1_1_death_gf_b5958785.mp3", "Hold them and I'll return with others like us!", "", 3769472925, 2964757475, Spawn)
  20. else
  21. Say(NPC, "The others will be back for you.", Spawn)
  22. end
  23. end
  24. end