acorrupteddryadPatrol.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/Oakmyst_Classic/acorrupteddryadPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.18 09:10:40
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/Dryad_Corrupt1.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function waypoints(NPC)
  16. if GetSpawnLocationID(NPC)==133778971 then
  17. MovementLoopAddLocation(NPC, 910.3, 14.75, -177.67, 1, 6)
  18. MovementLoopAddLocation(NPC, 909.7, 15.67, -185.22, 1, 0)
  19. MovementLoopAddLocation(NPC, 913.95, 16.44, -188.68, 1, 0)
  20. MovementLoopAddLocation(NPC, 919.14, 16.48, -189.56, 1, 0)
  21. MovementLoopAddLocation(NPC, 924.17, 14.2, -190.29, 1, 0)
  22. MovementLoopAddLocation(NPC, 927.57, 11.24, -191.23, 1, 0)
  23. MovementLoopAddLocation(NPC, 930.86, 7.17, -199.94, 1, 0)
  24. MovementLoopAddLocation(NPC, 931.73, 5.98, -203.1, 1, 0)
  25. MovementLoopAddLocation(NPC, 934.9, 4.21, -205.88, 1, 0)
  26. MovementLoopAddLocation(NPC, 940.71, 4.46, -206.98, 1, 0)
  27. MovementLoopAddLocation(NPC, 944.62, 4.91, -206.77, 1, 0)
  28. MovementLoopAddLocation(NPC, 947.55, 5.19, -202.25, 1, math.random(6,12))
  29. MovementLoopAddLocation(NPC, 947.55, 5.19, -202.25, 1, 0)
  30. MovementLoopAddLocation(NPC, 944.24, 4.93, -205.66, 1, 0)
  31. MovementLoopAddLocation(NPC, 939.47, 4.29, -206.96, 1, 0)
  32. MovementLoopAddLocation(NPC, 934.96, 4.23, -205.62, 1, 0)
  33. MovementLoopAddLocation(NPC, 931.1, 6.12, -202.89, 1, 0)
  34. MovementLoopAddLocation(NPC, 931.27, 7.4, -199.07, 1, 0)
  35. MovementLoopAddLocation(NPC, 930.52, 7.89, -196.42, 1, 0)
  36. MovementLoopAddLocation(NPC, 925.04, 13.53, -191.05, 1, 0)
  37. MovementLoopAddLocation(NPC, 919.61, 16.1, -190.78, 1, 0)
  38. MovementLoopAddLocation(NPC, 916.18, 16.22, -190.65, 1, 0)
  39. MovementLoopAddLocation(NPC, 909.86, 15.72, -186.03, 1, 0)
  40. MovementLoopAddLocation(NPC, 910.3, 14.75, -177.67, 1, 6)
  41. end
  42. end