Skip to content

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

Merged
merged 10 commits into from
Apr 16, 2025

Conversation

JackyBloxx
Copy link
Contributor

@JackyBloxx JackyBloxx commented Mar 13, 2025

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

@github-project-automation github-project-automation bot moved this to Request for Review in Development Mar 13, 2025
@JackyBloxx JackyBloxx force-pushed the add_replacement_penalty_striker branch from f84c885 to 8d4c505 Compare March 14, 2025 08:09
@oleflb
Copy link
Contributor

oleflb commented Mar 14, 2025

tested in the morning: did not work correctly. Somehow the penalty kick against invisibles was percepted as a penalty kick against Hulks

@JackyBloxx
Copy link
Contributor Author

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

@oleflb
Copy link
Contributor

oleflb commented Mar 14, 2025

this has to be postponed until after @ThagonDuarte merges the filter for free kicks

@oleflb oleflb removed the GO25 label Apr 8, 2025
@pejotejo pejotejo moved this from Request for Review to In Progress in Development Apr 9, 2025
@JackyBloxx JackyBloxx force-pushed the add_replacement_penalty_striker branch from 8d4c505 to d4aa55a Compare April 9, 2025 14:05
@JackyBloxx JackyBloxx moved this from In Progress to Request for Review in Development Apr 15, 2025
@JackyBloxx JackyBloxx enabled auto-merge April 16, 2025 14:38
Copy link
Contributor

@MaikRe MaikRe left a 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

@JackyBloxx JackyBloxx added this pull request to the merge queue Apr 16, 2025
Merged via the queue into HULKs:main with commit 7d7d9e8 Apr 16, 2025
27 checks passed
@JackyBloxx JackyBloxx deleted the add_replacement_penalty_striker branch April 16, 2025 14:44
@github-project-automation github-project-automation bot moved this from Request for Review to Done in Development Apr 16, 2025
pejotejo pushed a commit that referenced this pull request Apr 16, 2025
* 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]>
pejotejo pushed a commit to pejotejo/hulk that referenced this pull request Apr 16, 2025
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants