9
3

aDeepwaterLurker.lua 591 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aDeepwaterLurker.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.02.02 03:02:26
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. dmgMod = GetStr(NPC)/10
  10. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  11. SetInfoStructUInt(NPC, "primary_weapon_damage_low", math.floor(30 + dmgMod))
  12. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(60 + dmgMod))
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end