9
3

TarkSearfang.lua 689 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/Antonica/TarkSearfang.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.15 07:07:09
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/DarkpawGnoll1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. dmgMod = GetStr(NPC)/10
  12. Named(NPC)
  13. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  14. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(24 + dmgMod))
  15. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(42 + dmgMod))
  16. end
  17. function hailed(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end