Skip to content

Conversation

@koolkrafter5
Copy link

Blood Iron Caps now reduce the LP cost for the blood cores' regen and cause the Weakness 3 effect when used as a weapon, just like the Alchemical Caps.

Blood Wood Cores already match the .startsWith("blood") for the Weakness check and have their own logic for Blood Iron Caps, so nothing needs to be changed to support them.

Also cleaned up all of the wand update classes.

…ce the LP cost for the blood cores' regen and cause the Weakness 3 effect when used as a weapon just like the Alchemical Caps.

Blood Wood Cores already match the .startsWith("blood") for the Weakness check and have their own logic for blood iron caps, so nothing needs to be changed to support them.
Clean up c-style array declarations
Use enhanced for loops
Rename ignored exception variables and remove redundant returns
@koolkrafter5 koolkrafter5 added the enhancement New feature or request label Aug 13, 2025
Copy link

@Nikolay-Sitnikov Nikolay-Sitnikov left a comment

Choose a reason for hiding this comment

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

You might also want to put the ItemWandCasting into a variable in these functions, but that's up to you.

Copy link

@Nikolay-Sitnikov Nikolay-Sitnikov left a comment

Choose a reason for hiding this comment

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

Whoops, chose wrong option while filing the review.

…w superclass

Cache max vis checks
Unroll some if blocks
Replace Throwable with Exception
Fix position rounding for tainted rod
Use ternary operators where relevant
Replace repeated profane contract requests with a local variable
@koolkrafter5 koolkrafter5 requested a review from a team August 18, 2025 12:20
@Dream-Master
Copy link
Member

@Nikolay-Sitnikov

@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Oct 1, 2025
@koolkrafter5 koolkrafter5 added the safe for stable Bugfix with low break chance for patch releases label Oct 7, 2025
@koolkrafter5 koolkrafter5 changed the title Support Blood Iron Caps from Blood Arsenal Wand Cap and Core Refactor Oct 8, 2025
Some still check against the name, notably blood_iron from Blood Arsenal and ones that check if the name *starts with* a certain phrase, like .startsWith("blood") to match multiple different cores.
Copy link

@Nikolay-Sitnikov Nikolay-Sitnikov left a comment

Choose a reason for hiding this comment

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

Other than one code design question, all is good.


@Override
protected int regenTimer() {
return 40;

Choose a reason for hiding this comment

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

Perhaps regenTimer should be a field that is set in the base constructor, instead of being an overrideable method?

@Dream-Master Dream-Master merged commit 8807501 into master Oct 12, 2025
1 check passed
@Dream-Master Dream-Master deleted the bloody-caps branch October 12, 2025 19:05
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request safe for stable Bugfix with low break chance for patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants