GrimgashtheBlack.lua 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/GrimgashsLair/GrimgashtheBlack.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.23 01:09:26
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function aggro(NPC,Spawn)
  14. local choice = MakeRandomInt(1,2)
  15. if choice == 1 then
  16. PlayFlavor(NPC,"voiceover/english/grimgash_the_black/tutorial_island02_epic01/06_orc_grimgash_the_black_garbled_gm_0.mp3","First it was drakotas and now you! I'll teach you not to mess with a Son of Zek!","",3587881717,1370147630,nil,17)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC,"voiceover/english/grimgash_the_black/tutorial_island02_epic01/06_orc_grimgash_the_black_garbled_gm_0.mp3","You are not part of the plan! I'll squash you like the bug you are.","",3587881717,1370147630,nil,17)
  19. end
  20. local zone = GetZone(NPC)
  21. local Gob1 = GetSpawnByLocationID(zone, 133776472)
  22. local Gob2 = GetSpawnByLocationID(zone, 133776473)
  23. local Gob3 = GetSpawnByLocationID(zone, 133776474)
  24. if IsAlive(Gob1) == true or IsAlive(Gob2) == true or IsAlive(Gob3) == true then
  25. Attack(Gob1,Spawn)
  26. Attack(Gob2,Spawn)
  27. Attack(Gob3,Spawn)
  28. end
  29. end