9
3

agiantvulrichSKULLHAMMERADD.lua 652 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/agiantvulrichSKULLHAMMERADD.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.02.10 09:02:54
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. dmgMod = GetStr(NPC)/10
  11. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  12. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(25 + dmgMod))
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(55 + dmgMod))
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end