aGruttoothbruteR1.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothbruteR1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.09 09:09:09
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin2.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, 210.34, -0.75, -126.85, 4, 5)
  22. MovementLoopAddLocation(NPC, 212.94, -0.75, -135.43, 4, 0)
  23. MovementLoopAddLocation(NPC, 219.28, -0.77, -186.7, 4, 0)
  24. MovementLoopAddLocation(NPC, 218.06, -0.76, -189.27, 4, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 218.06, -0.76, -189.27, 4, 0)
  26. MovementLoopAddLocation(NPC, 218.94, -0.76, -187.36, 4, 0)
  27. MovementLoopAddLocation(NPC, 207.88, -0.73, -136.6, 4, 0)
  28. MovementLoopAddLocation(NPC, 210.34, -0.75, -126.85, 4, 0)
  29. end