10%str buff only 1 time few heroes
UNSLOVED
OK help i need buff Hero that increases 10% str ONLY 1 time not infinite times on many units not only 1 ... thats the problem many units and not stacking efect. im stuck here
UNSLOVED
OK help i need buff Hero that increases 10% str ONLY 1 time not infinite times on many units not only 1 ... thats the problem many units and not stacking efect. im stuck here
-
PurifyFire
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to PurifyFire
-
-

Actions
-


Set PurifyFire_Unit = (Target unit of ability being cast)
-


Set PurifyFire_Str = (Strength of PurifyFire_Unit (Include bonuses))
-


Wait 1.00 seconds
-


Unit Group - Add PurifyFire_Unit to PurifyFire_RandomGroup
-
-
-
PurifyFireCheck
-

Events
-


Time - Every 0.10 seconds of game time
-
-

Conditions
-

Actions
-


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



If - Conditions
-



Then - Actions
-




Unit Group - Pick every unit in PurifyFire_RandomGroup and do (If (((Picked unit) has buff PurifyFireB ) Equal to True) then do (Hero - Modify Strength of (Picked unit): Set to ((Strength of (Picked unit) (Include bonuses)) + ((Strength of (Picked unit) (Include bonuses)) / 10))) else do (Do nothing))
-




Unit Group - Remove PurifyFire_Unit from PurifyFire_RandomGroup
-




Unit Group - Add PurifyFire_Unit to PurifyFire_RandomGroup_C
-
-



Else - Actions
-




Unit Group - Pick every unit in PurifyFire_RandomGroup_C and do (If (((Picked unit) has buff PurifyFireB ) Equal to False) then do (Hero - Modify Strength of (Picked unit): Set to ((Strength of (Picked unit) (Include bonuses)) - ((Strength of (Picked unit) (Include bonuses)) / 10))) else do (Do nothing))
-




Unit Group - Remove PurifyFire_Unit from PurifyFire_RandomGroup
-
-
-
-
Last edited:





