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 Monthly StratCon Support Points Generation #5228

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

IllianiCBT
Copy link
Collaborator

If StratCon is enabled, on the first of each month Admin/Transport personnel will use their Administration skill to generate Support Points.

The creation of a Support Point requires they pass an Administration skill check (with no current modifiers). If passed they create a single Support Point. Support Points created in this manner are capped at 1 per Track. So a contract with 3 Tracks can generate up to 3 additional Support Points each month.

Campaigns with multiple active contracts will make rolls for the oldest contract first. Admin/Transport personnel are only afforded a single roll each month, no matter how many active contracts there are.

Implemented support points negotiation on the first day of each month if StratCon is enabled. Admin/Transport personnel skill levels are utilized to attempt to gain additional support points for AtB contracts, with outcomes logged in reports.
@IllianiCBT IllianiCBT added the StratCon Bugs relating strictly to StratCon label Nov 20, 2024
@IllianiCBT IllianiCBT self-assigned this Nov 20, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.50%. Comparing base (bce5f63) to head (fb0b5a8).
Report is 46 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5228      +/-   ##
============================================
- Coverage     10.52%   10.50%   -0.02%     
+ Complexity     6047     6036      -11     
============================================
  Files           957      957              
  Lines        134523   134566      +43     
  Branches      19545    19555      +10     
============================================
- Hits          14154    14136      -18     
- Misses       119018   119074      +56     
- Partials       1351     1356       +5     

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


🚨 Try these New Features:

@HammerGS HammerGS merged commit 1416cbe into MegaMek:master Nov 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
StratCon Bugs relating strictly to StratCon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants