123456789101112131415161718192021222324252627282930313233343536373839 |
- --[[
- 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")
- 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)
- 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]]--
-
|