123456789101112131415161718192021222324 |
- --[[
- Script Name : SpawnScripts/DownBelow_Classic/TheCryptProtector.lua
- Script Author : LordPazuzu
- Script Date : 2023.10.16 03:10:35
- Script Purpose :
- :
- --]]
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC, Spawn)
- dmgMod = GetStr(NPC)/10
- Named(NPC)
- SetInfoStructUInt(NPC, "override_primary_weapon", 1)
- SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(15 + dmgMod))
- SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(26 + dmgMod))
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|