Link Max HP to Other Stat?

I'm just full of questions! Is it possible for one stat to affect the value of Max HP? Think D&D, where you add your Constitution modifier to your hp every level. I'm not using the M.Def stat in my game and have that slot free for this purpose, IF it is possible. Thank you all in advance! 👋

For another example, Dragon Quest III, where your HP is 195-200% of your Vitality.
I believe the easiest way to achieve this would be http://www.yanfly.moe/wiki/Base_Parameter_Control_(YEP)
I believe the easiest way to achieve this would be http://www.yanfly.moe/wiki/Base_Parameter_Control_(YEP)
Would you mind explaining how to use this? I changed the Max HP formula to mdf * 2 and it just reduced the hp of all party members to 1. 😅

Edit: Never mind, figured it out. Thank you for your help!

Edit again: For anyone who finds this seeking an answer, the trick is to change the Max HP formula to a.mdf * 2.

Original thread: https://forums.rpgmakerweb.com/threads/link-max-hp-to-other-stat.147843/