MV ATB Meter Refill based on Weaknesses/Resistance? - YEP Engine ATB

Hi all! I have some experience with RPG Maker but recently got into MV and am trying to make my own little project. I want to create something akin to Press-Turns from Shin Megami Tensei, but with ATB instead of outright lifting it. Basically, how (if at all) would I go about configuring this plugin so that when the elemental rate of an enemy is set to a certain percentage, the ATB meter automatically will refill by X amount based on the damage dealt? If someone could help me out with this I would greatly appreciate it, thanks.

Original thread: https://forums.rpgmakerweb.com/threads/atb-meter-refill-based-on-weaknesses-resistance-yep-engine-atb.154100/