Hey
I started RPG maker (MV) recently and now I'm trying to learn more about plugins and Javascript.
So I tried to vary, how the HP in YEP base parameter control plugin works.
Original line:
(base + plus) * paramRate * buffRate + flat
My try:
Somehow my HP always turn to 1 after changing that. When i increased variable 12 and refreshed map, my hp didn't increase. So I'm doing something wrong, but I can't find out what exactly.
Would appreciate a bit of help.
I started RPG maker (MV) recently and now I'm trying to learn more about plugins and Javascript.
So I tried to vary, how the HP in YEP base parameter control plugin works.
Original line:
(base + plus) * paramRate * buffRate + flat
My try:
Code:
(base + plus + user.isActor() ? ($gameVariables.value(12) : 0)) * paramRate * buffRate + flat
Somehow my HP always turn to 1 after changing that. When i increased variable 12 and refreshed map, my hp didn't increase. So I'm doing something wrong, but I can't find out what exactly.
Would appreciate a bit of help.