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

24 lines
No EOL
666 B
Lua

--[[
Script Name : SpawnScripts/ThunderingSteppes/Shadowdash.lua
Script Author : LordPazuzu
Script Date : 2024.08.29 01:08:19
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(135 + dmgMod))
SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(275 + dmgMod))
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
end
function respawn(NPC)
spawn(NPC)
end