ReGameDLL_CS icon indicating copy to clipboard operation
ReGameDLL_CS copied to clipboard

Large Flinch slowdown: incorrect behavior?

Open RauliTop opened this issue 2 years ago • 1 comments

https://github.com/s1lentq/ReGameDLL_CS/blob/c002edd5b18a8408e299bc6cccfec2c7de56ba3d/regamedll/dlls/player.cpp#L1131-L1153

Slowdown is applied with m_flVelocityModifier Well, the strange is that the behavior should apply slowdown ALWAYS.

With the current code, in a LargeFlinch, if victim has speed higher than 300, slowdown is not applied. Slowdown is applied always when it is a normal flinch, why not at large flinch? Animation is played always

https://github.com/s1lentq/ReGameDLL_CS/blob/c002edd5b18a8408e299bc6cccfec2c7de56ba3d/regamedll/dlls/player.cpp#L1149 That line should be outside the velocity condition/check? Animation is just played without any effect if velocity is more than 300

also, Why that magical and hardcoded 300 number?

RauliTop avatar Feb 07 '22 19:02 RauliTop

I have rewritten the explanation to be more readful

RauliTop avatar Feb 23 '22 22:02 RauliTop