9
3

festering_zombie11.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : festering_zombie11.lua
  3. Script Purpose : Waypoint Path for festering_zombie11.lua
  4. Script Author : Devn00b
  5. Script Date : 06/30/2020 09:56:27 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local Level = GetLevel(NPC)
  10. local level1 =14
  11. local level2 = 15
  12. local difficulty1 = 6
  13. local hp1 = 795
  14. local power1 = 240
  15. local difficulty2 = 6
  16. local hp2 = 920
  17. local power2 = 270
  18. if Level == level1 then
  19. SpawnSet(NPC, "difficulty", difficulty1)
  20. SpawnSet(NPC, "hp", hp1)
  21. SpawnSet(NPC, "power", power1)
  22. elseif Level == level2
  23. then
  24. SpawnSet(NPC, "difficulty", difficulty2)
  25. SpawnSet(NPC, "hp", hp2)
  26. SpawnSet(NPC, "power", power2)
  27. end
  28. waypoints(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. end
  33. function respawn(NPC)
  34. end
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, 212.03, -6.97, -198.74, 2, 1)
  37. MovementLoopAddLocation(NPC, 212.19, -6.97, -203.6, 2, math.random(0,8))
  38. MovementLoopAddLocation(NPC, 214.53, -6.97, -200.84, 2, math.random(0,8))
  39. MovementLoopAddLocation(NPC, 210.23, -6.97, -203.3, 2, math.random(0,8))
  40. MovementLoopAddLocation(NPC, 212.94, -6.81, -203.56, 2, math.random(0,8))
  41. MovementLoopAddLocation(NPC, 210.7, -6.97, -200.48, 2, math.random(0,8))
  42. MovementLoopAddLocation(NPC, 214.54, -6.97, -200.38, 2, math.random(0,8))
  43. MovementLoopAddLocation(NPC, 211.68, -6.97, -202.09, 2, math.random(0,8))
  44. MovementLoopAddLocation(NPC, 212.06, -6.97, -199.32, 2, math.random(0,8))
  45. MovementLoopAddLocation(NPC, 212.45, -6.97, -203.72, 2, math.random(0,8))
  46. MovementLoopAddLocation(NPC, 212.06, -6.97, -199.32, 2, math.random(0,8))
  47. MovementLoopAddLocation(NPC, 211.68, -6.97, -202.09, 2, math.random(0,8))
  48. MovementLoopAddLocation(NPC, 214.54, -6.97, -200.38, 2, math.random(0,8))
  49. MovementLoopAddLocation(NPC, 210.7, -6.97, -200.48, 2, math.random(0,8))
  50. MovementLoopAddLocation(NPC, 212.94, -6.81, -203.56, 2, math.random(0,8))
  51. MovementLoopAddLocation(NPC, 210.23, -6.97, -203.3, 2, math.random(0,8))
  52. MovementLoopAddLocation(NPC, 214.53, -6.97, -200.84, 2, math.random(0,8))
  53. MovementLoopAddLocation(NPC, 212.19, -6.97, -203.6, 2, math.random(0,8))
  54. MovementLoopAddLocation(NPC, 212.03, -6.97, -198.74, 2, math.random(0,8))
  55. end