Hey gang.
I'm working with the latest update editor and Bribe's movement system to try and make a trigger that will cause a unit to lose mana while it travels. This is similar to a DOTA/DOTA 2 spell called "Mana Leak" by Keeper of the Light.
Trying to use mana as "stamina" in my map so players have to rest their units. Can't get past losing just 1 mana any time they move any distance by initiating movement.
GUI user, sorry fellas. Here is what I've tried so far
I'm working with the latest update editor and Bribe's movement system to try and make a trigger that will cause a unit to lose mana while it travels. This is similar to a DOTA/DOTA 2 spell called "Mana Leak" by Keeper of the Light.
Trying to use mana as "stamina" in my map so players have to rest their units. Can't get past losing just 1 mana any time they move any distance by initiating movement.
GUI user, sorry fellas. Here is what I've tried so far
-
On Move Mana Loss Loop
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
UnitMovingEvent Equal to 1.00
-
-
Actions
-
Unit - Set mana of UDexUnits[UDex] to ((Mana of UDexUnits[UDex]) - 1.00)
-
-
-
On Move Copy
-
Events
-
Game - UnitMovingEvent becomes Equal to 1.00
-
-
Conditions
-
Actions
-
Trigger - Run On Move Mana Loss Loop2 <gen> (checking conditions)
-
-
-
On Move Mana Loss Loop2
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Unit - Set mana of UDexUnits[UDex] to ((Mana of UDexUnits[UDex]) - 1.00)
-
-
-
On Stop Copy
-
Events
-
Game - UnitMovingEvent becomes Equal to 2.00
-
-
Conditions
-
Actions
-
Trigger - Turn off On Move Mana Loss Loop2 <gen>
-
-