MasteratArmsVenqruist.lua 682 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/SunkenCity_Classic/MasteratArmsVenqruist.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.17 03:10:45
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGhost1.lua")
  9. function spawn(NPC)
  10. dmgMod = GetStr(NPC)
  11. SetInfoStructUInt(NPC, "override_primary_weapon", 1)
  12. SetInfoStructUInt(NPC, "primary_weapon_damage_low", 4 + dmgMod)
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", 10 + dmgMod)
  14. SetSeeHide(NPC,1)
  15. SetSeeInvis(NPC,1)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end