9
3

aprisonerguard.lua 549 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Ruins/aprisonerguard.lua
  3. Script Purpose : a prisoner guard
  4. Script Author : Scatman
  5. Script Date : 2009.08.29
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/RuinsDefendersVoiceOvers.lua")
  9. function spawn(NPC)
  10. AddVisualStateLoop(NPC, 1000, math.random(500, 2000), 1026, 33794) -- 1h sword attack
  11. AddVisualStateLoop(NPC, 1000, math.random(500, 2000), 13058, 45826) -- taunt combat art
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. generic_hail(NPC, Spawn)
  19. end