123456789101112131415161718192021222324252627282930313233 |
- --[[
- Script Name : SpawnScripts/Commonlands/LucanicKnightInitiate.lua
- Script Author : Premierio015
- Script Date : 2021.05.30 07:05:45
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- dmgMod = GetStr(NPC)/10
- SetInfoStructUInt(NPC, "override_primary_weapon", 1)
- SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(55 + dmgMod))
- SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(95 + dmgMod))
- AddTimer(NPC, 3200, "call", "", Spawn)
- SetAggroRadius(NPC, 20)
- end
- function call(NPC, Spawn)
- PlayFlavor(NPC, "voiceover/english/lucanic_knight_initiate/commonlands/quest/019_quest_lucanic_knight_initiate_shoutout_4eabbb23.mp3", "This time there will be no escape! Your kind is extinct and you will join them soon!", "", 135976742, 4023420058, Spawn)
- end
- function attacked(NPC, Spawn)
- PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_aggro_gm_a30c4f9d.mp3", "To Arms!", "", 1238020980, 748146443, Spawn)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- spawn(NPC)
- end
|