HangmanSantoth.lua 815 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/TheGraveyard_Classic/HangmanSantoth.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.08.29 12:08:11
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseDarkElf1.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 hailed(NPC, Spawn)
  16. PlayFlavor(NPC,"","","tapfoot",0,0,Spawn)
  17. SendMessage(NPC,"The Hangman appears disinterested in your presence. He appears to be waiting for someone or something...","white")
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end