-
Notifications
You must be signed in to change notification settings - Fork 176
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
Added Second Chance Caste to the Education Module for Warrior Caste Washouts #4139
Conversation
…duation' into education_WashoutOptions
- Introduced the SecondChanceCaste enum, providing options for Warrior Caste washouts - Added SecondChanceCaste to Campaign Options with associated getters and setters - Modified resource files to include text and tooltips for SecondChanceCaste - Removed unnecessary parameters in the beginJourneyHome function of EducationController.java
# Conflicts: # MekHQ/resources/mekhq/resources/CreateCharacterDialog.properties # MekHQ/resources/mekhq/resources/CustomizePersonDialog.properties # MekHQ/src/mekhq/gui/dialog/CustomizePersonDialog.java
Resolved Conflicts |
Yet again, conflicts :) |
# Conflicts: # MekHQ/src/mekhq/gui/dialog/CustomizePersonDialog.java
- Added a guard clause to check for 'NONE' on secondChanceCasteIndex - Adjusted code to avoid unnecessary operations - Implemented exception throw for unexpected secondChanceCaste values
Addressed feedback and resolved conflicts |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4139 +/- ##
============================================
- Coverage 10.28% 10.28% -0.01%
- Complexity 5793 5811 +18
============================================
Files 919 921 +2
Lines 125219 125741 +522
Branches 18550 18590 +40
============================================
+ Hits 12883 12933 +50
- Misses 111068 111538 +470
- Partials 1268 1270 +2 ☔ View full report in Codecov by Sentry. |
Requires: #4127 & #4126
This PR adds the ability to select a 'second chance' Warrior Caste sub-caste for Warrior Caste washouts.
When Warrior Caste personnel washout of the Warrior Caste mhq will check that their course index does not match the index of the chosen second chance caste. If there is no match (and second chance is not set to
NONE
), then the aspirant washes into the chosen sub-caste.If second chance is set to
NONE
, or the aspirant is washing out of the chosen sub-caste, they will washout into a civilian caste as normal.