123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- --[[
- Script Name : crawler_hatchling4.lua
- Script Purpose : Waypoint Path for crawler_hatchling4.lua
- Script Author : Devn00b
- Script Date : 05/10/2020 11:04: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, -51.76, -0.09, -67.68, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -44.63, -0.1, -68.94, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -43.95, -0.1, -68.69, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -32.33, -0.06, -73.38, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -29.21, -0.04, -69.8, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -22.74, -0.02, -75.99, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -22.24, -0.04, -78.27, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -20.58, 0.05, -80.16, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -18.21, 0.08, -84.88, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -18.18, -0.02, -87.69, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -13.17, -0.08, -87.15, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -11.91, -0.07, -88.67, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -18.99, 0.11, -91.95, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -15.87, 0.26, -95.79, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -24.37, -0.67, -97.83, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -21.51, -1.07, -101.28, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -29.8, -0.25, -103.04, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -30.76, 0.33, -108.12, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -29.8, -0.25, -103.04, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -21.51, -1.07, -101.28, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -24.37, -0.67, -97.83, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -15.87, 0.26, -95.79, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -18.99, 0.11, -91.95, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -11.91, -0.07, -88.67, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -13.17, -0.08, -87.15, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -18.18, -0.02, -87.69, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -18.21, 0.08, -84.88, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -20.58, 0.05, -80.16, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -22.24, -0.04, -78.27, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -22.74, -0.02, -75.99, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -29.21, -0.04, -69.8, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -32.33, -0.06, -73.38, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -43.95, -0.1, -68.69, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -44.63, -0.1, -68.94, 1, math.random(0,5))
- MovementLoopAddLocation(NPC, -51.76, -0.09, -67.68, 1, math.random(0,5))
- end
|