PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Damage over time calculations not being affected by Damage Taken As Other conversion

Open
#7,319 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: behaviour
Dominant language
Lua
Stars
5.4k
Forks
2.4k
Avg merge
1d 12h
Merged PRs (30d)
26

Description

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 behaviour is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What is the behaviour in-game?

When using items that change damage taken to another damage type, (E.g. 40% of Physical Damage taken as Fire Damage), 40% of all physical damage, including damage over time, is taken as another type of damage.
This other type of damage is mitigated accordingly by resistances and other sources of damage reduction against damage over time.

What is the behaviour in Path of Building?

The Effective Phys DoT pool is not updated appropriately when equipping Cloak of Flame.

In the example I'm using, under Dots and Degens it shows the calculation of Physical DoT Taken, as follows:
DoT taken: x 0.9 (accounting for soul of arakaali pantheon)
Total Pool, 2,737 (Life: 1 - Non-bypassed energy shield: 2,736, TotalPool: 2,737)
Effective DoT Pool: 3,041 (Dot Damage Taken Modifier: 0.90, Total Effective Dot Pool: 3,041)

However, when adding cloak of flame, or even taking off any chest armour and just adding 40% of Physical Damage taken as Fire Damage to the Custom Modifiers, the Effective DoT Pool remains unchanged.

How to reproduce the issue

Use a build where fire resistance is higher than flat physical damage reduction
Either equip an item that modifies physical damage taken into another damage type, or add "40% of Physical Damage taken as Fire Damage" to the Custom Modifiers.
See Dots and Degens section within Calcs.

Character build code
https://pobb.in/Y28YlO5grrIB
Screenshots

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the linked character build or a Custom Modifier for 40% of Physical Damage taken as Fire Damage, then trace the Dots and Degens calculations. Compare the Effective Phys DoT pool before and after the conversion; done means the converted portion is mitigated by fire resistance and the effective pool updates accordingly.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.