71 lines
3 KiB
Lua
Executable file
71 lines
3 KiB
Lua
Executable file
--[[
|
|
Script Name : tomb_guard5.lua
|
|
Script Purpose : Waypoint Path for tomb_guard5.lua
|
|
Script Author : Devn00b
|
|
Script Date : 06/19/2020 01:50:53 AM
|
|
Script Notes : Locations collected from Live
|
|
--]]
|
|
|
|
function spawn(NPC)
|
|
local Level = GetLevel(NPC)
|
|
local level1 =15
|
|
local level2 = 16
|
|
local difficulty1 = 2
|
|
local hp1 = 290
|
|
local power1 = 100
|
|
local difficulty2 = 2
|
|
local hp2 = 345
|
|
local power2 = 110
|
|
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, 68, 0.23, -15.84, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 65.43, -0.03, -20.78, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 70.29, 0.06, -16.62, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.1, -0.03, -18.77, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 66.33, -0.09, -19.62, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 70.13, 0.21, -15.31, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68.65, 0.04, -20.28, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 70.24, 0.04, -17.31, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.44, 0.02, -17.32, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.41, 0, -19.66, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68.96, -0.03, -19.04, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 66.48, -0.07, -19.77, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68.37, 0.25, -15.82, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 66.53, 0.3, -15.26, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.53, -0.01, -17.95, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 66.53, 0.3, -15.26, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68.37, 0.25, -15.82, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 66.48, -0.07, -19.77, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68.96, -0.03, -19.04, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.41, 0, -19.66, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.44, 0.02, -17.32, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 70.24, 0.04, -17.31, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68.65, 0.04, -20.28, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 70.13, 0.21, -15.31, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 66.33, -0.09, -19.62, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 71.1, -0.03, -18.77, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 70.29, 0.06, -16.62, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 65.43, -0.03, -20.78, 2, math.random(0,15))
|
|
MovementLoopAddLocation(NPC, 68, 0.23, -15.84, 2, math.random(0,15))
|
|
end
|
|
|
|
|