RPG Maker Forums

Hello, I'm using http://yanfly.moe/2016/03/04/yep-78-special-param-formula-rpg-maker-mv/


I'm trying to do a custom exp formula basead on the level of the char and a value of a variable. Each level above the value of a variable, the char gets -10% exp.


My code is:


(base + plus) * rate + flat - (Math.ceil(user.level - $gameVariables.value(1), 0) * 0.10)




Yet no matter what I do, I aways get 70%. I'm using Math.ceil to get the hights value (diff or 0) and multiply it for 0.10 (aka 10%).


I'm doing something wrong?

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top