Skip to content

update mana efficiency mod on Militant Faith trade search - #10219

Closed
Trifall wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
Trifall:fix/10191-militant-faith-cost-efficiency
Closed

Trifall wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
Trifall:fix/10191-militant-faith-cost-efficiency

Conversation

@Trifall

@Trifall Trifall commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #10191

Description of the problem being solved:

The Militant Faith 'Skill Cost' devotion modifier was generating trade searches for the legacy '#% reduced Mana Cost of Skills per 10 Devotion' modifier. Jewels dropped from 3.29 onward instead have '#% increased Mana Cost Efficiency per 10 Devotion'.

The trade modifier mapping now uses the current Mana Cost Efficiency trade stat. Legacy Militant Faith jewels remain supported in existing builds.

Steps taken to verify a working solution:

  • Updated the Militant Faith 'Skill Cost' trade mapping to use '#% increased Mana Cost Efficiency per 10 Devotion'
  • All tests passed (523 tests)

Link to a build that showcases this PR:

N/A

Before screenshot:

Screenshot_20260814_021800

After screenshot:

Screenshot_20260814_021617 Screenshot_20260814_021404

[11] = "explicit.stat_2830135449",
[12] = "explicit.stat_2042813020",
[13] = "explicit.stat_3293275880",
[13] = "explicit.stat_1355915086",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P1] Keep the finder item and Trade filter aligned

Codex traced this entry through the Trade query builder: selector id 14 is still labelled Skill Cost, and TimelessJewelListControl still generates 1% reduced Mana Cost of Skills per 10 Devotion, but this line maps that same selection to explicit.stat_1355915086 (#% increased Mana Cost Efficiency per 10 Devotion). The focused headless probe confirms that both modifier forms parse into real mods, id 14 produces the legacy item, and slot 13 contains the current id; TreeTab.lua:2289-2292 then copies that slot unchanged into the Trade filter.

PR #10276 now covers this same objective with separate legacy/current options, matching generated item variants, and the exact current Trade id. #10219 is therefore functionally superseded on this point rather than requiring a separate correction here.

@LocalIdentity

Copy link
Copy Markdown
Contributor

Fixed in #10276

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.

Militants Faith Timeless Jewel generate modifiers

3 participants