PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Attacks per second calculation (on poet's pen wand) possible rounding error

Aperta
#6,839 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug: calculation
Lingua principale
Lua
Stelle
5.4k
Fork
2.4k
Merge medio
1g 12h
PR unite (30g)
26

Descrizione

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?

The trade site calculates "attacks per second" to 1.72 See here:
image

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

If you import/copy item into pob it auto calculates it to be 1.73:
image

I am guessing this is a rounding error.

How to reproduce the issue
  1. Go to trade:

https://www.pathofexile.com/trade/search/Standard/kX7n23Qi5

  1. Copy item:
Item Class: Wands
Rarity: Unique
The Poet's Pen
Carved Wand
--------
Wand
Quality: +30% (augmented)
Physical Damage: 9-17
Critical Strike Chance: 7.00%
Attacks per Second: 1.72 (augmented)
--------
Requirements:
Level: 12
Int: 47
--------
Sockets: B-B-R 
--------
Item Level: 84
--------
Quality does not increase Physical Damage (enchant)
1% increased Attack Speed per 8% Quality (enchant)
--------
15% increased Spell Damage (implicit)
--------
+1 to Level of Socketed Skill Gems per 25 Player Levels
Trigger a Socketed Spell when you Attack with this Weapon, with a 0.25 second Cooldown
Adds 3 to 5 Physical Damage to Attacks with this Weapon per 3 Player Levels
12% increased Attack Speed
--------
In every piece of prose, lies a tiny spark of magic.
--------
Note: ~price 3 exalted
  1. See that pob thinks that 1.72 should be 1.73
Character build code
No need you can do this with any character as its just the copy/paste of the item.
Screenshots

No response

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci la discrepanza importando l'oggetto Poet's Pen fornito e confrontando la velocità d'attacco di Path of Building con l'inserzione dello scambio. Segui il calcolo della velocità d'attacco dal punto di ingresso dell'importazione dell'oggetto o del calcolo, quindi verifica che il valore visualizzato corrisponda al valore previsto di 1.72 senza influire sugli altri calcoli della velocità d'attacco.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua
Ambito
game-dev
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.