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

Automate increase and decrease to item repair #15915

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jesuisfrog
Copy link
Contributor

Added automation for the repair macro.

It will now check the new "repairValue" data point under actor.system.crafting to allow for customization of the amount of HP that can be repaired with the macro. The default is set to 5 as per the base repair action.

Crafter's Eyepiece has been updated with two new rules to add to repairValue and to add a flavor note about the updated repair numbers.

This should close #10958

(Apologies for the two closed PRs, I had some issues with them but it's all resolved now)

@stwlam
Copy link
Collaborator

stwlam commented Sep 2, 2024

This looks could, but would you mind making it crafting.repair an object with a lone value field? Then we won't have regret later if there is other repair-related data we want to track.

@jesuisfrog
Copy link
Contributor Author

@stwlam Made the requested change!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increases and decreases to item repair should be automated
3 participants