aPortalAbhorrent.lua 773 B

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/ShatteredVale3/aPortalAbhorrent.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.08.23 06:08:32
  5. Script Purpose :
  6. :
  7. --]]
  8. local APortalAtrocity = 361968 -- A Portal Atrocity ID
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function aggro(NPC, Spawn)
  15. if not HasLanguage(Spawn, 20) then -- GOBLISH
  16. PlayFlavor(NPC, "voiceover/english/minotaur_base_1/ft/minotaur/minotaur_base_1_1_garbled_4cb5a7e.mp3", "Mortras pluvan kebmetra ein strev'kar", "", 3751978752, 2944985426, Spawn, 20)
  17. end
  18. end
  19. function death(NPC, Spawn)
  20. zone = GetZone(NPC)
  21. SpawnByLocationID(zone, APortalAtrocity)
  22. end
  23. function respawn(NPC)
  24. spawn(NPC)
  25. end