ReGameDLL_CS
ReGameDLL_CS copied to clipboard
Large Flinch slowdown: incorrect behavior?
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?
I have rewritten the explanation to be more readful