Can u add an action which can change ability cooldowns % similar to the damage dealt and gravity actions
You have to make your own % system using the new “set cooldown” action, but you have to do it separately for each button and it doesnt work with abilities with multiple charges.
variables
{
player:
0: cooldown_multiplier
}
rule("Cooldown Reduction 1")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Ability Cooldown(Event Player, Button(Secondary Fire)) > 0.010;
}
actions
{
Set Ability Cooldown(Event Player, Button(Secondary Fire), Ability Cooldown(Event Player, Button(Secondary Fire))
* Event Player.cooldown_multiplier);
}
}
rule("Cooldown Reduction 2")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Ability Cooldown(Event Player, Button(Ability 1)) > 0.010;
}
actions
{
Set Ability Cooldown(Event Player, Button(Ability 1), Ability Cooldown(Event Player, Button(Ability 1))
* Event Player.cooldown_multiplier);
}
}
rule("Cooldown Reduction 3")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Ability Cooldown(Event Player, Button(Ability 2)) > 0.010;
}
actions
{
Set Ability Cooldown(Event Player, Button(Ability 2), Ability Cooldown(Event Player, Button(Ability 2))
* Event Player.cooldown_multiplier);
}
}
rule("Cooldown Reduction 4")
{
event
{
Ongoing - Each Player;
All;
All;
}
conditions
{
Ability Cooldown(Event Player, Button(Crouch)) > 0.010;
}
actions
{
Set Ability Cooldown(Event Player, Button(Crouch), Ability Cooldown(Event Player, Button(Crouch))
* Event Player.cooldown_multiplier);
}
}