aBrokentuskpawnPath4.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aBrokentuskpawnPath4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.07.10 11:07:18
  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, -47.79, -2.65, 149.56, 2, math.random(10,15))
  25. MovementLoopAddLocation(NPC, -47.79, -2.65, 149.56, 2, 0)
  26. MovementLoopAddLocation(NPC, -43.71, -2.87, 147.4, 2, 0)
  27. MovementLoopAddLocation(NPC, -36.65, -3.73, 148.23, 2, math.random(10,15))
  28. MovementLoopAddLocation(NPC, -36.65, -3.73, 148.23, 2, 0)
  29. MovementLoopAddLocation(NPC, -39.73, -3.43, 146.65, 2, 0)
  30. MovementLoopAddLocation(NPC, -47.75, -2.72, 133.38, 2, math.random(10,15))
  31. MovementLoopAddLocation(NPC, -47.75, -2.72, 133.38, 2, 0)
  32. MovementLoopAddLocation(NPC, -45.74, -2.6, 137.92, 2, 0)
  33. MovementLoopAddLocation(NPC, -42.54, -2.97, 142.66, 2, 0)
  34. MovementLoopAddLocation(NPC, -39.71, -3.52, 143.08, 2, math.random(10,15))
  35. MovementLoopAddLocation(NPC, -39.71, -3.52, 143.08, 2, 0)
  36. MovementLoopAddLocation(NPC, -44.59, -2.7, 143.34, 2, 0)
  37. MovementLoopAddLocation(NPC, -55.28, -2.57, 138.06, 2, math.random(10,15))
  38. MovementLoopAddLocation(NPC, -55.28, -2.57, 138.06, 2, 0)
  39. MovementLoopAddLocation(NPC, -55.08, -2.54, 133.38, 2, 0)
  40. MovementLoopAddLocation(NPC, -53.79, -2.53, 129.9, 2, math.random(10,15))
  41. MovementLoopAddLocation(NPC, -53.79, -2.53, 129.9, 2, 0)
  42. MovementLoopAddLocation(NPC, -50.83, -2.54, 135.83, 2, 0)
  43. MovementLoopAddLocation(NPC, -50.74, -2.67, 149.16, 2, math.random(10,15))
  44. MovementLoopAddLocation(NPC, -50.74, -2.67, 149.16, 2, 0)
  45. end