9
3

aBrokentuskpawnPath3.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aBrokentuskpawnPath3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.07.10 11:07:48
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BrokenTusk1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. RandomWeapons(NPC)
  13. OrcArmorCommon(NPC)
  14. Brokentusk(NPC)
  15. waypoints(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, -45.55, -2.73, 148.9, 2, math.random(10,15))
  25. MovementLoopAddLocation(NPC, -45.55, -2.73, 148.9, 2, 0)
  26. MovementLoopAddLocation(NPC, -46.1, -2.74, 150.32, 2, 0)
  27. MovementLoopAddLocation(NPC, -54.93, -2.67, 157.47, 2, math.random(10,15))
  28. MovementLoopAddLocation(NPC, -54.93, -2.67, 157.47, 2, 0)
  29. MovementLoopAddLocation(NPC, -52.12, -2.67, 152.89, 2, math.random(10,15))
  30. MovementLoopAddLocation(NPC, -52.12, -2.67, 152.89, 2, 0)
  31. MovementLoopAddLocation(NPC, -51.27, -2.67, 159.18, 2, math.random(10,15))
  32. MovementLoopAddLocation(NPC, -51.27, -2.67, 159.18, 2, 0)
  33. MovementLoopAddLocation(NPC, -52.92, -2.67, 157.98, 2, 0)
  34. MovementLoopAddLocation(NPC, -58.98, -2.67, 156.81, 2, math.random(10,15))
  35. MovementLoopAddLocation(NPC, -58.98, -2.67, 156.81, 2, 0)
  36. MovementLoopAddLocation(NPC, -56.02, -2.67, 154.52, 2, 0)
  37. MovementLoopAddLocation(NPC, -52.67, -2.67, 148.81, 2, math.random(10,15))
  38. MovementLoopAddLocation(NPC, -52.67, -2.67, 148.81, 2, 0)
  39. MovementLoopAddLocation(NPC, -52.85, -2.67, 144.96, 2, math.random(10,15))
  40. MovementLoopAddLocation(NPC, -52.85, -2.67, 144.96, 2, 0)
  41. MovementLoopAddLocation(NPC, -52.85, -2.67, 144.96, 2, 0)
  42. MovementLoopAddLocation(NPC, -61.58, -2.52, 144.2, 2, math.random(10,15))
  43. MovementLoopAddLocation(NPC, -61.58, -2.52, 144.2, 2, 0)
  44. MovementLoopAddLocation(NPC, -58.63, -2.65, 146.28, 2, 0)
  45. MovementLoopAddLocation(NPC, -50.61, -2.67, 155.9, 2, math.random(10,15))
  46. MovementLoopAddLocation(NPC, -50.61, -2.67, 155.9, 2, 0)
  47. end