- Joined
- Apr 15, 2016
- Messages
- 118
Seriously I jsut forogt, "tilted" my mind, simply I just don't remember.
The skill works like "Channels for two seconds, and every 1 second of this channel (or 0.90 as I put there) restore 1 mana point. If you cancel the order you suck (no mana restored, end channeL).
But I don't know, Or don't remember how to recycle, where should be the variables nulling each other (in else actions, in loop, where ?)
-
Repair Powder Visual Periodic
-

Events
-


Time - Every 0.02 seconds of game time
-
-

Conditions
-

Actions
-


For each (Integer RepairPowderCurrentIndex) from 1 to RepairPowderMaxIndex, do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






(Current order of RepairPowderCaster[RepairPowderCurrentIndex]) Equal to RepairPowderOrder
-
-





Then - Actions
-






Set RepairPowderTimer[RepairPowderCurrentIndex] = (RepairPowderTimer[RepairPowderCurrentIndex] + 0.02)
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








RepairPowderTimer[RepairPowderCurrentIndex] Greater than or equal to 0.90
-
-







Then - Actions
-








Custom script: call SetUnitAnimationByIndex(udg_RepairPowderCaster[udg_RepairPowderCurrentIndex], 5)
-








Unit - Set mana of RepairPowderTarget[RepairPowderCurrentIndex] to ((Mana of RepairPowderTarget[RepairPowderCurrentIndex]) + 1.00)
-








Set RepairPowderTimer[RepairPowderCurrentIndex] = 0.00
-
-







Else - Actions
-
-
-





Else - Actions
-
-
-
-
-
The skill works like "Channels for two seconds, and every 1 second of this channel (or 0.90 as I put there) restore 1 mana point. If you cancel the order you suck (no mana restored, end channeL).
But I don't know, Or don't remember how to recycle, where should be the variables nulling each other (in else actions, in loop, where ?)




