9
3

TrialofAir.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/SummonersTest/TrialofAir.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.11.12 04:11:34
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile ("SpawnScripts/Generic/MonsterCallouts/BaseWaterElemental1.lua")
  9. dofile("SpawnScripts/SummonersTest/dpoinvisiblecube.lua")
  10. require "SpawnScripts/Generic/CombatModule"
  11. function spawn(NPC, Spawn)
  12. combatModule(NPC, Spawn)
  13. SetSpawnAnimation(NPC, 13016)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function death (NPC,Spawn)
  19. local zone = GetZone(Spawn)
  20. local Ring = GetSpawnByLocationID(zone,133780576)
  21. if Ring ~= nil then
  22. Trial3Done(Ring,Spawn)
  23. end
  24. end
  25. function Stage4 (NPC,Spawn)
  26. local zone = GetZone(Spawn)
  27. local SummonRing = GetSpawnByLocationID(zone,133780576)
  28. ApplySpellVisual(SummonRing, 165)
  29. end
  30. function Trial4 (NPC,Spawn)
  31. local zone = GetZone(Spawn)
  32. if GetSpawnByLocationID(zone,133780604) == nil then
  33. local TestofWater = SpawnByLocationID(zone,133780604)
  34. end
  35. end