MV Yanfly DoT Stacking "problem"

Hi guys, I need help for a Yanfly "tips and tricks".

DoT Stacking uses Buff and States Core of Yanfly to cause states to stack every time you inflict it again.

So far, it's working like a charm but I want to know if there is a way to show the number of stacks in the state icon (like he did with turn numbers and so on).

Ty in advance!

DoT page: http://www.yanfly.moe/wiki/Damage_Over_Time_Stacking_(MV_Plugin_Tips_&_Tricks)
theres a state counter feature that lets you display information on the state icons. you can use it to show your stacks by setting it whenever the state is applied

Code:
<Custom Apply Effect>
// Make sure the stack count exists.
target._stackingPoison = target._stackingPoison || 0;
// Increase the stack count.
target._stackingPoison += 1;
target.setStateCounter(stateId, target._stackingPoison); //you dont need to change anything
</Custom Apply Effect>
Nvm, I misread lol.
theres a state counter feature that lets you display information on the state icons. you can use it to show your stacks by setting it whenever the state is applied

Code:
<Custom Apply Effect>
// Make sure the stack count exists.
target._stackingPoison = target._stackingPoison || 0;
// Increase the stack count.
target._stackingPoison += 1;
target.setStateCounter(stateId, target._stackingPoison); //you dont need to change anything
</Custom Apply Effect>
theres a state counter feature that lets you display information on the state icons. you can use it to show your stacks by setting it whenever the state is applied

Code:
<Custom Apply Effect>
// Make sure the stack count exists.
target._stackingPoison = target._stackingPoison || 0;
// Increase the stack count.
target._stackingPoison += 1;
target.setStateCounter(stateId, target._stackingPoison); //you dont need to change anything
</Custom Apply Effect>
THANK YOU, I HAD COMPLETELY MISSED THE SETSTATECOUNTER AHAHAHA.

Thank you very much, maybe I'm still sleepy XD

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-dot-stacking-problem.173315/