I got solution for you, though you need most of the Yanfly battle plugin to work:
YEP_BuffStatesCore
www.yanfly.moe
Yanfly_BaseParamControl
www.yanfly.moe
1. Create 2 states, one for the damage dealer, one for the receiver. For the first state, just leave it blank. For the second one, make sure to tick [Remove at Battle End].
2. At the start of the battle, apply the first state to the dealer and second state for the whole party.
3. Put this into the second state notetag :
Spoiler: NOTETAG
<Custom Apply Effect>
target._originalHP = target.mhp;
target._destroyedHP = target._destroyedHP || 0;
</Custom Apply Effect>
<Custom Victory Effect>
target.addMaxHp(target._destroyedHP);
target._originalHP = undefined;
target._destroyedHP = undefined;
</Custom Victory Effect>
<Custom Escape Effect>
target.addMaxHp(target._destroyedHP);
target._originalHP = undefined;
target._destroyedHP = undefined;
</Custom Escape Effect>
<Custom Defeat Effect>
target.addMaxHp(target._destroyedHP);
target._originalHP = undefined;
target._destroyedHP = undefined;
</Custom Defeat Effect>
<Custom Respond Effect>
if (value > 0 && this.isHpEffect() && attacker.isStateAffected(id)) { //change ID to dmg dealer state
var scale = 0.35; //Destroy Max HP by this percentage of damage dealt
var hardcap = 0.35; //Maximum HP allowed to be destroyed
var allowed = target._originalHP - Math.ceil(target._originalHP * hardcap);
var destroyamount = Math.ceil(value * scale);
var accumulative = target._destroyedHP + destroyamount;
if (accumulative > allowed) {var destroyamount = (allowed - target._destroyedHP)};
target._destroyedHP += destroyamount;
target.minusMaxHp(destroyamount);
}
</Custom Respond Effect>
4. Change the number inside notetag to your need.
This will make the dealer destroy his target Max HP, as long as he has the first state applied.
If you want only the certain attack which reduce Max HP, make sure to ONLY apply the first state when using said attack, then remove it afterward.