8000 Fixed Skill Deprecator Refund & Refund All Options by IllianiBird · Pull Request #6502 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed Skill Deprecator Refund & Refund All Options #6502

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 2 commits into from
Mar 31, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Updated SkillDeprecationTool to include REFUND_DIALOG_OPTION_INDEX for the new refund option.
  • Modified CampaignXmlParser to properly handle the refundAllDeprecatedSkills flag.
  • Ensured functionality for both individual and "refund all" options in skill deprecation workflows.

Requirements

Requires #6493 && #6494

Dev Notes

Skills were only refunding if the user clicked 'Refund All' and only if the user clicked 'Refund All' for all characters.

- Introduced a new dialog option to handle individual skill refunds during deprecation.
- Updated `SkillDeprecationTool` to include `REFUND_DIALOG_OPTION_INDEX` for the new refund option.
- Modified `CampaignXmlParser` to properly handle the `refundAllDeprecatedSkills` flag.
- Ensured functionality for both individual and "refund all" options in skill deprecation workflows.
@IllianiBird IllianiBird added Bug Severity: Medium Issues described as medium severity as per the new issue form labels Mar 30, 2025
@IllianiBird IllianiBird self-assigned this Mar 30, 2025
# Conflicts:
#	MekHQ/src/mekhq/campaign/personnel/SkillDeprecationTool.java
Copy link
codecov bot commented Mar 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.24%. Comparing base (56e9163) to head (6128313).
Report is 8 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6502      +/-   ##
============================================
- Coverage     11.24%   11.24%   -0.01%     
+ Complexity     6296     6293       -3     
============================================
  Files          1079     1079              
  Lines        137389   137393       +4     
  Branches      21262    21263       +1     
============================================
- Hits          15455    15450       -5     
- Misses       120387   120395       +8     
- Partials       1547     1548       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IllianiBird IllianiBird merged commit 3a73626 into MegaMek:master Mar 31, 2025
6 checks passed
@IllianiBird IllianiBird deleted the skillDeprecatorDialogUpdate branch March 31, 2025 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Severity: Medium Issues described as medium severity as per the new issue form
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0