Anyone know how to change the cooldown of d.va matrix or sigmas experimental barrier?

Hey there, I’m trying to change the cooldown of both these abilities but it’s really difficult to do so with “ability cooldown” and I’m getting kind of stuck. Specifically with experimental barrier.

Thanks!

you can use set abbilty cooldown
or abbilty charge (for how long you can hold the matrix)

Because of the way the CDs work, you will need to have a wait.

1 Like

Yeah I’m just kinda struggling with it right now.
This is what I’ve got right now

rule(“Rule 17”)
{
event
{
Ongoing - Each Player;
All;
Sigma;
}

conditions
{
	Is Firing Secondary(Event Player) == True;
}

actions
{
	Wait Until(!Is Button Held(Event Player, Button(Secondary Fire)), 99999);
	Wait(0.250, Ignore Condition);
	If(Is Button Held(Event Player, Button(Secondary Fire)) == True);
		Set Ability Cooldown(Event Player, Button(Secondary Fire), 1);
		Loop If Condition Is True;
	End;
	Loop If Condition Is True;
}

}

But it still doesn’t work because it means the player has to press secondary exactly 0.25s after letting go of secondary.

Just detect when the ability goes on CD

Then set it to somethin’ else

2 Likes

Thank you so much!! It works great!! :slight_smile:

1 Like

Simply that for Sigma, works as well for other heroes:

rule("Rule 1")
{
	event
	{
		Ongoing - Each Player;
		All;
		Sigma;
	}

	conditions
	{
		Ability Cooldown(Event Player, Button(Secondary Fire)) != 0;
	}

	actions
	{
		Set Ability Cooldown(Event Player, Button(Secondary Fire), 1);
	}
}
4 Likes

Sorry for necroposting but can you put the finished rule? I have no idea how workshop works so I don’t know what AlaskaWolf meant by that.

rule(“Insta cooldown”)
{
event
{
Ongoing - Each Player;
All;
All;
}

conditions
{
	Ability Cooldown(Event Player, Button(Ability 2)) > 0;
}

actions
{
	Set Ability Cooldown(Event Player, Button(Ability 2), 0);
}

}

It triggers when the cooldown is active, then sets it immediately to 0