9
3

aBrokentuskpawnPath1.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aBrokentuskpawnPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.07.10 11:07:00
  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, -57.01, -2.67, 149.23, 2, math.random(10,15))
  25. MovementLoopAddLocation(NPC, -57.01, -2.67, 149.23, 2, 0)
  26. MovementLoopAddLocation(NPC, -48.26, -2.56, 137.92, 2, math.random(10,15))
  27. MovementLoopAddLocation(NPC, -48.26, -2.56, 137.92, 2, 0)
  28. MovementLoopAddLocation(NPC, -60.21, -2.67, 159.33, 2, math.random(10,15))
  29. MovementLoopAddLocation(NPC, -60.21, -2.67, 159.33, 2, 0)
  30. MovementLoopAddLocation(NPC, -60.84, -2.52, 142.45, 2, math.random(10,15))
  31. MovementLoopAddLocation(NPC, -60.84, -2.52, 142.45, 2, 0)
  32. MovementLoopAddLocation(NPC, -60.64, -2.54, 144.59, 2, 0)
  33. MovementLoopAddLocation(NPC, -46.77, -2.59, 145.59, 2, math.random(10,15))
  34. MovementLoopAddLocation(NPC, -46.77, -2.59, 145.59, 2, 0)
  35. MovementLoopAddLocation(NPC, -50.22, -2.67, 146.25, 2, 0)
  36. MovementLoopAddLocation(NPC, -53.32, -2.67, 154.03, 2, math.random(10,15))
  37. MovementLoopAddLocation(NPC, -53.32, -2.67, 154.03, 2, 0)
  38. MovementLoopAddLocation(NPC, -57.61, -2.67, 153.46, 2, 0)
  39. end