12345678910111213141516171819202122232425262728 |
- --[[
- Script Name : SpawnScripts/IsleRefuge1/anAlphaWolf.lua
- Script Author : LordPazuzu
- Script Date : 2023.03.09 09:03:20
- Script Purpose :
- :
- --]]
- require "SpawnScripts/Generic/NPCModule"
- function spawn(NPC)
- local dmgMod = GetStr(NPC)/10
- Named(NPC)
- SetInfoStructUInt(NPC, "override_primary_weapon", 1)
- SetInfoStructUInt(NPC, "primary_weapon_damage_low", 5 + dmgMod)
- SetInfoStructUInt(NPC, "primary_weapon_damage_high", 11 + dmgMod)
- SetInfoStructUInt(NPC, "hp_regen_override", 1)
- SetInfoStructSInt(NPC, "hp_regen", 0)
- SetInfoStructUInt(NPC, "pw_regen_override", 1)
- SetInfoStructSInt(NPC, "pw_regen", 0)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|