Passive State that is immune to other states?

Hello and thank you for your time! Ive been all over google for this and cant find anything so ill give this a shot.
What ive been trying to do is make a caveman class with alot of passive states but not many attacking skills.
---
What im trying to do is create a passive skill or trait called ( Fearless )
And if the actor has that as a passive state or in their class i guess it will
make actor immune to the ( Frightened ) or ( Feared ) States
So i guess if an enemy uses the skill ( Threatening Shout ) - Makes Target in Frightened state
It wouldnt work on an actor with ( Fearless ) as a passive skill or Trait.
simple - a state can have any trait, and one possible trait is resistance to a specified other state.
Just add that trait to the fearless state and no one will be able to apply the fear state to the actor having that state.

Original thread: https://forums.rpgmakerweb.com/threads/passive-state-that-is-immune-to-other-states.81265/