Overwatch-1-Emulator / ow1-emulator

OverPy source code for "Overwatch 1 Emulator" Workshop gamemode
https://workshop.codes/KHTG0
BSD 2-Clause "Simplified" License
10 stars 9 forks source link

fix(Sombra): prevent reentering stealth #1586

Closed arvrianmaybe closed 4 months ago

arvrianmaybe commented 5 months ago

fix sombra stealth cause even after you got out stealth you still can continue anways. This should hopefully fixes it.

arvrianmaybe commented 5 months ago

i have updated it slightly to fix most of the things, i have removed on the subroutines cause i dont think is needed. I dont mind if you need to get it back due to whatever reason such as the "style guidelines"

MaxwellJung commented 5 months ago

Something is critically wrong because when I tested, I can't transition from fake stealth to real stealth.

Sombra will go into fake stealth, then play the ow2 stealth animation. However, the damage tick gets applied when she plays the animation, which forces her to exit stealth and consume cooldown.

I'm going to mark this as draft because it doesn't appear ready