CEV-Eris
CEV-Eris copied to clipboard
Fixes cover functionality when overshooting [Test needed]
About The Pull Request
When a bullet reaches someone behind cover, the bullet will always miss unless they are the intended target (were directly clicked on, or an NPC is targeting them).
Test server recommended before merge.
Why It's Good For The Game
Removes an exploit, makes cover more effective, especially against sprayfire. Does not prevent long-range snipers from shooting over cover, and if they aimed correctly, will still enable them to hit someone directly behind cover.
Changelog
:cl: add: Cover properly triggers when overshooting /:cl:
All good except that theres no skill check for it hitting ? how is original target lost based on skill ? for all i know vig only makes it sure the bullet hits the targeted organ , but not the mob itself.
All good except that theres no skill check for it hitting ? how is original target lost based on skill ? for all i know vig only makes it sure the bullet hits the targeted organ , but not the mob itself.
"Original target" is the target you click on
Vig is unrelated in this calculation. If someone's behind cover and you're not aiming at them, you're not going to hit them. If they are out of cover, or you're aiming specifically to hit them, everything works as it used to.