9
3

inquistrainingdummy452642.lua 600 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/inquistrainingdummy452642.lua
  3. Script Author : Rylec
  4. Script Date : 2021.10.03 10:10:15
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetLuaBrain(NPC)
  10. SetBrainTick(NPC, 200)
  11. Think(NPC, Spawn)
  12. end
  13. function hailed(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function Think(NPC, Spawn)
  19. local mostHated = GetMostHated(NPC)
  20. if mostHated ~= nil then
  21. ClearHate(NPC)
  22. SetInCombat(NPC, false)
  23. ClearEncounter(NPC)
  24. end
  25. end