-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Improvements to groups and UI #4016
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5b46aa2
Fixed bug: groups UI is not refreshed immediately after droid is damaged
Monsterovich dfeeb80
Keep track of damaged droids in the UI
Monsterovich 8e4fb92
Fixed issue: damaged droids should never have their group until "do o…
Monsterovich 43aeae6
Keep the default value for this label
Monsterovich e0be96e
Fit big droid counts in the box (like 100 and more)
Monsterovich ff8064c
Renamed local variable
Monsterovich File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Pastdue and I are uncertain about the purpose of this change. The intent for this if statement was to prevent a retreating unit, that was disturbed from rtr/rtb, forever having a red group number until fully repaired. Unless there is some specific behavior difference we aren't noticing.
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.
@KJeff01
This is only possible if there are no repair facilities or repairing units.
In the worst case, I'll just set a "do or die" flag on the units and just send them into battle, but it's too expensive to lose units. That's what alfred007 was talking about on Discord:
The point is to keep as many units as possible, at the very least let them stand at the HQ with repair group set until I build repair facilities and send them to be repaired. Currently, the damaged units will just go into battle with low health which is worse.
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.
There is also an idea to make damaged units that stand at the HQ, automatically go to repair when at least one repair facility appears (I can do this, but it would be in a separate PR).