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

79 lines
3 KiB
Lua
Executable file

--[[
Script Name : shriller.lua
Script Purpose : Waypoint Path for shriller.lua
Script Author : Devn00b
Script Date : 06/24/2020 03:07:20 PM
Script Notes : Locations collected from Live
--]]
function spawn(NPC)
local Level = GetLevel(NPC)
local level1 =13
local level2 = 14
local difficulty1 = 6
local hp1 = 680
local power1 = 205
local difficulty2 = 6
local hp2 = 795
local power2 = 240
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, 131.65, -0.02, -139.99, 2, 0)
MovementLoopAddLocation(NPC, 128.88, -0.05, -132.15, 2, 0)
MovementLoopAddLocation(NPC, 120.2, 0, -120.19, 2, 0)
MovementLoopAddLocation(NPC, 119.89, 0.11, -110.36, 2, 0)
MovementLoopAddLocation(NPC, 110.33, -1.25, -104.6, 2, 0)
MovementLoopAddLocation(NPC, 107.84, -1.99, -98.9, 2, 0)
MovementLoopAddLocation(NPC, 109.74, -3.08, -92.5, 2, 0)
MovementLoopAddLocation(NPC, 114.92, -4.18, -87.02, 2, 0)
MovementLoopAddLocation(NPC, 121.03, -4.94, -85.85, 2, 0)
MovementLoopAddLocation(NPC, 127.89, -6.03, -89.68, 2, 0)
MovementLoopAddLocation(NPC, 131.61, -6.92, -97.63, 2, 0)
MovementLoopAddLocation(NPC, 144.02, -6.98, -97.6, 2, 0)
MovementLoopAddLocation(NPC, 157.18, -6.36, -108.01, 2, 0)
MovementLoopAddLocation(NPC, 184.75, -7.16, -109.31, 2, 0)
MovementLoopAddLocation(NPC, 199.62, -6.91, -122.95, 2, 0)
MovementLoopAddLocation(NPC, 208.14, -6.97, -119.15, 2, 0)
MovementLoopAddLocation(NPC, 222.82, -6.85, -102.44, 2, 0)
MovementLoopAddLocation(NPC, 222.07, -6.89, -90.91, 2, 0)
MovementLoopAddLocation(NPC, 235.22, -6.86, -92.23, 2, 0)
MovementLoopAddLocation(NPC, 222.07, -6.89, -90.91, 2, 0)
MovementLoopAddLocation(NPC, 222.82, -6.85, -102.44, 2, 0)
MovementLoopAddLocation(NPC, 208.14, -6.97, -119.15, 2, 0)
MovementLoopAddLocation(NPC, 199.62, -6.91, -122.95, 2, 0)
MovementLoopAddLocation(NPC, 184.75, -7.16, -109.31, 2, 0)
MovementLoopAddLocation(NPC, 157.18, -6.36, -108.01, 2, 0)
MovementLoopAddLocation(NPC, 144.02, -6.98, -97.6, 2, 0)
MovementLoopAddLocation(NPC, 131.61, -6.92, -97.63, 2, 0)
MovementLoopAddLocation(NPC, 127.89, -6.03, -89.68, 2, 0)
MovementLoopAddLocation(NPC, 121.03, -4.94, -85.85, 2, 0)
MovementLoopAddLocation(NPC, 114.92, -4.18, -87.02, 2, 0)
MovementLoopAddLocation(NPC, 109.74, -3.08, -92.5, 2, 0)
MovementLoopAddLocation(NPC, 107.84, -1.99, -98.9, 2, 0)
MovementLoopAddLocation(NPC, 110.33, -1.25, -104.6, 2, 0)
MovementLoopAddLocation(NPC, 119.89, 0.11, -110.36, 2, 0)
MovementLoopAddLocation(NPC, 120.2, 0, -120.19, 2, 0)
MovementLoopAddLocation(NPC, 128.88, -0.05, -132.15, 2, 0)
MovementLoopAddLocation(NPC, 131.65, -0.02, -139.99, 2, 0)
end