aweaksparringpartner.lua 850 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aweaksparringpartner.lua
  3. Script Author : Rylec
  4. Script Date : 2020.11.15 08:11:26
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. math.randomseed(os.time())
  13. voice = math.random (1,3)
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1010.mp3", "You can attack me whenever you're ready. You can do that by double-clicking me, by right clicking me and selecting 'attack,' by using an offensive ability while you have me targeted, or by turning on auto attack by pressing the ~ key while you have me targeted.", "", 0, 0, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function death(NPC, Spawn)
  20. Despawn(NPC)
  21. end