9
3

TheRevenantofPrexus.lua 699 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/SunkenCity_Classic/TheRevenantofPrexus.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.22 04:10:16
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseZombie1.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(16 + dmgMod))
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(28 + dmgMod))
  14. SetSpawnAnimation(NPC, 13016)
  15. end
  16. function hailed(NPC, Spawn)
  17. Attack(NPC,Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end