ablackguard.lua 689 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/WailingCaves/ablackguard.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.06.30 09:06:49
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function group_dead(NPC, Spawn)
  14. local widget = GetSpawnByLocationID(Spawn, 439914)
  15. UseWidget(widget)
  16. local zone = GetZone(Spawn)
  17. local WorgMaster = GetSpawnByLocationID(zone, 404870)
  18. if WorgMaster ~= nil then
  19. AddTimer(WorgMaster, 3000, "WorgMaster")
  20. local Worg = GetSpawnByLocationID(zone, 404852)
  21. if Worg ~= nil then
  22. AddTimer(Worg, 3000, "FollowMaster")
  23. end
  24. end
  25. end