PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Possible incorrect DPS calculation for Ball Lightning of Static

Open
#10,166 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug: calculation
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 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?

Test setup: Level 20 Ball Lightning of Static gem with no equipped gear and no passive skill points allocated. A cooldown was added to make PoB display exactly 1 cast per second.

According to the PoE Wiki, Ball Lightning of Static can hit the same target 13 times over its fixed 2-second lifetime.

PoB shows an Average Hit of 255.2.

Therefore:

255.2 × 13 = 3,317.6 total damage over the full 2-second lifetime

Since PoB displays Hit DPS (damage per second), I would expect the damage from those 13 hits to be divided by the 2-second duration:

3,317.6 / 2 = 1,658.8 DPS

However, PoB appears to use all 13 hits for its DPS calculation, effectively treating the damage dealt over the full 2-second lifetime as if it were dealt within 1 second.

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

.

How to reproduce the issue

No response

PoB for PoE1 build code
https://pobb.in/6bd23JAGArgD
Screenshots

No response

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

Start with the PoE1 build code at https://pobb.in/6bd23JAGArgD and trace how Ball Lightning of Static's hit count, fixed 2-second lifetime, and Hit DPS are combined. Reproduce the level 20 no-gear setup with one cast per second, then verify that the 13 hits are distributed across the full lifetime rather than treated as one second of damage.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.