MZ Flat, stackable DOTS plugin

for my game one of the core mechanics is stacking damage overtime effects. So I have been trying to make a state where you take 20 damage every turn and if you get this state another time, it does +20 damage. So for example 4 stacks of this state will do 80 damage every turn. HOWEVER it seems that you cant do flat damage through states without a plugin and you would also need a plugin for stackable states. I haven't been able to find anything. Am I just going to have to learn how to code? Is there something in rpgmaker mz that will allow me to do this without a plugin that I missed? Am I a stupid idiot? HELP!
HOWEVER it seems that you cant do flat damage through states without a plugin and you would also need a plugin for stackable states...Am I just going to have to learn how to code?
I don't understand the connection between these sentences. The whole point of using a plugin is that you don't have to learn how to code, it's already done for you.

The answer is yes, you need a plugin, and no, you don't have to learn how to code.

The solution to your problem involves some code, but it's very simple so I don't see why you'd need to learn anything.

You'd use VisuStella Skills and States. On the state added by your skill, give it these notetags:
Code:
<JS On Add State>
target._dotStacks ??= 0;
target._dotStacks++;
</JS On Add State>

<JS On Erase State>
delete target._dotStacks;
</JS On Erase State>

<JS Slip Refresh>

<JS HP Slip Damage>
damage = target._dotStacks*20;
</JS HP Slip Damage>
I don't understand the connection between these sentences. The whole point of using a plugin is that you don't have to learn how to code, it's already done for you.

The answer is yes, you need a plugin, and no, you don't have to learn how to code.

The solution to your problem involves some code, but it's very simple so I don't see why you'd need to learn anything.

You'd use VisuStella Skills and States. On the state added by your skill, give it these notetags:
Code:
<JS On Add State>
target._dotStacks ??= 0;
target._dotStacks++;
</JS On Add State>

<JS On Erase State>
delete target._dotStacks;
</JS On Erase State>

<JS Slip Refresh>

<JS HP Slip Damage>
damage = target._dotStacks*20;
</JS HP Slip Damage>
THANK YOU
YOU SAVED MY LIFE
I OWE YOU MY FIRSTBORN CHILD!

Original thread: https://forums.rpgmakerweb.com/threads/flat-stackable-dots-plugin.161249/