darkmatter404

Villager
Member
Joined
Feb 2, 2014
Messages
28
Reaction score
4
First Language
English
Primarily Uses
So I'm trying to make a system where your HP and MP are controlled directly by your Constitution and Wisdom stats. The idea is that your MP will be 2x your Wisdom and your HP will be 10x your Constitution. Using the base parameter control, I went into the max MP formula and modified it to this:

(base + plus) * paramRate * buffRate + flat + (user.luk * 2)

Luck is the stat im turning into wisdom (because wisdom also affects status chance, so it has to be luck), but when I test out a battle, my characters just have their MP calculated normally. I've made sure this is the correct wording, spacing, brackets, etc but it still doesnt work. Any ideas?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,695
Reaction score
8,496
First Language
German
Primarily Uses
RMMV
please give link to the plugin you're using, a screenshot of your plugin manager and tell us which version your projects rpg_core.js file is (open it with any text editor to read that)
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
916
Reaction score
394
First Language
english
Primarily Uses
RMMV
i assume your using yanfly's base param control?
you might have better luck using the extension plugin class parameters.
then you can use variables for VIT/WIS/STR/DEX/INT/MND/LUK
<Custom Class Parameters>
stat = level * v[x]+ y;
stat = ......
......
</Custom Class Parameters>
change x to the variable use for that character's stat and change y to that class's LV1 base HP.
if using a class change system you'll have to make 4 of every class so that each character has its own thing.
just remember to set those variables when the game starts up. and battle test wont have the variables
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,512
Reaction score
11,997
First Language
English
Primarily Uses
RMVXA
[move]Javascript/Plugin Support[/move]
 

darkmatter404

Villager
Member
Joined
Feb 2, 2014
Messages
28
Reaction score
4
First Language
English
Primarily Uses
Got it working on a new project, I don't know why it didn't work but I think I've solved it. Thanks for the help.
 

Latest Threads

Latest Profile Posts

Doing RPG Maker News for 21st September 2021


Malak is still waiting for Dark Deception Chapter 4... This was him yesterday after another sugar crash.
Again, he's fine. He's just bored at this point, considering he's exhausted his entire vacation bucket list.
Am I the only one who files custom resources under specific folders to remember who to credit? :kaoswt2:
1632263519730.png
I always smile to myself when I see someone do the "immediate halt and spin around" from forgetting something. I find it sort of endearing how we all do it without ever being taught to.

Forum statistics

Threads
115,262
Messages
1,088,438
Members
149,864
Latest member
ratbyte
Top