-
Notifications
You must be signed in to change notification settings - Fork 56
Add replacement penalty striker #1733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add replacement penalty striker #1733
Conversation
f84c885
to
8d4c505
Compare
tested in the morning: did not work correctly. Somehow the penalty kick against invisibles was percepted as a penalty kick against Hulks |
that is because we never got a message which team is the kicking team, because of the new rules we only get that information from the hand gestures from the ref and not from the controler |
this has to be postponed until after @ThagonDuarte merges the filter for free kicks |
8d4c505
to
d4aa55a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for implementing this!
Looks good to me
* suport striker as replacement * in function * bevi * replacment_penalty_striker * rename function for role change in penalty kick * format * clippy * rebase * clippy --------- Co-authored-by: MaikRe <[email protected]>
* suport striker as replacement * in function * bevi * replacment_penalty_striker * rename function for role change in penalty kick * format * clippy * rebase * clippy --------- Co-authored-by: MaikRe <[email protected]>
Why? What?
If we had a penalty kick and our striker got penelized we hadent any striker for the kick
Fixes #
ToDo / Known Issues
If this is a WIP describe which problems are to be fixed.
Ideas for Next Iterations (Not This PR)
If there are some improvements that could be done in a next iteration, describe them here.
How to Test
in a penalty kick penalize the striker and look if it got replaced
you could test it with bevi sim ingame_penalty_kick_striker_penalized