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

22 lines
No EOL
593 B
Lua

--[[
Script Name : SpawnScripts/ADecrepitCrypt/LyniaSteelbone.lua
Script Author : LordPazuzu
Script Date : 2024.02.12 06:02:34
Script Purpose :
:
--]]
function spawn(NPC)
dmgMod = GetStr(NPC)/10
SetInfoStructUInt(NPC, "override_primary_weapon", 1)
SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(24 + dmgMod))
SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(42 + dmgMod))
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
end
function respawn(NPC)
spawn(NPC)
end