1234567891011121314151617181920212223242526272829 |
- --[[
- Script Name : SpawnScripts/IsleRefuge1/aSiegePlanner.lua
- Script Author : Dorbin
- Script Date : 2022.09.29 12:09:09
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin3.lua")
- 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", 4 + dmgMod)
- SetInfoStructUInt(NPC, "primary_weapon_damage_high", 10 + 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
|