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

Fix Flesh and Stone + Maim Support stacking #3929

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

Lothrik
Copy link
Contributor

@Lothrik Lothrik commented Jan 20, 2022

Fixes #2861

Description of the problem being solved:

Flesh and Stone stacks with Maim Support, but only when they're linked together. Currently in PoB Maim Support will stack with Flesh and Stone regardless of what skill its linked to.

Steps taken to verify a working solution:

  • Activate Flesh and Stone. Activate Ancestral Warchief.
  • Check DPS on Earthquake.
  • Enable Maim Support on Ancestral Warchief. DPS on Earthquake should remain unchanged.
  • Enable Maim Support on Flesh and Stone. DPS on Earthquake should go up.

Link to a build that showcases this PR:

https://pastebin.com/9QTmEqmS

@Lothrik Lothrik changed the title Fix Flesh and Stone + Maim stacking Fix Flesh and Stone + Maim Support stacking Jan 20, 2022
@Lothrik Lothrik added the bug Something isn't working label Jan 20, 2022
Copy link
Member

@Wires77 Wires77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't the right approach. We don't want to introduce skill-specific logic in the calc functions if we can avoid it. The function if modLib.compareModParams(mod, destMod) then in mergeBuff is most likely returning false and not choosing the stronger maim. If we fix that, they'll no longer stack, though, so I'm not sure what the best solution is. We don't have preSkill function calls in CalcPerform, otherwise I'd say that would be the way to go.

Debuffs probably work this way in the general sense, but this is the only support interaction that it happens on, so the code should probably be changed to stack debuffs if they come from the same source

@Lothrik Lothrik force-pushed the fix-flesh-and-stone-maim-stacking branch from 278ff70 to cde2d46 Compare February 3, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flesh and stone maim and maim from a different source stack
2 participants