1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- --[[
- Script Name : crawler_hatchling11.lua
- Script Purpose : Waypoint Path for crawler_hatchling11.lua
- Script Author : Devn00b
- Script Date : 05/13/2020 02:12:26 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, -110.36, -0.08, -114.52, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -117.78, -0.11, -116.52, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -120.84, 0.58, -120.75, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -125.84, -0.11, -127.61, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -127.81, -0.16, -135.35, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -145.38, -0.15, -137.36, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -154.56, -0.1, -136.81, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -157.56, -0.16, -132.68, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -156.72, 0.37, -107.92, 1, math.random(0,20))
- MovementLoopAddLocation(NPC, -160.47, -0.07, -95.19, 1, math.random(0,20))
- end
|