Ultimate charge gain bug

E: Dealt final blow/Earned elimination/Player died (doesn’t matter)
A: -Set ultimate charge(“Event player/Attacker”, Ultimate Charge Percent(“Event player/Attacker”) + 25)
-Damage(“Event player/Attacker”, 5)

When player kills 2 or more enemies at the same time (example: Ana nade) he earns only 25% ultimate charge. Workshop do 5 (for example) rule copies, and then player takes 25 damage. If the workshop was only doing one copy of the rule, the player would only take 5 damage. So, it happens because the workshop uses the same value for “current ultimate charge percent” in all rule copies. It seems like:
1st rule: set ultimate charge (0+25); damage 5
2nd rule: set ultimate charge (0+25); damage 5
3rd rule: set ultimate charge (0+25); damage 5
4th rule: set ultimate charge (0+25); damage 5
5th rule: set ultimate charge (0+25); damage 5

Pls fix it!

Or just add the “+ 25” per rule to a variable and afterwards add the variable to the ult charge.

2 Likes

Some changes to settings don’t take effect immediately when you change them via an action from the script.

They are updated after all rules in the current frame have been run or may even take a few frames to take effect.

This includes actions like:

Set max health
Set max ammo
Set ultimate charge
etc.

1 Like