GeneralDrull.lua 703 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/BloodSkullValleyMaulicsStronghold/GeneralDrull.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.23 10:01:55
  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(55 + dmgMod))
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(95 + dmgMod))
  14. Bloodskull(NPC)
  15. OrcChainCommon(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end