Skip to content

Fix Cost efficiency math and add mods to breakdown - #10004

Merged
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
vaisest:fix-ce
Jul 25, 2026
Merged

Fix Cost efficiency math and add mods to breakdown#10004
LocalIdentity merged 3 commits into
PathOfBuildingCommunity:devfrom
vaisest:fix-ce

Conversation

@vaisest

Copy link
Copy Markdown
Contributor

Fixes#10003

Description of the problem being solved:

Math didn't line up with in-game where cost efficiency is added after other modifiers.

I also forgot to add the mods to the breakdown list, which I also fixed here.

Steps taken to verify a working solution:

  • Test added for flat cost
  • Old tests pass
  • Mods appear in calc tab

Link to a build that showcases this PR:

https://pobb.in/tr2e_xC5GInF

Before screenshot:

After screenshot:

@vaisestvaisest mentioned this pull request Jul 25, 2026
3 tasks
@LocalIdentityLocalIdentity changed the title Fix cost efficiency math and add mods to breakdownFix Cost efficiency math and add mods to breakdownJul 25, 2026
@LocalIdentityLocalIdentity added the bug: calculation Numerical differences label Jul 25, 2026
@LocalIdentity
LocalIdentity merged commit 592c240 into PathOfBuildingCommunity:devJul 25, 2026
3 checks passed
vaisest added a commit to vaisest/PathOfBuilding that referenced this pull request Jul 26, 2026
…munity#10004)
* Fix mana cost efficiency order of operations and add mods to breakdown
* Add life and es cost tests
* Fix RageCostNoMult mod name
DrakenKor pushed a commit to DrakenKor/PathOfBuilding that referenced this pull request Jul 27, 2026
…munity#10004)
* Fix mana cost efficiency order of operations and add mods to breakdown
* Add life and es cost tests
* Fix RageCostNoMult mod name
vaisest added a commit to vaisest/PathOfBuilding that referenced this pull request Jul 28, 2026
…munity#10004)
* Fix mana cost efficiency order of operations and add mods to breakdown
* Add life and es cost tests
* Fix RageCostNoMult mod name
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: calculationNumerical differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill Mana Cost Calculation

2 participants

@vaisest@LocalIdentity