1234567891011121314151617181920212223242526272829303132333435363738394041 |
- --[[
- Script Name : SpawnScripts/IsleRefuge1/HighChieftanKryx.lua
- Script Author : Dorbin
- Script Date : 2022.09.04 01:09:30
- Script Purpose :
- :
- --]]
- dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin3.lua")
- function spawn(NPC)
- local dmgMod = GetStr(NPC)/10
- 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)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- --[[function aggro(NPC)
- Say(NPC,"[NOTE] I should be immune to physical attacks! You need a magic weapon.")
-
- end
- function healthchanged(NPC, Spawn)
-
- if GetHP(NPC) <= GetMaxHP(NPC) * 0.8 then
- Say(NPC,"Ouch!")
- CastSpell(NPC, 5477, 1, NPC)
- end
-
- end]]--
-
|