State Damage

Is there a way to have formulas to damaging or healing states such as this thing below:

Like skill formulas, a being the person that inflicts the state and b being the person on the receiving end.

a.matk * 1.25 - b.mdf * 1

You can add many complex formulas such as missing hp ratio and such but the point stands.
not without plugins
The default only has traits as the state effects, which use negative HP regeneration to damage.

Moved to: Plugin Request
What plugins have that if I may ask? I looked for something with Yanfly plugins but could not find any.
This plugin: http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/

With some basic knowledge about Javascript, you can use lunatic mode of this plugin to make a state like you want.
http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/
http://yanfly.moe/2017/04/07/yep-131-extended-damage-over-time-rpg-maker-mv/

These plugins allow you to do a lot more with states. Extended Damage Over Time allows you to use formulas that trigger damage or regeneration every turn it's active. Note that it also requires Buffs & States Core to work.
Good, thanks I figured that out. How silly of me. Here is another thing. I want to do state categories like poison.

-Poison
-Toxic Poison
-Debilitating Poison
-Vital Poison

Whatever, you get the idea. These are all poisons so they have the poison notetags and there are many of them so I cannot make an accessory that resists all those potions so I thought of something like <Immune to State Category: Poison> but cannot find any notetags like that in that state category. Must I really make the ring resist like 10 different kind of poisons?
I've actually been waiting to do something like this for a while now. Yanfly's State Categories plugin could probably accomplish something like this if it was included in there, but right now, I don't know of anything in that plugin that does this. I'll check more closely to see if I can find anything that works, or maybe create my own plugin to tweak it a little.
Yes, you have to make a ring, or potion or state resist thoses states if you want it to resist all those states. You could if you knew javascript, use lunatic mode, to make it where it resisted all your posion states.

But how you go about it is based on the order of the posion states and the like.

Original thread: https://forums.rpgmakerweb.com/threads/state-damage.77992/