PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Arcane Surge Buff Effect Rounding Error

Open
#6,235 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 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 is the value from the calculation in-game?

+0.14 lightning damage per mana spent * 1.1 (Buff effect) = 0.154

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

0.1

When buff effect reaches a breakpoint of 50%, the value returns to 1.2. Any increase after that until +120% buff effect, returns only 1.2.

This reduction is reflected in flat lightning damage and guard value provided in calcs. Thus, why I noticed it

How to reproduce the issue

Change Arcane Cloak buff effect until each break point is achieved

Character build code
https://pobb.in/019Qx6URYTyi
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

Reproduce the calculation with the linked character build and vary Arcane Cloak buff effect through the reported breakpoints. Compare Path of Building's Arcane Surge value with the in-game values and inspect the calculation path for buff effect, flat lightning damage, and guard value. Done means the displayed values track the reported in-game scaling across the breakpoints.

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.