12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- --[[
- Script Name : crawler_hatchling12.lua
- Script Purpose : Waypoint Path for crawler_hatchling12.lua
- Script Author : Devn00b
- Script Date : 05/14/2020 02:00:04 AM
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 6
- local level2 = 5
- local difficulty1 = 6
- local hp1 = 150
- local power1 = 150
- local difficulty2 = 6
- local hp2 = 130
- local power2 = 130
- 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)
- waypoints(NPC)
- end
- function waypoints(NPC)
- MovementLoopAddLocation(NPC, -160.24, -0.08, -94.26, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -155.9, -0.06, -97.09, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -150.12, -0.01, -94.01, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -152.65, -0.04, -91.21, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -152.4, -0.09, -87.48, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -147.3, -0.01, -88.49, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -143.49, -0.08, -78.58, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -146.05, -0.1, -77.6, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -144.78, -0.08, -74.31, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -141.76, -0.08, -75.13, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -146.77, -0.08, -72.33, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -145.39, -0.08, -73.91, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -145.31, -0.08, -75.92, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -148.67, -0.14, -82.22, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -150.86, -0.05, -81.04, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -161.26, -0.22, -76.24, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -167.44, -0.24, -72.35, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -166.94, -0.22, -75.62, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -157.94, -0.07, -82.4, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -151.22, -0.06, -84.44, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -157.94, -0.07, -82.4, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -166.94, -0.22, -75.62, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -167.44, -0.24, -72.35, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -161.26, -0.22, -76.24, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -150.86, -0.05, -81.04, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -148.67, -0.14, -82.22, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -145.31, -0.08, -75.92, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -145.39, -0.08, -73.91, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -146.77, -0.08, -72.33, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -141.76, -0.08, -75.13, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -144.78, -0.08, -74.31, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -146.05, -0.1, -77.6, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -143.49, -0.08, -78.58, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -147.3, -0.01, -88.49, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -152.4, -0.09, -87.48, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -152.65, -0.04, -91.21, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -150.12, -0.01, -94.01, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -155.9, -0.06, -97.09, 2, math.random(0,5))
- MovementLoopAddLocation(NPC, -160.24, -0.08, -94.26, 2, math.random(0,5))
- end
|