eq2emu-content/SpawnScripts/ThunderingSteppes/Venepede.lua
2024-11-27 21:51:02 +00:00

25 lines
No EOL
670 B
Lua

--[[
Script Name : SpawnScripts/ThunderingSteppes/Venepede.lua
Script Author : LordPazuzu
Script Date : 2024.11.24 05:11:25
Script Purpose :
:
--]]
require "SpawnScripts/Generic/NPCModule"
function spawn(NPC, Spawn)
Named(NPC, Spawn)
dmgMod = GetStr(NPC)/10
SetInfoStructUInt(NPC, "override_primary_weapon", 1)
SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(140 + dmgMod))
SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(300 + dmgMod))
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
end
function respawn(NPC)
spawn(NPC)
end