aGruttoothmystic1.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothmystic1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.06 12:09:45
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 101.49, 1.61, 97.87, 4, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 117.94, 1.56, 82.54, 4, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 117.94, 1.56, 82.54, 4, 0)
  24. MovementLoopAddLocation(NPC, 114.95, 1.56, 89.91, 4, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 114.95, 1.56, 89.91, 4, 0)
  26. MovementLoopAddLocation(NPC, 126.73, 1.52, 84.83, 4, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 126.73, 1.52, 84.83, 4, 0)
  28. MovementLoopAddLocation(NPC, 122.26, 1.53, 101.79, 4, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 122.26, 1.53, 101.79, 4, 0)
  30. MovementLoopAddLocation(NPC, 122.44, 1.53, 89.65, 4, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 122.44, 1.53, 89.65, 4, 0)
  32. MovementLoopAddLocation(NPC, 103.1, 1.6, 103.53, 4, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 103.1, 1.6, 103.53, 4, 0)
  34. end