TheBonewatcher.lua 758 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/TheGraveyard_Classic/TheBonewatcher.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.08.29 12:08:47
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGolem1.lua")
  9. function spawn(NPC)
  10. dmgMod = GetStr(NPC)/10
  11. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  12. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(24 + dmgMod))
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(42 + dmgMod))
  14. end
  15. function hail(NPC,Spawn)
  16. SendMessage(NPC,"The Bonewatcher stares in your general direction... Almost as if it is looking through you.","white")
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end