One option is to take advantage of a parameter in the Barrier plugin. The parameter applies a state whenever a barrier is active on a battler. Combined with Buffs & States Core, we can try something like this:
<Custom Remove Effect>
if ($gameParty.inBattle()) {
user.addState(BrokenShieldID);
}
</Custom Remove Effect>
From there, make another state (Replace BrokenShieldID with the ID number of this state) that lowers Evade, Crit Evade, and restricts movement. I would strongly recommend ending both states on battle end. Fair warning, I'm not certain that it will take off both states at battle end if done this way, but give it a shot and see what happens.
You have both states saying that they remove on restriction. The second state will remove itself when applied because of this. Start by removing the second state's Remove by Restriction check (And possibly the first, but I'm not sure of your exact plan) and see if that helps.
Nope, even then, it's still not applying the state.
There is a Javascript function that comes with the Absorption Barrier Plugin "battler.barrierPoints()" which "Returns the total amount of Barrier Points the battler has."
Been trying different things with it myself, to no favorable results. Would that even help me at all in this case?
Have you checked the console when testing? If something is wrong, it will throw an error in the console that you can look at. One of the F keys (F7 maybe? I'm not certain which one) should open the console.
No error popped up in the console when the "Shield Active" state was removed. Used Yanfly's Engine Core to open it upon startup.
Update
So, I began experimenting to make sure the script would work in other scenarios outside of the use of Yanfly's State Parameter that came with the Absorption Plugin.
Using Troop Eventing, I set it so that at Turn 0, the enemy would apply the "Shield Active" State, and would be removed the moment it had 99% HP or less, and nothing else. With the script shockra suggested in the "Shield Active" State notebox, the enemy lost the "Shield Active" State via Troop Eventing, and the "Shield Break" State was added due to the Script in the previously mentioned notebox.
This has lead me to the conclusion that the script didn't work because the Absorption Barrier Plugin removed the state in a way that the Buffs & States Plugin couldn't recognize. So, a different method without the plugin's State Parameter will need to be used unless stated otherwise.
Update 2
So I figured I'd do a rather tedious workaround method by removing the "Shield Active" State with a skill using Yanfly's Action Sequence Pack 1. Removing the state in this manner does indeed work with the <Custom Remove Effect> in the "Shield Active" State's Notebox. Now all I need to do figure out an If Statement to use on the skill's notebox to make it so that if the enemy's Barrier Points is 0, then the "Shield Active" State will be removed. So maybe something like this.
<target action>
action effect
if (b.barrierPoints()<=0)
remove state 9: target
end
</target action>
Any help here?