1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- --[[
- Script Name : burrower2.lua
- Script Purpose : Waypoint Path for burrower2.lua
- Script Author : Devn00b
- Script Date : 05/10/2020 08:37:18 PM
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 5
- local level2 = 6
- local difficulty1 = 6
- local hp1 = 130
- local power1 = 65
- local difficulty2 = 6
- local hp2 = 150
- local power2 = 80
- if Level == level1 then
- SpawnSet(NPC, "difficulty", difficulty1)
- SpawnSet(NPC, "hp", hp1)
- SpawnSet(NPC, "power", power1)
- elseif Level == level2
- then
- SpawnSet(NPC, "difficulty", difficulty2)
- SpawnSet(NPC, "hp", hp2)
- SpawnSet(NPC, "power", power2)
- end
- waypoints(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, 22.83, -1.01, -78.27, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 19.16, -0.77, -78.27, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 23.21, -0.05, -70.15, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 22.46, -0.08, -65.77, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 18.28, -0.05, -65.65, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 13.97, -0.03, -61.43, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 2.71, -0.08, -63.9, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -6.74, -0.04, -53.73, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -9.8, -0.08, -56.98, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -15.43, 0.57, -45.81, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -15.7, -0.07, -39.46, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -9.62, -0.07, -37.85, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -11.42, -0.08, -34.03, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -3.39, -0.08, -33.7, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -3.02, -0.03, -28.31, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 0.13, -0.05, -30.43, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -2.37, -0.07, -22.87, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 2.29, -0.05, -22.54, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 0.05, -0.11, -22.73, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 2.29, -0.05, -22.54, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -2.37, -0.07, -22.87, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 0.13, -0.05, -30.43, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -3.02, -0.03, -28.31, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -3.39, -0.08, -33.7, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -11.42, -0.08, -34.03, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -9.62, -0.07, -37.85, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -15.7, -0.07, -39.46, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -15.43, 0.57, -45.81, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -9.8, -0.08, -56.98, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, -6.74, -0.04, -53.73, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 2.71, -0.08, -63.9, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 13.97, -0.03, -61.43, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 18.28, -0.05, -65.65, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 22.46, -0.08, -65.77, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 23.21, -0.05, -70.15, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 19.16, -0.77, -78.27, 1, math.random(0,2))
- MovementLoopAddLocation(NPC, 22.83, -1.01, -78.27, 1, math.random(0,2))
- end
|