- Joined
- May 13, 2023
- Messages
- 72
Hello again Hive, I'm trying to make Spell that works by initially creating a Summon then activating it's sub-ability allows the caster to teleport to the Summon's location like gatecrash from Yoru. I tried to do it with MUI but the ability only works on it's first iteration and the sub-ability part is poorly made and needs improvements
Heres the triggers:
Heres the triggers:
-
Predestined Chronology Init
-
Events
-
Unit - A unit Spawns a summoned unit
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Chronosphere
-
-
Actions
-
Set VariableSet PredestinedChronoINDEX = (PredestinedChronoINDEX + 1)
-
Set VariableSet PredestinedChronoCaster[PredestinedChronoINDEX] = (Summoning unit)
-
Set VariableSet PredestinedChronoDummy[PredestinedChronoINDEX] = (Triggering unit)
-
Unit - Add Predestined Chronology (Dummy) to PredestinedChronoCaster[PredestinedChronoINDEX]
-
Unit - Set level of Predestined Chronology (Dummy) for PredestinedChronoCaster[PredestinedChronoINDEX] to (Level of Predestined Chronology for PredestinedChronoCaster[PredestinedChronoINDEX])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
PredestinedChronoINDEX Equal to 1
-
-
Then - Actions
-
Trigger - Turn on Predestined Chronology End <gen>
-
Trigger - Turn on Predestined Chronology Dummy <gen>
-
-
Else - Actions
-
-
-
-
Predestined Chronology End
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer PredestinedChronoLOOP) from 1 to PredestinedChronoINDEX, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(PredestinedChronoDummy[PredestinedChronoLOOP] is alive) Equal to True
-
-
Then - Actions
-
Do nothing
-
-
Else - Actions
-
Unit - Remove Predestined Chronology (Dummy) from PredestinedChronoCaster[PredestinedChronoLOOP]
-
Set VariableSet PredestinedChronoCaster[PredestinedChronoLOOP] = PredestinedChronoCaster[PredestinedChronoINDEX]
-
Set VariableSet PredestinedChronoDummy[PredestinedChronoLOOP] = PredestinedChronoDummy[PredestinedChronoINDEX]
-
Set VariableSet PredestinedChronoINDEX = (PredestinedChronoINDEX - 1)
-
Set VariableSet PredestinedChronoLOOP = (PredestinedChronoLOOP - 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
ResonantDecimationINDEX Equal to 0
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
Trigger - Turn off Predestined Chronology Dummy <gen>
-
-
Else - Actions
-
-
-
-
-
-
-
-
Predestined Chronology Dummy
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Predestined Chronology (Dummy)
-
-
Actions
-
Unit Group - Pick every unit in (Units owned by (Owner of (Triggering unit)).) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Equal to Chronosphere
-
-
Then - Actions
-
Unit - Move (Triggering unit) instantly to (Position of (Picked unit))
-
Unit - Kill (Picked unit)
-
-
Else - Actions
-
-
-
-
-