PathOfBuildingCommunity / PathOfBuilding

Offline build planner for Path of Exile.
https://pathofbuilding.community
Other
3.96k stars 2.07k forks source link

Frostblink is not included in FullDPS #7460

Open test544 opened 5 months ago

test544 commented 5 months ago

Check version

Check for duplicates

How is Path of Building expected to behave?

Any skill marked as "include in fullDPS" to be shown in FullDPS section, but default frostblink gem is not

How does Path of Building behave?

Pob doesn't show FullDPS section; nor include Frostblink if the section is enabled from other skill

How to reproduce the issue

Character build code

https://pobb.in/ktiaLSvc5pwV

Screenshots

изображение

note: I understand that skill dps is quite unstable, but even basic approximation AverageHit * TooltipCooldown would be nice to have, as i can tune cooldown as i need via custom modifiers

sida-wang commented 5 months ago

Dev notes from my debugging session yesterday in case someone is working on this before I can finish it tonight.

Most of the DPS calculations in CalcOffence.lua use something along the lines of Damage * Speed * Other multis The speed term used is (globalOutput.HitSpeed or globalOutput.Speed).

In the case of Frostblink, because this is an instant skill, output.Speed = 0 in L1982 and the else section that sets the speed if there is a cooldown L2121 doesn't get run (would need to be modified anyway). globalOutput takes the values from output for future passes.

This is affects output.TotalDPS in L3235 which results in the DPS being 0. Note that appropriate change would be to fix the output.Speed term so that other instances of the speed term is handled appropriately e.g. it's also used for poison calcs.