Is it possible to create an element which is invisible to the player or a state which reduces damage of certain types of attacks.

I have a plugin for a monster book which shows all the elements, I'm looking to have certain types of attacks do less damage for example a sound based move. Is there any way to have it so I could make all sound based moves do reduced damage without it counting as an element so it does not show up on the monster manual?
Why wouldn't you simply make the sound-based skills do less damage according to their damage formulae?

Like, if most of your skills do 4*a.atk-2*b.def then you make these do 3*a.atk-2*b.def or...whatever.

Or you can make the enemies who use these skills have lower stats to deal damage with. There are a number of ways to do this that have nothing to do with making an element.
Why wouldn't you simply make the sound-based skills do less damage according to their damage formulae?

Like, if most of your skills do 4*a.atk-2*b.def then you make these do 3*a.atk-2*b.def or...whatever.

Or you can make the enemies who use these skills have lower stats to deal damage with. There are a number of ways to do this that have nothing to do with making an
My idea is to have it so certain enemies or allies have specific resistences, for example something with impaired hearing or no ears would take reduced damage/no damage, or a poison enemy taking reduced damage from a move with a poison theme. Rather than the move just being weaker I'd want to have it where in certain circumstances it is weaker.
you could have passive states and your skills would check if a battler has a state (i.e. the "resistance") and reduce damage properly.

i dont know if youre using yanflys plugins (basically, everyone is) but, with them, you would set a passive state called sound resistance and use in the custom damage formula:
Code:
if(target.isStateAffected(skillIdHere)){value = Math.floor(value * 0.5);}

no element created.
you could have passive states and your skills would check if a battler has a state (i.e. the "resistance") and reduce damage properly.

i dont know if youre using yanflys plugins (basically, everyone is) but, with them, you would set a passive state called sound resistance and use in the custom damage formula:
Code:
if(target.isStateAffected(skillIdHere)){value = Math.floor(value * 0.5);}

no element created.
That is great thank you, I am using yanflys plugins so it shouldn't be an issue

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-create-an-element-which-is-invisible-to-the-player-or-a-state-which-reduces-damage-of-certain-types-of-attacks.148609/