-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Implement special victory and loss conditions for heroes and towns #8905
Implement special victory and loss conditions for heroes and towns #8905
Conversation
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.
Clang-Tidy
found issue(s) with the introduced code (1/1)
Hi. Great work on this PR!
There's also one question that bothers me for multiplayer games: if one player fails (regarding loosing condition) what happens to his rest heroes and castles? |
Hi @Branikolog , described by you conditions work exactly as in the original Editor. I believe it is a place of improvement for it but definitely not bugs in my opinion. |
@Branikolog and @Districh-ru , I fixed invalid race setup logic. Please take a look. In order to reflect the change you have to resave the map to update its conditions. |
Hi, @ihhub
The original editor in this regard was kind of broken in my opinion. I think we shouldn't allow to create such maps, that are broken and unplayable (in terms of conditions). |
Hi, @Branikolog, I've addressed the first issue: now the "Allow this condition also for AI" checkbox is available only for the neutral towns/castles. Let's address the other issues with the special victory/loss conditions in multiplayer in the other PR, because it's more related to the multiplayer logic that most likely needs polishing. |
Hi, @Districh-ru !
Sure! I find current implementation not really easy to catch, when I start selecting Human-only/Comp-human/Comp-only players and trying to set special conditions. |
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.
@Districh-ru. I left some more suggestions for better phrasing. Please have a look when it is convenient for you.
Something about "for victory" and "for defeat" sounded awkward to me, so I tried my best to rephrase them.
Hi @zenseii , I've addressed your comments. Could you please check again? |
@Districh-ru , many thanks for implementing such features! |
close #8717
This PR adds ability to set in Editor the next special conditions:
It adds functions to get a list of heroes or towns present on the map.