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

HK: Recalculate effects on Remove to fix split cloak #4025

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

qwint
Copy link
Contributor

@qwint qwint commented Oct 3, 2024

What is this fixing or adding?

alternative to #4024 that looks a lot less graceful but should cover any potential situation
has the same tests as 4024 but approaches the collect/remove fundamentally differently
Note: also has the same bonus caveat in 4024, that the rework will also just rewrite this approach as well.

the approach is simply define logic for calculating the effects based on the full items, and recalculate the effects whenever an item in collect/removed that would affect them

How was this tested?

run the added tests

If this makes graphical changes, please attach screenshots.

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Oct 3, 2024
@Exempt-Medic Exempt-Medic added the is: enhancement Issues requesting new features or pull requests implementing new features. label Oct 3, 2024
@qwint qwint marked this pull request as draft November 27, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: enhancement Issues requesting new features or pull requests implementing new features. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants