123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- --[[
- Script Name : forager.lua
- Script Purpose : Waypoint Path for forager.lua
- Script Author : Devn00b
- Script Date : 04/28/2020 03:23:58 PM
- Script Notes : Locations collected from Live
- --]]
- function spawn(NPC)
- local Level = GetLevel(NPC)
- local level1 = 6
- local level2 = 7
- local difficulty1 = 6
- local hp1 = 150
- local power1 = 150
- local difficulty2 = 6
- local hp2 = 215
- local power2 = 215
- 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, -98.11, -0.08, -124.37, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -84.68, -0.08, -137.39, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -87.42, -0.13, -142.06, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -77.08, -0.1, -131.49, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -80.02, -0.09, -125.69, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -84.96, -0.07, -119.83, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -84.76, -0.11, -111.47, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -76.65, -0.11, -107.08, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -75.01, -0.11, -103.67, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -66.76, -0.11, -96.59, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -60.48, -0.06, -95.76, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -58.6, -0.11, -92.84, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -58.41, 0.53, -89.35, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -57.42, -0.06, -79.42, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -54.06, -0.09, -75.93, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -57.42, -0.06, -79.42, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -58.41, 0.53, -89.35, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -58.6, -0.11, -92.84, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -60.48, -0.06, -95.76, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -66.76, -0.11, -96.59, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -75.01, -0.11, -103.67, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -76.65, -0.11, -107.08, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -84.76, -0.11, -111.47, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -84.96, -0.07, -119.83, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -80.02, -0.09, -125.69, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -77.08, -0.1, -131.49, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -87.42, -0.13, -142.06, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -84.68, -0.08, -137.39, 2, math.random(0,20))
- MovementLoopAddLocation(NPC, -98.11, -0.08, -124.37, 2, math.random(0,20))
- end
|