eq2emu-content/SpawnScripts/DownBelow/burrowerStatic.lua
2024-10-26 11:37:28 +00:00

39 lines
No EOL
858 B
Lua
Executable file

--[[
Script Name : SpawnScripts/DownBelow/burrowerStatic.lua
Script Author : LordPazuzu
Script Date : 2022.11.08 11:11:24
Script Purpose :
:
--]]
function spawn(NPC)
local Level = GetLevel(NPC)
local level1 = 5
local level2 = 6
local difficulty1 = 6
local hp1 = 130
local power1 = 65
local difficulty2 = 6
local hp2 = 150
local power2 = 80
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
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
end
function respawn(NPC)
spawn(NPC)
end