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

57 lines
1.8 KiB
Lua
Executable file

--[[
Script Name : grave_scorpius2.lua
Script Purpose : Waypoint Path for grave_scorpius2.lua
Script Author : Devn00b
Script Date : 06/24/2020 02:58:46 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, 119.31, 0.02, -118.19, 2, 0)
MovementLoopAddLocation(NPC, 124.43, 0.1, -128.55, 2, 0)
MovementLoopAddLocation(NPC, 131.37, -0.09, -138.61, 2, 0)
MovementLoopAddLocation(NPC, 129.86, 0.49, -155.9, 2, 0)
MovementLoopAddLocation(NPC, 129.33, -0.01, -162.91, 2, 0)
MovementLoopAddLocation(NPC, 128.54, -0.01, -165.56, 2, 0)
MovementLoopAddLocation(NPC, 118.72, 0.64, -167.32, 2, 0)
MovementLoopAddLocation(NPC, 106.4, -0.06, -173.35, 2, 0)
MovementLoopAddLocation(NPC, 118.72, 0.64, -167.32, 2, 0)
MovementLoopAddLocation(NPC, 128.54, -0.01, -165.56, 2, 0)
MovementLoopAddLocation(NPC, 129.33, -0.01, -162.91, 2, 0)
MovementLoopAddLocation(NPC, 129.86, 0.49, -155.9, 2, 0)
MovementLoopAddLocation(NPC, 131.37, -0.09, -138.61, 2, 0)
MovementLoopAddLocation(NPC, 124.43, 0.1, -128.55, 2, 0)
MovementLoopAddLocation(NPC, 119.31, 0.02, -118.19, 2, 0)
end