avigilantgauntletdefender_(archer).lua 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : FrostfangSea/SpawnScripts/avigilantgauntletdefender_(archer).lua
  3. Script Purpose : for the archer gauntlet defenders
  4. Script Author : theFoof
  5. Script Date : 2013.6.2
  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. end
  16. function killed(NPC)
  17. local choice = math.random(1,5)
  18. if choice == 1 then
  19. PlayFlavor(NPC, "voiceover/english/dwarf_base_1/ft/dwarf/dwarf_base_1_1_aggro_gf_be4f625e.mp3", "Where do ya think you're going?", "", 152508601, 1517122703)
  20. elseif choice == 2 then
  21. PlayFlavor(NPC, "voiceover/english/dwarf_base_1/ft/dwarf/dwarf_base_1_1_aggro_gf_ab9057d3.mp3", "Looking for me? ", "", 407706048, 337475746)
  22. elseif choice == 3 then
  23. PlayFlavor(NPC, "voiceover/english/dwarf_base_1/ft/dwarf/dwarf_base_1_1_victory_gf_4a1ceaef.mp3", "Ha! I'm not done yet. Get back up!", "", 1335528281, 2889456217)
  24. elseif choice == 4 then
  25. PlayFlavor(NPC, "voiceover/english/dwarf_base_1/ft/dwarf/dwarf_base_1_1_victory_gf_d6c773c7.mp3", "I didn't think I hit em that hard.", "", 4016088326, 632010394)
  26. elseif choice == 5 then
  27. PlayFlavor(NPC, "voiceover/english/dwarf_base_1/ft/dwarf/dwarf_base_1_1_victory_gf_ecd7fa6e.mp3", "An ale for the fallen!", "", 3223559996, 2677275600)
  28. end
  29. end