mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
37 lines
No EOL
854 B
Lua
Executable file
37 lines
No EOL
854 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/DownBelow/atombrifterpest.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2022.04.24 06:04:32
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function spawn(NPC)
|
|
local Level = GetLevel(NPC)
|
|
local level1 = 7
|
|
local level2 = 8
|
|
local difficulty1 = 6
|
|
local hp1 = 200
|
|
local power1 = 90
|
|
local difficulty2 = 6
|
|
local hp2 = 240
|
|
local power2 = 100
|
|
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 |