MV State duration goes down when hit.

basically, i'm making a state that stuns a character. whenever the character is hit, the state duration goes down by one. I don't want this. I want the state duration to be unaffected by character getting hit. How do I do this?
A state duration going down when a character is hit is not a built-in mechanic. If you're seeing it happen, you must have a plugin that modifies how states work.

Please show your plugin list and the definition of the stun state.
here ya go

Original thread: https://forums.rpgmakerweb.com/threads/state-duration-goes-down-when-hit.182589/