Zezombye / overpy

High-level language for the Overwatch Workshop with support for compilation and decompilation.
GNU General Public License v3.0
180 stars 28 forks source link

Cant set cooldown for genjis ability 1 #306

Closed Totorooww closed 1 year ago

Totorooww commented 1 year ago

Every other ability for all heroes works, including genjis ability 2, I've isolated everything I possibly can and have confirmed that the condition does work.

Here's the code for the action that isn't working: eventPlayer.setAbilityCooldown(Button.ABILITY_1, eventPlayer.getAbilityCooldown(Button.ABILITY_1) * 0.5)

This is an example of a line that did work for his E: eventPlayer.setAbilityCooldown(Button.ABILITY_2, eventPlayer.getAbilityCooldown(Button.ABILITY_2) * 0.5)

Zezombye commented 1 year ago

It's a workshop bug, they did something sussy to his dash.

Totorooww commented 1 year ago

Ok thanks, hope they fix it quickly