9
3

aBrokentuskpawnPath2.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aBrokentuskpawnPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.07.10 11:07:42
  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, -62.59, -2.66, 162.4, 2, math.random(10,15))
  25. MovementLoopAddLocation(NPC, -62.59, -2.66, 162.4, 2, 0)
  26. MovementLoopAddLocation(NPC, -57.18, -2.67, 154.81, 2, math.random(10,15))
  27. MovementLoopAddLocation(NPC, -57.18, -2.67, 154.81, 2, 0)
  28. MovementLoopAddLocation(NPC, -53.15, -2.67, 158.69, 2, math.random(10,15))
  29. MovementLoopAddLocation(NPC, -53.15, -2.67, 158.69, 2, 0)
  30. MovementLoopAddLocation(NPC, -57.11, -2.67, 152.18, 2, 0)
  31. MovementLoopAddLocation(NPC, -56.11, -2.67, 143.97, 2, math.random(10,15))
  32. MovementLoopAddLocation(NPC, -56.11, -2.67, 143.97, 2, 0)
  33. MovementLoopAddLocation(NPC, -55.91, -2.67, 148.18, 2, 0)
  34. MovementLoopAddLocation(NPC, -52.19, -2.67, 150.71, 2, math.random(10,15))
  35. MovementLoopAddLocation(NPC, -52.19, -2.67, 150.71, 2, 0)
  36. MovementLoopAddLocation(NPC, -62.54, -2.67, 154.17, 2, math.random(10,15))
  37. MovementLoopAddLocation(NPC, -62.54, -2.67, 154.17, 2, 0)
  38. MovementLoopAddLocation(NPC, -60.57, -2.67, 155.83, 2, 0)
  39. MovementLoopAddLocation(NPC, -57.74, -2.67, 161.5, 2, math.random(10,15))
  40. MovementLoopAddLocation(NPC, -57.74, -2.67, 161.5, 2, 0)
  41. MovementLoopAddLocation(NPC, -61.98, -2.55, 165.18, 2, 0)
  42. end