Skip to content

Add support for (hopefully) upcoming CHL features#1

Open
DaloLorn wants to merge 10 commits into
tigrik-dev:mainfrom
DaloLorn:feature/CoverDRHandling
Open

Add support for (hopefully) upcoming CHL features#1
DaloLorn wants to merge 10 commits into
tigrik-dev:mainfrom
DaloLorn:feature/CoverDRHandling

Conversation

@DaloLorn

@DaloLorn DaloLorn commented Apr 11, 2026

Copy link
Copy Markdown

Added MCM localization and backend implementation for X2CommunityCore/X2WOTCCommunityHighlander#1540 (plus X2CommunityCore/X2WOTCCommunityHighlander#1542 due to relevance).

Cannot be merged until the following Highlander PRs (plus a mandatory follow-up to make them compatible with each other) are merged and released:

TODO:

  • Implement MCM toggle for armor previews. (I'm not even checking Highlander configs right now!)
  • Improve code style (might not be a perfect fit for the EIR codebase yet).
  • Test in my local campaign.
  • Keep this synced with any changes to the abovementioned Highlander PRs.

This is *almost* the same setup I use for all my other mods (plus local builds of CHL/LWotC), but I've made a few adjustments to avoid breaking your existing workflow. Specifically, X2MBC will only expect the Highlander at `$env:X2EMPT_HIGHLANDER_FOLDER` if an extra switch is passed into the build script, and will otherwise behave as normal.
Added MCM localization and backend implementation for X2CommunityCore/X2WOTCCommunityHighlander#1540 (plus X2CommunityCore/X2WOTCCommunityHighlander#1542 due to relevance).

TODO:
- Implement MCM toggle for armor previews. (I'm not even checking Highlander configs right now!)
- Improve code style (might not be a perfect fit for the EIR codebase yet).
- Test in my local campaign.
- Open Highlander PRs for this stuff already!
- Keep this synced with any changes to the abovementioned Highlander PRs.
- Fixed the net mitigation calculator to correctly handle the data coming from AdjustArmorMitigation.
- The armor modifier is now inserted below base weapon/ability damage.
- Added some more trace logs left over from my debugging.
- Commented out all invocations of unreleased Highlander hooks.
- Temporarily cloned CalculateMitigatedDamagePreview from my Highlander branch, to let it be used with the current live Highlander.
@DaloLorn DaloLorn marked this pull request as ready for review May 15, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants