12345678910111213141516171819202122232425 |
- --[[
- Script Name : SpawnScripts/Antonica/AnimatorRotpaw.lua
- Script Author : LordPazuzu
- Script Date : 2024.03.13 12:03:50
- 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(45 + dmgMod))
- SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(90 + dmgMod))
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|