Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display resource costs per second #5199

Merged
merged 14 commits into from
Dec 8, 2022

Conversation

Lilylicious
Copy link
Contributor

Fixes #5144

Description of the problem being solved:

This PR reuses the resource cost per second code added for link skills. If the selected skill does not currently have a cost per second, but it does have a static cost as well as a attack/cast speed or a cooldown, calculate and display the cost per second.

Steps taken to verify a working solution:

  • Checked the following skill/skill types:
  • Arc (self cast)
  • Sweep lifetap (life cost attack)
  • Flame link (normal over time cost)
  • Clarity (mana reservation)
  • Explosive trap (trap skill)
  • Anger divine blessing (mana reservation turned into cost)
  • Frostblink (instant with cooldown)
  • Flame dash (not instant with cooldown)
  • Stormblast Mine (mine)
  • Cyclone CoC Arc (trigger skill)

All of the above work as expected, including when mana/speed/cooldown are changed.

Link to a build that showcases this PR:

Literally any, but https://pobb.in/g6747fS_PsdW

Before screenshot:

image

After screenshot:

image

@QuickStick123 QuickStick123 added the enhancement New feature, calculation, or mod label Dec 6, 2022
@QuickStick123
Copy link
Contributor

This was the only other odd behaviour but it is nothing to worry about
image

@LocalIdentity LocalIdentity merged commit 241c2b8 into PathOfBuildingCommunity:dev Dec 8, 2022
Paliak added a commit to Paliak/PathOfBuilding that referenced this pull request Dec 8, 2022
Wires77 pushed a commit that referenced this pull request Dec 9, 2022
* FEAT: Stop disabling aura effects when unreserved mana is negative. Add
a warning for when LifeCost or ManaCost is higher than avilable pool.

* FEAT: Make mana cost warnings show for all enabled active skill gems not
just mainSkill.

* FIX: generalize match condition for cost coloring.

* FIX: Add support for mana cost warning for triggered skills.

* FIX: fix copy paste typo.

* FEAT: implement warnings for energy shield and rage cost. Minor tweaks.

* Apply suggestions from code review

Co-authored-by: QuickStick <[email protected]>

* FIX: Add better handling for eldrich battery. Minor tweaks.

* FIX: fix other costs missing from top level cache table.

* FIX: add compatibility with #5199

Co-authored-by: QuickStick <[email protected]>
LocalIdentity pushed a commit that referenced this pull request Dec 9, 2022
… costs. (#5247)

* FEAT: Stop disabling aura effects when unreserved mana is negative. Add
a warning for when LifeCost or ManaCost is higher than avilable pool.

* FEAT: Make mana cost warnings show for all enabled active skill gems not
just mainSkill.

* FIX: generalize match condition for cost coloring.

* FIX: Add support for mana cost warning for triggered skills.

* FIX: fix copy paste typo.

* FEAT: implement warnings for energy shield and rage cost. Minor tweaks.

* Apply suggestions from code review

Co-authored-by: QuickStick <[email protected]>

* FIX: Add better handling for eldrich battery. Minor tweaks.

* FIX: fix other costs missing from top level cache table.

* FIX: add compatibility with #5199

* FIX: mana warnings showing up when using EB

* FIX: remove per second cost warning

Per second cost warnings are hard to make accurate to due the amount of
recovery sources avilable both in poe and in pob.

Co-authored-by: QuickStick <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, calculation, or mod
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Total mana cost per second
3 participants