25 lines
No EOL
687 B
Lua
25 lines
No EOL
687 B
Lua
--[[
|
|
Script Name : SpawnScripts/Commonlands/GeneralVharTaug.lua
|
|
Script Author : LordPazuzu
|
|
Script Date : 2024.01.21 11:01:49
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
require "SpawnScripts/Generic/NPCModule"
|
|
|
|
function spawn(NPC, Spawn)
|
|
dmgMod = GetStr(NPC)/10
|
|
SetInfoStructUInt(NPC, "override_primary_weapon", 1)
|
|
SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(65 + dmgMod))
|
|
SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(105 + dmgMod))
|
|
Bloodskull(NPC)
|
|
OrcChainCommon(NPC)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |