aDervishthugPath2.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aDervishthugPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.07 09:03:59
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. ogre(NPC)
  12. DervishThug(NPC)
  13. IdleAggressive(NPC)
  14. AddTimer(NPC, 6000, "waypoints")
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function waypoints(NPC)
  23. MovementLoopAddLocation(NPC, 1280.67, -43.02, 153.66, 2, 0)
  24. MovementLoopAddLocation(NPC, 1277.96, -42.85, 142.76, 2, 0)
  25. MovementLoopAddLocation(NPC, 1270.96, -40.17, 103.19, 2, MakeRandomInt(8,15))
  26. MovementLoopAddLocation(NPC, 1270.96, -40.17, 103.19, 2, 0)
  27. MovementLoopAddLocation(NPC, 1271.03, -41.73, 118.61, 2, 0)
  28. MovementLoopAddLocation(NPC, 1277.39, -43, 145.81, 2, 0)
  29. MovementLoopAddLocation(NPC, 1274.85, -43.4, 151.77, 2, 0)
  30. MovementLoopAddLocation(NPC, 1260.27, -44.7, 165.8, 2, 0)
  31. MovementLoopAddLocation(NPC, 1254.9, -44.65, 176.88, 2, 0)
  32. MovementLoopAddLocation(NPC, 1250.52, -44.13, 193.31, 2, 0)
  33. MovementLoopAddLocation(NPC, 1233.28, -41.93, 235.59, 2, MakeRandomInt(8,15))
  34. MovementLoopAddLocation(NPC, 1233.28, -41.93, 235.59, 2, 0)
  35. MovementLoopAddLocation(NPC, 1239.49, -42.58, 221.05, 2, 0)
  36. MovementLoopAddLocation(NPC, 1249.2, -44.02, 196.1, 2, 0)
  37. MovementLoopAddLocation(NPC, 1256.07, -44.71, 172.87, 2, 0)
  38. MovementLoopAddLocation(NPC, 1273, -43.75, 157.98, 2, 0)
  39. MovementLoopAddLocation(NPC, 1283.9, -42.9, 158.73, 2, 0)
  40. MovementLoopAddLocation(NPC, 1295.23, -41.95, 164.41, 2, MakeRandomInt(8,15))
  41. MovementLoopAddLocation(NPC, 1295.23, -41.95, 164.41, 2, 0)
  42. MovementLoopAddLocation(NPC, 1286.03, -42.75, 160.61, 2, 0)
  43. MovementLoopAddLocation(NPC, 1280.67, -43.02, 153.66, 2, 0)
  44. end