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,371
Reaction score
8,395
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
749
Reaction score
337
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,475
Reaction score
11,943
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

Just a little close up shot...
w2xZocX.jpg
finally drew the last member of "team outcast" for my game. since my game has a lot fighting game elements in it, there's bosses in teams of three like King of Fighters.
What do you guys think about Survival mechanics in games (Hunger, thirst, etc.)?
Do you find them to be an enjoyable obstacle or a bit of a nuisance?

Asking for a friend... :stickytongue:
Run Script Calls & Play Unique Sound Effects With Each Skill & Item | RPG Maker News #113

Let's continue making our game in MZ! Touchfuzzy is... still eventing... though this time we may be working on eventing some tutorial stuff for our players!

Forum statistics

Threads
113,852
Messages
1,077,933
Members
147,932
Latest member
balthier
Top