So using the Toxic code from Trihan's How to implement every possible Yanfly Tips & Tricks effect in MZ I want it to start from the percentage and tick down every turn instead of ticking up. Here's the code from the thread:
<JS On Add State>
this._toxicCounter = 1;
</JS On Add State>
<JS Pre-Regenerate>
const n = this._toxicCounter / 16;
const value = Math.floor(n * target.mhp);
this._toxicCounter++;
target.gainHp(-value);
</JS Pre-Regenerate>
<JS On Add State>
this._toxicCounter = 1;
</JS On Add State>
<JS Pre-Regenerate>
const n = this._toxicCounter / 16;
const value = Math.floor(n * target.mhp);
this._toxicCounter++;
target.gainHp(-value);
</JS Pre-Regenerate>