Skip to content

Mana cost rounding errors. #9015

Description

@nikitkuzi

Check version

  • I'm running the latest version of Path of Building and I've verified this by checking the changelog

Check for duplicates

  • I've checked for duplicate open and closed issues by using the search function of the issue tracker

Check for support

  • I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).

What platform are you running Path of Building on?

Windows

What is the value from the calculation in-game?

  1. Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63
  2. Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana. Total mana cost should be 168

What is the value from the calculation in Path of Building?

  1. Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63, but its 62 in POB. In the calculation tab it shows that it multiplies by 4.19999.
  2. Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana. Total mana cost should be 168, but its 171 in the POB. In the calculation tab it shows that base mana cost is 57 (14 + 43). 43 comes from Archmange support with 850 unreserved mana. 850 * 0.05 = 42.5. So total base cost should be 56.

How to reproduce the issue

  1. Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63
  2. Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana.

PoB for PoE1 build code

https://pobb.in/vUucOnSt7-P4

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions