MV Trying to make States that uses both Yanfly Absorption Barrier and Extended DOT

Hello!

I wanted to make a state that deals DOT.
I can use Yanfly's plugin with it and it works great!
But now I want to use Absorption Barrier too, and it ignores the barrier, which is not what I want for this specific DOT State.

I've found Turan's Tweak for this so that DOT will not penetrate Absorption Barrier.
That's great! But what if I wanted to make another state besides this one, and want that DOT to actually penetrate?

The plugin tweak, unfortunately, prevents that even though I placed notetags for damage penetration from Absorption barrier.

Is there another way to do this without using the plugin tweak?
You could create the dot as a normal buffs and states effect instead of the dot plugin. A dot created that way would only interact with things if you make it. So youll have to add in math to handle variance, element rates, etc., *not* make it interact with barriers, and then make it deal its damage during regenerate or turn end.
If it sounds workaroundy, thats cause it is. i dont use ether barrier or the ext dot plugins 😛
Please always show us what you have that you're trying - without seeing the code you already have, we're guessing as to what to add or change.

The notetags for damage penetration can have nothing to do with it. They are on a skill, to say this skill penetrates, or on a trait object attached to a battler, saying this battler's skills penetrate. They are not on the state on the target saying stuff from this state penetrates.

There's not an easy way around it - you could do what @Robro33 suggests and code all of it (all the Extended DoT functionality and all of the barrier functionality) into your states.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-states-that-uses-both-yanfly-absorption-barrier-and-extended-dot.163617/