Would it be possible for a critical hit to the decrease the shield count?
Any help is greatly appreciated.
I guess the plugin is obfuscated?
Does it work if you put in your action sequences that if the result was critical, add element the opponent is weak against (or afterward deal additional 1 damage with an element the enemy is weak against - I'm not sure at what point all the stuff is calculated)?
Or open the plugin file and try to see if there's something that'd help you guess what property is set to the battlers for the shields (and what functions you might have to call to update the value and do something if it goes to zero).
Just some ideas, haven't used this myself.
If the code is obfuscated, you can't add into it what it does when it reads that notetag.
You can check for a critical hit with: target.result().critical
But I don't know if you'll get the timing working with that break shield plugin. If you want to try the 'add element' route, I'd google how you can roll the critical chance before the attack connects and then add the element at the very start.
You could also try to (after the original skill hit), change the reference to another skill that has that 'decrease break shield' and then run that effect. But I have no idea at what point the plugin is reading those notetags.