9
3

aGruttoothmystic3.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothmystic3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.06 12:09:58
  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, 100.74, 1.61, 111.93, 4, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 124.7, 1.32, 94.17, 4, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 124.7, 1.32, 94.17, 4, 0)
  24. MovementLoopAddLocation(NPC, 104.1, 1.59, 119.04, 4, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 104.1, 1.59, 119.04, 4, 0)
  26. MovementLoopAddLocation(NPC, 95.18, 1.63, 116.37, 4, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 95.18, 1.63, 116.37, 4, 0)
  28. MovementLoopAddLocation(NPC, 94.19, 1.63, 122.53, 4, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 94.19, 1.63, 122.53, 4, 0)
  30. MovementLoopAddLocation(NPC, 97.76, 1.62, 109.18, 4, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 97.76, 1.62, 109.18, 4, 0)
  32. MovementLoopAddLocation(NPC, 125.06, 1.32, 94.38, 4, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 125.06, 1.32, 94.38, 4, 0)
  34. end