What I am trying to do is a passive skill which when the user is affected by x state increases one of its parameters. I'm pretty sure it can be done with some yanfly engines but I do not know how to put them all together and make it work, in any case I hope to read any kind of help.
*Edit: To give an example, in pokemon exist these abilities "guts" and "marvel scale".
Guts raises the ability-bearer's Attack by 50% when inflicted by a major status ailment (poison, burn, paralysis, freeze or sleep).
Marvel Scale raises the ability-bearer's Defense by 50% when inflicted by a major status ailment (poison, burn, paralysis, freeze or sleep).
*Edit: To give an example, in pokemon exist these abilities "guts" and "marvel scale".
Guts raises the ability-bearer's Attack by 50% when inflicted by a major status ailment (poison, burn, paralysis, freeze or sleep).
Marvel Scale raises the ability-bearer's Defense by 50% when inflicted by a major status ailment (poison, burn, paralysis, freeze or sleep).