9
3

SpawnsGroup133772658.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/SpawnsGroup133772658.lua
  3. Script Author : Rylec
  4. Script Date : 2021.10.05 12:10:42
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. GuardTolar(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function GuardTolar(NPC)
  17. local zone = GetZone(NPC)
  18. local spawnChoice = MakeRandomInt(1,3)
  19. if spawnChoice == 1 then
  20. SpawnByLocationID(zone, 570718)
  21. -- local guardTolar = SpawnMob(zone, 6600388, false, 515.3297, -20.57685, -290.6479, 230)
  22. -- local canineWatcher = SpawnMob(zone, 6600687, false, 515.4407, -20.61468, -293.3502, 240)
  23. elseif spawnChoice == 2 then
  24. SpawnByLocationID(zone, 133772660)
  25. -- local guardTolar = SpawnMob(zone, 6600388, false, 514.7665, -20.86097, -292.2155, 230)
  26. -- local canineWatcher = SpawnMob(zone, 6600687, false, 515.4407, -20.61468, -293.3502, 240)
  27. else
  28. SpawnByLocationID(zone, 133772661)
  29. -- local guardTolar = SpawnMob(zone, 6600388, false, 514.8268, -20.40517, -284.834, 269.4219)
  30. -- local canineWatcher = SpawnMob(zone, 6600687, false, 516.6714, -20.46721, -287.4783, 240)
  31. end
  32. end