-
Might
-
Events
-
Game - PDD_damageEventTrigger becomes Equal to 1.00
-
-
Conditions
-
(Level of Might for PDD_target) Not equal to 0
-
(PDD_target belongs to an enemy of (Owner of PDD_source).) Equal to True
-
(Random integer number between 1 and 100) Less than or equal to 33
-
-
Actions
-
Set VariableSet MighTemp = (MighTemp + 1)
-
Set VariableSet MightStacks[MighTemp] = (MightStacks[MighTemp] + 1)
-
Set VariableSet MightSource[MighTemp] = PDD_source
-
Set VariableSet MightTarget[MighTemp] = PDD_target
-
Set VariableSet MightMax[MighTemp] = ((Level of Might for MightTarget[MighTemp]) x 5)
-
Game - Display to (All players) the text: (String(MightStacks[MighTemp]))
-
Set VariableSet MightTime[MighTemp] = 15.00
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
MightStacks[MighTemp] Less than MightMax[MighTemp]
-
-
Then - Actions
-
Hero - Modify Strength of MightTarget[MighTemp]: Add 4.
-
Special Effect - Create a special effect attached to the origin of MightTarget[MighTemp] using Abilities\Spells\Items\AIsm\AIsmTarget.mdl
-
Set VariableSet MightFX = (Last created special effect)
-
Special Effect - Destroy MightFX
-
-
Else - Actions
-
-
Wait MightTime[MighTemp] seconds
-
Hero - Modify Strength of MightTarget[MighTemp]: Subtract 4.
-
Set VariableSet MightStacks[MighTemp] = (MightStacks[MighTemp] - 1)
-
Game - Display to (All players) the text: (String(MightStacks[MighTemp]))
-
Set VariableSet MighTemp = (MighTemp - 1)
-
-
And then reduces it to 0, but now below 0, so it remains at either 1 and when reduced at 0.
So it gives infinite stacks of strength, because its always less than MaxStacks[IndexArray] instead of reaching it's actual figure of 5 per level. So it would stop at 5.
I have Bribe's unit indexer that came with KnockBackSystem2.5D, so it might interfere with this. Although other triggers in the map run normally.