Hey! I wanna make casting hero gain 100 mana each second after casting this ability on an enemy unit.
But, the mana the first cast gathers, is strange.
If I have got 80 mana, I suddenly gain 40 mana.
If I have got 10 mana, I suddenly gain 90 mana.
Also, I just found out that it actually repeats the trigger of Percentage of mana of ArcaneFeast_1. So it keeps repeating the percentage, but does not add the 100 mana.
What should I do?
-Alex
-
Arcane Feast P1
-

Events
-


Unit - A unit Begins casting an ability
-
-

Conditions
-


(Ability being cast) Equal to Arcane Feast (Wrath of Destruction)
-
-

Actions
-


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



If - Conditions
-




(Owner of (Casting unit)) Equal to Player 1 (Red)
-
-



Then - Actions
-




Set ArcaneFeast_1 = (Casting unit)
-




Unit - Set mana of ArcaneFeast_1 to ((Percentage mana of ArcaneFeast_1) + 100.00)
-




Wait 1.00 seconds
-




Unit - Set mana of ArcaneFeast_1 to ((Percentage mana of ArcaneFeast_1) + 100.00)
-




Wait 1.00 seconds
-




Unit - Set mana of ArcaneFeast_1 to ((Percentage mana of ArcaneFeast_1) + 100.00)
-




Wait 1.00 seconds
-




Unit - Set mana of ArcaneFeast_1 to ((Percentage mana of ArcaneFeast_1) + 100.00)
-




Wait 1.00 seconds
-




Unit - Set mana of ArcaneFeast_1 to ((Percentage mana of ArcaneFeast_1) + 100.00)
-




Wait 1.00 seconds
-




Unit - Set mana of ArcaneFeast_1 to ((Percentage mana of ArcaneFeast_1) + 100.00)
-




Set ArcaneFeast_1 = No unit
-
-



Else - Actions
-
-
-
But, the mana the first cast gathers, is strange.
If I have got 80 mana, I suddenly gain 40 mana.
If I have got 10 mana, I suddenly gain 90 mana.
Also, I just found out that it actually repeats the trigger of Percentage of mana of ArcaneFeast_1. So it keeps repeating the percentage, but does not add the 100 mana.
What should I do?
-Alex
