Skip to content

Respect spell cooldowns for traps/mines while calculating DPS - #10335

Merged
LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
AdamZ-8113:fix/trap-cooldown-dps
Oct 29, 2026
Merged

LocalIdentity merged 2 commits into
PathOfBuildingCommunity:devfrom
AdamZ-8113:fix/trap-cooldown-dps

Conversation

@AdamZ-8113

Copy link
Copy Markdown
Contributor

Fixes #10334

Description of the problem being solved:

Skills supported by Trap, Blastchain Mine, or High-Impact Mine would calculate hit DPS using their throwing rate without checking the spell's cooldown.

This adds a check modeled after other similar checks in CalcOffence.lua. I believe Totems and other proxies are already properly supported.

Steps taken to verify a working solution:

  • Check Full DPS before and after the patch, comparing self cast / trap / mine supported versions of Frost Bomb

Link to a build that showcases this PR:

https://pob.codes/b/WrERGRSB92V

Before screenshot:

image

After screenshot:

image

@LocalIdentity LocalIdentity added the bug: calculation Numerical differences label Oct 29, 2026
@LocalIdentity
LocalIdentity merged commit f80040c into PathOfBuildingCommunity:dev Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: calculation Numerical differences

Projects

None yet

Development

Successfully merging this pull request may close these issues.

trap support bypass cooldown when calculating hit DPS

2 participants