Is it possible to lower a party members Max HP during battle?

Basically in a boss battle the boss curses the player and they start losing their life.

Can you make an attack that reduces max HP instead of actually causing damage that can be fixed with a heal spell?
I am fairly sure you can lower maxhp using the parameters with a State.

And then you can add that state to be cured by the heal spell.
yes you can. There's a debuff for maxhp in traits/features.
Thank you both for the help ^_^

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-lower-a-party-members-max-hp-during-battle.51448/