9
3

aDervishthugPath3.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aDervishthugPath3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.07 09:03:22
  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, 1358.88, -35.03, 160.58, 2, 0)
  24. MovementLoopAddLocation(NPC, 1360.45, -35.25, 135.55, 2, 0)
  25. MovementLoopAddLocation(NPC, 1353.37, -36.62, 112.53, 2, 0)
  26. MovementLoopAddLocation(NPC, 1341.46, -36.31, 65.76, 2, 0)
  27. MovementLoopAddLocation(NPC, 1330.56, -34.78, 41.97, 2, 0)
  28. MovementLoopAddLocation(NPC, 1315.82, -31.18, 10.23, 2, MakeRandomInt(8,15))
  29. MovementLoopAddLocation(NPC, 1315.82, -31.18, 10.23, 2, 0)
  30. MovementLoopAddLocation(NPC, 1321.88, -32.89, 26.63, 2, 0)
  31. MovementLoopAddLocation(NPC, 1339.77, -37.33, 75.03, 2, 0)
  32. MovementLoopAddLocation(NPC, 1335.56, -38.74, 117.57, 2, 0)
  33. MovementLoopAddLocation(NPC, 1343.48, -37.9, 149.02, 2, 0)
  34. MovementLoopAddLocation(NPC, 1365.04, -34.36, 161.36, 2, 0)
  35. MovementLoopAddLocation(NPC, 1387.19, -34.28, 168.85, 2, 0)
  36. MovementLoopAddLocation(NPC, 1411.39, -34.48, 174.26, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, 1411.39, -34.48, 174.26, 2, 0)
  38. MovementLoopAddLocation(NPC, 1397.17, -34.54, 168.6, 2, 0)
  39. MovementLoopAddLocation(NPC, 1384.65, -34.1, 166.81, 2, 0)
  40. MovementLoopAddLocation(NPC, 1370.97, -34.29, 167.51, 2, 0)
  41. MovementLoopAddLocation(NPC, 1358.83, -35.04, 165.67, 2, 0)
  42. MovementLoopAddLocation(NPC, 1322.55, -40.53, 160.8, 2, MakeRandomInt(8,15))
  43. MovementLoopAddLocation(NPC, 1322.55, -40.53, 160.8, 2, 0)
  44. MovementLoopAddLocation(NPC, 1342.82, -38.44, 167.08, 2, 0)
  45. MovementLoopAddLocation(NPC, 1349.38, -37.27, 166.22, 2, 0)
  46. MovementLoopAddLocation(NPC, 1358.88, -35.03, 160.59, 2, 0)
  47. end