Skip to content
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 Heroic and Legendary Skill Levels #6864

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IllianiBird
Copy link
Collaborator

  • Introduced new skill levels: Heroic and Legendary to SkillLevel enum.

Dev Notes

This is the MegaMek portion of MegaMek/mekhq#6623

- Introduced new skill levels: Heroic and Legendary, with corresponding experience values and level definitions.
- Updated `LevelSorter` to handle skill level comparisons using the new `SkillLevel` enums.
- Added logic for parsing, getting, and setting Heroic and Legendary levels in `SkillType`.
- Modified XML serialization and deserialization to include Heroic and Legendary levels.
- Adjusted color handling for Heroic and Legendary to reuse Elite color settings.
@IllianiBird IllianiBird added the Implementation of Missing Official Rule Used with the RFE tag for the implementation of missing official rule label Apr 10, 2025
@IllianiBird IllianiBird self-assigned this Apr 10, 2025
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

Attention: Patch coverage is 5.55556% with 17 lines in your changes missing coverage. Please review.

Project coverage is 30.06%. Comparing base (40cff80) to head (db8bb95).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
megamek/src/megamek/common/enums/SkillLevel.java 5.55% 17 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6864      +/-   ##
============================================
- Coverage     30.06%   30.06%   -0.01%     
+ Complexity    15604    15595       -9     
============================================
  Files          2875     2875              
  Lines        282752   282750       -2     
  Branches      49309    49310       +1     
============================================
- Hits          85016    84995      -21     
- Misses       192173   192200      +27     
+ Partials       5563     5555       -8     

☔ 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 marked this pull request as draft April 11, 2025 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implementation of Missing Official Rule Used with the RFE tag for the implementation of missing official rule
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants