TinshenBrinthsRemains.lua 672 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/TinshenBrinthsRemains.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.17 01:10:57
  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(18 + dmgMod))
  14. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(32 + dmgMod))
  15. end
  16. function hailed(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end