--[[ Script Name : tomb_vermin17.lua Script Purpose : Waypoint Path for tomb_vermin17.lua Script Author : Devn00b Script Date : 06/30/2020 09:26:34 PM Script Notes : Locations collected from Live --]] function spawn(NPC) local Level = GetLevel(NPC) local level1 =12 local level2 = 13 local difficulty1 = 6 local hp1 = 550 local power1 = 185 local difficulty2 = 6 local hp2 = 680 local power2 = 205 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, 247.95, -6.86, -155.11, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 248.95, -6.75, -177.27, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 258.16, -7, -192.32, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 255.92, -6.92, -200.91, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 251.32, -6.98, -203.25, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 227.21, -7.05, -203.4, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 212.74, -7.09, -192.57, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 207.82, -7.04, -183.59, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 208.88, -7.01, -172.56, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 200.78, -7.09, -162.63, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 175.23, -6.99, -163.59, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 169.6, -7.02, -175.75, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 168.88, -6.97, -168.93, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 185.07, -7.07, -161.21, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 188.27, -6.99, -166.36, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 197.11, -7.03, -161.38, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 201.65, -7.01, -168.26, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 205.85, -7.06, -165.18, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 212.29, -6.97, -175.82, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 207.5, -6.91, -179.42, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 212.67, -7.03, -186.62, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 210.6, -7.01, -191.78, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 221.89, -7.09, -196.79, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 219, -6.97, -200.27, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 221.89, -7.09, -196.79, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 210.6, -7.01, -191.78, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 212.67, -7.03, -186.62, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 207.5, -6.91, -179.42, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 212.29, -6.97, -175.82, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 205.85, -7.06, -165.18, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 201.65, -7.01, -168.26, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 197.11, -7.03, -161.38, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 188.27, -6.99, -166.36, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 185.07, -7.07, -161.21, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 168.88, -6.97, -168.93, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 169.6, -7.02, -175.75, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 175.23, -6.99, -163.59, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 200.78, -7.09, -162.63, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 208.88, -7.01, -172.56, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 207.82, -7.04, -183.59, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 212.74, -7.09, -192.57, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 227.21, -7.05, -203.4, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 251.32, -6.98, -203.25, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 255.92, -6.92, -200.91, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 258.16, -7, -192.32, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 248.95, -6.75, -177.27, 2, math.random(0,3)) MovementLoopAddLocation(NPC, 247.95, -6.86, -155.11, 2, math.random(0,3)) end