OttStompgutt.lua 983 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/OttStompgutt.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.20 03:06:08
  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(95 + dmgMod))
  13. SetInfoStructUInt(NPC, "primary_weapon_damage_high", math.floor(155 + dmgMod))
  14. end
  15. function aggro(NPC, Spawn)
  16. AddTimer(NPC,1500,"ShoutOut",1,Spawn)
  17. end
  18. function ShoutOut(NPC,Spawn)
  19. FaceTarget(NPC, Spawn)
  20. PlayFlavor(NPC, "voiceover/english/optional1/ott_stompgut/steppes/quest/025_quest_giant_ott_stompgut_aoi_callout_bf4816e2.mp3", "Ye come lookin' for that sticker the fool dropped when he ran? Ye can't have it! It's mine now!", "", 910547687, 2450920265, Spawn, 0)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end