aBlackshieldsmuggler.lua 637 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aBlackshieldsmuggler.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.04 03:01:09
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. human(NPC)
  12. AddTimer(NPC, 1500, "movement")
  13. end
  14. function movement(NPC, Spawn)
  15. if IsHeroic(NPC) == false then
  16. RandomMovement(NPC, Spawn, 8, -8, 2, 8, 15)
  17. else
  18. IdleSneaky(NPC)
  19. end
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end