12345678910111213141516171819202122232425 |
- --[[
- Script Name : SpawnScripts/Classic_forest/SornCopperholdsRemains.lua
- Script Author : Dorbin
- Script Date : 2022.10.18 04:10:29
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton1.lua")
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC, Spawn)
- dmgMod = GetStr(NPC)/10
- Named(NPC)
- SetSpawnAnimation(NPC, 13016)
- 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)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|