TheSpiritofValeron.lua 639 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/TheGraveyard_Classic/TheSpiritofValeron.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.08.29 05:08:45
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGhost1.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. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end