24 lines
No EOL
659 B
Lua
Executable file
24 lines
No EOL
659 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/TheSprawl_Classic/TheGreatShivo.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2023.11.26 12:11:35
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
dofile("SpawnScripts/Generic/MonsterCallouts/BlackMagi.lua")
|
|
|
|
function spawn(NPC)
|
|
dmgMod = GetStr(NPC)/10
|
|
SetInfoStructUInt(NPC, "override_primary_weapon", 1)
|
|
SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(11 + dmgMod))
|
|
SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(21 + dmgMod))
|
|
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |