EQ2EMu/server/SpawnScripts/VerminSnye/tomb_vermin7.lua
2022-10-16 17:40:14 +00:00

93 lines
3.9 KiB
Lua
Executable file

--[[
Script Name : tomb_vermin7.lua
Script Purpose : Waypoint Path for tomb_vermin7.lua
Script Author : Devn00b
Script Date : 06/12/2020 03:49:42 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, 5.41, -0.08, -197.78, 2, 0)
MovementLoopAddLocation(NPC, 8.61, -0.08, -180.95, 2, 0)
MovementLoopAddLocation(NPC, 10.16, -0.08, -195.36, 2, 0)
MovementLoopAddLocation(NPC, 16.5, -0.08, -201.82, 2, 0)
MovementLoopAddLocation(NPC, 24.72, -0.08, -205, 2, 0)
MovementLoopAddLocation(NPC, 27.42, -0.08, -201.27, 2, 0)
MovementLoopAddLocation(NPC, 25.84, -0.08, -195.46, 2, 0)
MovementLoopAddLocation(NPC, 35.36, -0.09, -189.44, 2, 0)
MovementLoopAddLocation(NPC, 41.25, -0.08, -196.01, 2, 0)
MovementLoopAddLocation(NPC, 46.02, -0.08, -194.37, 2, 0)
MovementLoopAddLocation(NPC, 51.89, -0.08, -188.7, 2, 0)
MovementLoopAddLocation(NPC, 46.14, -0.08, -184.46, 2, 0)
MovementLoopAddLocation(NPC, 46.55, -0.08, -178.82, 2, 0)
MovementLoopAddLocation(NPC, 48.43, -0.08, -171.77, 2, 0)
MovementLoopAddLocation(NPC, 53.28, -0.09, -167.33, 2, 0)
MovementLoopAddLocation(NPC, 55.74, -0.24, -166.78, 2, 0)
MovementLoopAddLocation(NPC, 64.09, -0.26, -166.39, 2, 0)
MovementLoopAddLocation(NPC, 77.94, -0.44, -166.68, 2, 0)
MovementLoopAddLocation(NPC, 93.65, -0.08, -167.63, 2, 0)
MovementLoopAddLocation(NPC, 100.4, -0.08, -180.03, 2, 0)
MovementLoopAddLocation(NPC, 80.32, -0.08, -181.03, 2, 0)
MovementLoopAddLocation(NPC, 80.6, -0.08, -159.32, 2, 0)
MovementLoopAddLocation(NPC, 92, -0.08, -159.17, 2, 0)
MovementLoopAddLocation(NPC, 98.18, -0.08, -174.25, 2, 0)
MovementLoopAddLocation(NPC, 97.84, -0.08, -174.18, 2, 0)
MovementLoopAddLocation(NPC, 85.24, -0.08, -157.37, 2, 0)
MovementLoopAddLocation(NPC, 97.84, -0.08, -174.18, 2, 0)
MovementLoopAddLocation(NPC, 98.18, -0.08, -174.25, 2, 0)
MovementLoopAddLocation(NPC, 92, -0.08, -159.17, 2, 0)
MovementLoopAddLocation(NPC, 80.6, -0.08, -159.32, 2, 0)
MovementLoopAddLocation(NPC, 80.32, -0.08, -181.03, 2, 0)
MovementLoopAddLocation(NPC, 100.4, -0.08, -180.03, 2, 0)
MovementLoopAddLocation(NPC, 93.65, -0.08, -167.63, 2, 0)
MovementLoopAddLocation(NPC, 77.94, -0.44, -166.68, 2, 0)
MovementLoopAddLocation(NPC, 64.09, -0.26, -166.39, 2, 0)
MovementLoopAddLocation(NPC, 55.74, -0.24, -166.78, 2, 0)
MovementLoopAddLocation(NPC, 53.28, -0.09, -167.33, 2, 0)
MovementLoopAddLocation(NPC, 48.43, -0.08, -171.77, 2, 0)
MovementLoopAddLocation(NPC, 46.55, -0.08, -178.82, 2, 0)
MovementLoopAddLocation(NPC, 46.14, -0.08, -184.46, 2, 0)
MovementLoopAddLocation(NPC, 51.89, -0.08, -188.7, 2, 0)
MovementLoopAddLocation(NPC, 46.02, -0.08, -194.37, 2, 0)
MovementLoopAddLocation(NPC, 41.25, -0.08, -196.01, 2, 0)
MovementLoopAddLocation(NPC, 35.36, -0.09, -189.44, 2, 0)
MovementLoopAddLocation(NPC, 25.84, -0.08, -195.46, 2, 0)
MovementLoopAddLocation(NPC, 27.42, -0.08, -201.27, 2, 0)
MovementLoopAddLocation(NPC, 24.72, -0.08, -205, 2, 0)
MovementLoopAddLocation(NPC, 16.5, -0.08, -201.82, 2, 0)
MovementLoopAddLocation(NPC, 10.16, -0.08, -195.36, 2, 0)
MovementLoopAddLocation(NPC, 8.61, -0.08, -180.95, 2, 0)
MovementLoopAddLocation(NPC, 5.41, -0.08, -197.78, 2, 0)
end