9
3

KendallCopperholdsRemains.lua 676 B

1234567891011121314151617181920212223
  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. function spawn(NPC)
  10. SetSpawnAnimation(NPC, 13016)
  11. dmgMod = GetStr(NPC)/10
  12. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(15 + dmgMod))
  14. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(26 + dmgMod))
  15. end
  16. function hailed(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end