TrialofEarth.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/SummonersTest/TrialofEarth.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.11.12 04:11:11
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGolem1.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. Trial1Done(Ring,Spawn)
  23. end
  24. end
  25. function Stage2 (NPC,Spawn)
  26. local zone = GetZone(Spawn)
  27. local SummonRing = GetSpawnByLocationID(zone,133780576)
  28. ApplySpellVisual(SummonRing, 165)
  29. end
  30. function Trial2 (NPC,Spawn)
  31. local zone = GetZone(Spawn)
  32. if GetSpawnByLocationID(zone,133780603) == nil then
  33. local TestofWater = SpawnByLocationID(zone,133780603)
  34. end
  35. end