[C++] [lua] Implement Automaton Equalizer#10335
Merged
Merged
Conversation
Implements the automaton attachment Equalizer
45ec6bd to
eed8b48
Compare
Xaver-DaRed
approved these changes
Jun 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?
Implements the automaton attachment equalizer. It's a bit of a weird attachment, but it generates a damage reduction value(for physical damage) based on the amount of max HP you have, and the size of the hit - making it most effective when you're using a low HP automaton (like a mage type) and taking a very large hit. The damage reduction it can provide is capped at 90%. I was having trouble getting the damage reduction just right, but discovered adding a floor to damage reduction after its calculated results in a 100% accurate damage reduction when compared to retail.
Fixes a bug I created with the trait Stout Servant when I moved automaton mods to lua, now uses "addMod" instead of "setMod" so that they stack correctly, this should be completely safe as every newly created automaton is a dynamic entity.
LSB Local : 1 Earth Maneuver, Valoredge Frame Lv99 vs. 1000 Needles

Retail : 1 Earth Maneuver, Valoredge Frame Lv99 vs. 1000 Needles

Source
https://wiki.ffo.jp/html/9585.html
Steps to test these changes
Equip Equalizer, use Earth Maneuvers, see it reduce really high damage abilities by a lot (try something like Death Scissors)