Well i got this lua and its supposted to do following things.
You spawn a trigger first. Then you spawn an acolyte. On spawn the acolyte cast a channel spell on the trigger and a invis spell (invis only once) //Working part
When the acolytes are done casting they are supposted to cast it agian //non working part...
+rep x2 if i can
function Acolyte_OnSpawn(pUnit, Event)
Acolyte = pUnit
pUnit:FullCastSpellOnTarget(32759, Portal_ads)
pUnit:FullCastSpellOnTarget(30402, Portal_ads)
pUnit:RegisterEvent("Acolyte_continue",13000, 0)
end
function Portal_ads_OnSpawn(pUnit, Event)
Portal_ads = pUnit
end
function Acolyte_continue(pUnit, Event)
pUnit:RemoveEvents()
pUnit:FullCastSpellOnTarget(32759, Portal_ads)
end
RegisterUnitEvent(40002, 18, "Acolyte_OnSpawn")
RegisterUnitEvent(400003, 18, "Portal_ads_OnSpawn")