Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@IllianiBird
Copy link
Collaborator

This should not be merged into 50.0

Revised the getDifficultyMultiplier method to use a switch expression based on skill levels. I also went ahead and adjusted the multipliers based on Discord feedback this means the difficulty campaign option will have a far larger impact on OpFor generation, especially when combined with my other two OpFor PRs.

Below, I've included the percentage of the player's BV that will be used as base BV allowance when generating OpFors. The old values are in parentheses. As you can see, the impact of each difficulty is substantially larger than the old values. This should give players far better control over their experience and will mean that newer players won't get the pants kicked out of them as often, while veteran players will be able to enjoy the challenge they desire.

Ultra-Green: 50% (80%)
Green: 75% (90%)
Regular: 100% (100%)
Veteran: 125% (110%)
Elite: 150% (120%)
Heroic: 175% (130%)
Legendary: 200% (140%)

Revised the `getDifficultyMultiplier` method to use a switch expression based on skill levels. This change improves readability and allows for more granular control over the difficulty multipliers.
@IllianiBird IllianiBird self-assigned this Aug 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.20%. Comparing base (2dbc50b) to head (b431b9a).
Report is 48 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4722      +/-   ##
============================================
- Coverage     10.76%   10.20%   -0.57%     
+ Complexity     5668     5662       -6     
============================================
  Files           948      948              
  Lines        132553   132560       +7     
  Branches      19048    19048              
============================================
- Hits          14272    13525     -747     
- Misses       117041   117795     +754     
  Partials       1240     1240              

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

@IllianiBird IllianiBird marked this pull request as ready for review September 5, 2024 04:03
@IllianiBird
Copy link
Collaborator Author

Flipping this to live.

@Thom293 when this gets merged you'll need to update your StratCon guide

# Conflicts:
#	MekHQ/src/mekhq/campaign/mission/AtBDynamicScenarioFactory.java
@IllianiBird
Copy link
Collaborator Author

Updated to account for the recent name change project

@IllianiBird IllianiBird merged commit d07daad into MegaMek:master Sep 13, 2024
@IllianiBird IllianiBird deleted the opFor_difficulty branch March 23, 2025 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants