MV [Solved] State that Forces Incoming Damage to Always Equal Set Value?

Been exploring plugins and the script call master list, and I can't find any way to implement this.

I essentially want to hijack Yanfly's Absorption Barrier plugin to cause it to force all damage an actor takes to always be 1 while the barrier is active to turn it into something of an attack-negation count rather than a simple "shields" system. My initial thoughts upon having this idea were, "I see this plugin has a parameter which specifies that any actor with a barrier is affected by X state. If I can make X state force all incoming damage to be 1, then I can do this," but it's the "make that X state clamp incoming damage to 1 at both maximum and minimum" that's giving me trouble.

What's the best way to go about this (if it's even possible at all)? Any and all help appreciated.

Something to keep in mind: Any solution must involve the state being removed the moment the barrier hits zero to allow subsequent attacks on the enemy's turn to go through to damage HP normally.

(Also, this is my first time posting a thread. I believe this is the right place to post it, but I'm not 100% sure. Sorry in advance if it's not.)
It seems you're looking for the Damage Shelter/Ceiling effect from Yanfly's Lunatic Protection Pack.

The Damage Ceiling effect provided by default has any damage dealt to the target filtered down to a specific Max HP amount (eg. if you hit a person with 5000 HP with a damage shelter of 10%, they'll only take 500 damage no matter what), provided I haven't mixed up my notes. I edited the VX Ace version so it included fixed damage ceilings for certain states, but I'm not as proficient with Javascript so oops.
It seems you're looking for the Damage Shelter/Ceiling effect from Yanfly's Lunatic Protection Pack.

The Damage Ceiling effect provided by default has any damage dealt to the target filtered down to a specific Max HP amount (eg. if you hit a person with 5000 HP with a damage shelter of 10%, they'll only take 500 damage no matter what), provided I haven't mixed up my notes. I edited the VX Ace version so it included fixed damage ceilings for certain states, but I'm not as proficient with Javascript so oops.
Yeah, this is one of the things I looked at, but the fact that it only seems to be multiplicative rather than providing static ceilings/floors made me shy away from it since I'm not sure it'll round correctly in all cases (and I assume just cutting out the "%" in the plugin parameters proooobably doesn't work like that).

EDIT:
I've discovered that what I want to do can be done with Hime's State Damage Modifiers plugin fairly easily (with a simple "return 1" note tag, no less). I still don't know if I can use their plugins commercially (Sent a request, but no response yet), but that's a different topic entirely. Would like to mark this thread for closure.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-state-that-forces-incoming-damage-to-always-equal-set-value.152702/