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,670
Reaction score
8,489
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
889
Reaction score
383
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,511
Reaction score
11,995
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 Posts

Latest Profile Posts

Jeżeli jeszcze nie subskrybujecie to byłoby nam bardzo miło.
1.png
Potrzebujemy 100 subów na niestandardowy URL.
Who wants to see my review of the worst star wars movie? This movie has all the excitement of being on Jury Duty of the most boring case ever about trade negotiations.
A lot to learn to make a game. Can I handle it?
I've been working on status effects since last thursday, and today I finished the core mechanic of Zombie, Teleport, Curse and Recall. Zombie and Curse are lacking a few things to make them complete atm. Teleport though is the "HAHA" spell for some of my mobs, but can "NOPE" at them with Recall.
I'm weird as there are a few game franchises I'll watch and read about, but have no interest in playing.

Forum statistics

Threads
115,159
Messages
1,087,728
Members
149,704
Latest member
hellboy2100
Top