9
3

TinshenBrinthsRemains.lua 737 B

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