S
Shanoe360
Guest
How do i make it so when someone uses a ability their mana slowly starts to go down
Actions - Unit begins casting an ability
Conditions - ability being cast is equil to <your ability>
Events - For each intager A to actions 1-<one digit above units max mana>
{then inside the loop put} if <mana var> is greater then unit max mana then set <mana var>=<mana var>-1
{then in the "else" action put if <unit mana> becomes =to 0 then <wat ever u want to happen, if it is for the unit to die then put do nothing>
Set unit mana to <mana variable-1>