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 repairing amount for items #65181

Merged
merged 1 commit into from
Apr 21, 2023

Conversation

irwiss
Copy link
Contributor

@irwiss irwiss commented Apr 19, 2023

Summary

None

Purpose of change

Leftover changes from #64622 that somehow got lost

Describe the solution

Repairing should just subtract 1000 damage instead of scanning for breakpoints now

Describe alternatives you've considered

Testing

Spawn item, set damage to 1000, repair, item will go from |\ to ||, then from || to ++
Apply patch
Repeat above item should go from |\ directly to ++

Additional context

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Apr 19, 2023
@irwiss irwiss force-pushed the fix-repair-amounts branch 2 times, most recently from 26eb4bb to d965a46 Compare April 19, 2023 04:59
@irwiss irwiss force-pushed the fix-repair-amounts branch from d965a46 to 49d6e17 Compare April 19, 2023 05:17
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Apr 19, 2023
@bombasticSlacks bombasticSlacks merged commit d45f115 into CleverRaven:master Apr 21, 2023
@irwiss irwiss deleted the fix-repair-amounts branch April 21, 2023 18:53
katemonster33 pushed a commit to katemonster33/Cataclysm-DDA that referenced this pull request May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants