Percent bonus / Base Parameter

Hi everyone,


It's surely a very simple question for lot of people, and surely the answer is somewhere on internet BUT, it's now 2AM30 and I searched the answer since now 3h :'(


I want that an armor gives a percent bonus to the Hero's base HP, and the percent is based on a variable, I tried this (forgive me I really don't know what I'm doing !) :


I use Yanfly - Equip Core plugin

Code:
<Custom Parameters>
maxhp = ($gameVariables.value(41) / 100) * $gameActors.actor(1).param_base(0);
</Custom Parameters>

Thanks a lot.
"param_base" is a method from VXAce rgss, the equivalent on RMMV Javascript is "paramBase".
It works perfectly, thanks for your time.

Original thread: https://forums.rpgmakerweb.com/threads/percent-bonus-base-parameter.56906/