TheKeeperofEthernere.lua 844 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/TheGraveyard_Classic/TheKeeperofEthernere.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.08.29 05:08:51
  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(18 + dmgMod))
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(32 + dmgMod))
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1034.mp3", "We watch over those you have not yet passed on to the Ethernere.", "orate", 0, 0, Spawn, 0)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end