123456789101112131415161718192021222324252627282930313233343536373839404142 |
- --[[
- Script Name : SpawnScripts/SummonersTest/TrialofWater.lua
- Script Author : Dorbin
- Script Date : 2022.11.12 04:11:44
- Script Purpose :
- :
- --]]
- dofile ("SpawnScripts/Generic/MonsterCallouts/BaseWaterElemental1.lua")
- dofile("SpawnScripts/SummonersTest/dpoinvisiblecube.lua")
- require "SpawnScripts/Generic/CombatModule"
- function spawn(NPC, Spawn)
- combatModule(NPC, Spawn)
- SetSpawnAnimation(NPC, 13016)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function death (NPC,Spawn)
- local zone = GetZone(Spawn)
- local Ring = GetSpawnByLocationID(zone,133780576)
- if Ring ~= nil then
- Trial2Done(Ring,Spawn)
- end
- end
- function Stage3 (NPC,Spawn)
- local zone = GetZone(Spawn)
- local SummonRing = GetSpawnByLocationID(zone,133780576)
- ApplySpellVisual(SummonRing, 165)
- end
- function Trial3 (NPC,Spawn)
- local zone = GetZone(Spawn)
- if GetSpawnByLocationID(zone,133780601) == nil then
- local TestofWater = SpawnByLocationID(zone,133780601)
- end
- end
|