CEV-Eris icon indicating copy to clipboard operation
CEV-Eris copied to clipboard

Fixes cover functionality when overshooting [Test needed]

Open Humonitarian opened this issue 2 years ago • 2 comments

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:

Humonitarian avatar Jul 30 '22 14:07 Humonitarian

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.

MLGTASTICa avatar Jul 30 '22 19:07 MLGTASTICa

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.

Humonitarian avatar Jul 30 '22 21:07 Humonitarian