[core] Fix hp and mp visible gear latents #5832
Draft
+48
−51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I affirm:
What does this pull request do?
This PR adds the functionality for two rare types of latent gear. Specifically MP_UNDER_VISIBLE_GEAR and HP_OVER_VISIBLE_GEAR which are used by Uggalepih Pendant and Parade Gorget respectively. Retail testing can be see for example here and JP Wiki.
Still in draft as I figure out how this will interact with another PR I am making to fix other latent and HP issues.
Steps to test these changes
Calculate your HP or MP given only the +HP or +MP in the defined slots (SLOT_MAIN, SLOT_SUB, SLOT_RANGED, SLOT_AMMO, SLOT_BODY, SLOT_HANDS, SLOT_LEGS, SLOT_FEET) and then, with the pendant, for example, check your MATT at different MPs near 51%