--[[ Script Name : tomb_vermin6_1.lua Script Purpose : Waypoint Path for tomb_vermin6_1.lua Script Author : Devn00b Script Date : 06/12/2020 12:32:51 AM Script Notes : Locations collected from Live --]] function spawn(NPC) local Level = GetLevel(NPC) local level1 =15 local level2 = 16 local difficulty1 = 6 local hp1 = 920 local power1 = 270 local difficulty2 = 6 local hp2 = 1045 local power2 = 310 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) end function waypoints(NPC) MovementLoopAddLocation(NPC, 29.24, 1.22, -141.04, 2, 0) MovementLoopAddLocation(NPC, 27.81, 1.21, -148.02, 2, 0) MovementLoopAddLocation(NPC, 26.15, 0.03, -150.87, 2, 0) MovementLoopAddLocation(NPC, 26.52, -0.11, -160.94, 2, 0) MovementLoopAddLocation(NPC, 48.48, -0.09, -160.25, 2, 0) MovementLoopAddLocation(NPC, 26.37, -0.13, -161.08, 2, 0) MovementLoopAddLocation(NPC, 25.45, 1.21, -148.16, 2, 0) MovementLoopAddLocation(NPC, 17.43, 1.21, -147.37, 2, 0) MovementLoopAddLocation(NPC, 14.73, 1.21, -141.06, 2, 0) MovementLoopAddLocation(NPC, 19.37, 1.21, -140.52, 2, 0) MovementLoopAddLocation(NPC, 22.65, 1.21, -145.49, 2, 0) MovementLoopAddLocation(NPC, 19.54, 1.21, -147.18, 2, 0) MovementLoopAddLocation(NPC, 26.28, 1.21, -143.52, 2, 0) MovementLoopAddLocation(NPC, 29.72, 1.21, -148.68, 2, 0) MovementLoopAddLocation(NPC, 17.75, 1.21, -142.32, 2, 0) MovementLoopAddLocation(NPC, 21.16, 1.21, -139.11, 2, 0) MovementLoopAddLocation(NPC, 26.35, 1.21, -143.24, 2, 0) MovementLoopAddLocation(NPC, 31.67, 1.22, -139.27, 2, 0) MovementLoopAddLocation(NPC, 33.41, 1.22, -140.85, 2, 0) MovementLoopAddLocation(NPC, 30.83, 1.22, -140.91, 2, 0) MovementLoopAddLocation(NPC, 29.42, 1.22, -138.08, 2, 0) MovementLoopAddLocation(NPC, 32.88, 1.22, -141.6, 2, 0) MovementLoopAddLocation(NPC, 32.79, 1.22, -147.33, 2, 0) MovementLoopAddLocation(NPC, 29.49, 1.21, -146.95, 2, 0) MovementLoopAddLocation(NPC, 26.48, 1.21, -143.26, 2, 0) MovementLoopAddLocation(NPC, 20.82, 1.21, -149.31, 2, 0) MovementLoopAddLocation(NPC, 15.85, 1.21, -150.57, 2, 0) MovementLoopAddLocation(NPC, 14.49, 0.5, -146.69, 2, 0) MovementLoopAddLocation(NPC, 14.38, 1.48, -140.65, 2, 0) MovementLoopAddLocation(NPC, 13.19, 1.21, -139.41, 2, 0) MovementLoopAddLocation(NPC, 19.36, 1.21, -138.34, 2, 0) MovementLoopAddLocation(NPC, 13.19, 1.21, -139.41, 2, 0) MovementLoopAddLocation(NPC, 14.38, 1.48, -140.65, 2, 0) MovementLoopAddLocation(NPC, 14.49, 0.5, -146.69, 2, 0) MovementLoopAddLocation(NPC, 15.85, 1.21, -150.57, 2, 0) MovementLoopAddLocation(NPC, 20.82, 1.21, -149.31, 2, 0) MovementLoopAddLocation(NPC, 26.48, 1.21, -143.26, 2, 0) MovementLoopAddLocation(NPC, 29.49, 1.21, -146.95, 2, 0) MovementLoopAddLocation(NPC, 32.79, 1.22, -147.33, 2, 0) MovementLoopAddLocation(NPC, 32.88, 1.22, -141.6, 2, 0) MovementLoopAddLocation(NPC, 29.42, 1.22, -138.08, 2, 0) MovementLoopAddLocation(NPC, 30.83, 1.22, -140.91, 2, 0) MovementLoopAddLocation(NPC, 33.41, 1.22, -140.85, 2, 0) MovementLoopAddLocation(NPC, 31.67, 1.22, -139.27, 2, 0) MovementLoopAddLocation(NPC, 26.35, 1.21, -143.24, 2, 0) MovementLoopAddLocation(NPC, 21.16, 1.21, -139.11, 2, 0) MovementLoopAddLocation(NPC, 17.75, 1.21, -142.32, 2, 0) MovementLoopAddLocation(NPC, 29.72, 1.21, -148.68, 2, 0) MovementLoopAddLocation(NPC, 26.28, 1.21, -143.52, 2, 0) MovementLoopAddLocation(NPC, 19.54, 1.21, -147.18, 2, 0) MovementLoopAddLocation(NPC, 22.65, 1.21, -145.49, 2, 0) MovementLoopAddLocation(NPC, 19.37, 1.21, -140.52, 2, 0) MovementLoopAddLocation(NPC, 14.73, 1.21, -141.06, 2, 0) MovementLoopAddLocation(NPC, 17.43, 1.21, -147.37, 2, 0) MovementLoopAddLocation(NPC, 25.45, 1.21, -148.16, 2, 0) MovementLoopAddLocation(NPC, 26.37, -0.13, -161.08, 2, 0) MovementLoopAddLocation(NPC, 48.48, -0.09, -160.25, 2, 0) MovementLoopAddLocation(NPC, 26.52, -0.11, -160.94, 2, 0) MovementLoopAddLocation(NPC, 26.15, 0.03, -150.87, 2, 0) MovementLoopAddLocation(NPC, 27.81, 1.21, -148.02, 2, 0) MovementLoopAddLocation(NPC, 29.24, 1.22, -141.04, 2, 0) end