Applying state despite no damage done?

Greetings RPGmaker forumites,

I was recently testing the new Non-Lethal Mechanics in one of My games and discovered Despite an attack not doing damage to a character, a Poison state was still being applied.

Is there any way to prevent a state from being applied if no damage is done?

I will post Screen caps if needed.
effects and damage are different by default, but if you check the pinned topic you will find one that explains how to use the damage formulae for something else.

that is what you need to do here - calculate the damage in the damage formula, check if it is zero or higher, and then only add the state if the result is higher.

I can't give you the exact code (VXA is too long gone for me), but basically:
r=usual damage formula; if r>0 addstate and damage; nothing if not
https://ovate.github.io/andar-tips/ <--- This one, Andar?
no - I meant one of the topics pinned in this forum, not something I linked in my signature
I see, very well I'll have a look around, Thank You.

Original thread: https://forums.rpgmakerweb.com/threads/applying-state-despite-no-damage-done.145820/