9
3

KendallCopperholdsRemains.lua 741 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/KendallCopperholdsRemains.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.17 01:10:41
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseSkeleton1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. SetSpawnAnimation(NPC, 13016)
  12. dmgMod = GetStr(NPC)/10
  13. Named(NPC)
  14. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  15. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(15 + dmgMod))
  16. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(26 + dmgMod))
  17. end
  18. function hailed(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end