Boosting HP based on DEF and MDF

ButtAlien

Villager
Member
Joined
Mar 17, 2019
Messages
12
Reaction score
0
First Language
English
Primarily Uses
RMMV
I've created a state (active at level 35) that boosts the characters HP based on their Def and Mdf. Currently it does increase the HP by the expected amount, but there are two issues that I don't understand.

1. The character's current HP doesn't completely fill the new max hp. Without the passive state, the character has 1280/1280 hp. With the state, the character has 1404/1459 hp.

2. Whenever I uses a potion on the character (+250 HP) it increases the character's max hp. The first potion makes the character's HP 1473/1473 on use. Then, once i return to the main menu, the characters hp is listed as 1473/1487.

Any idea why this may be happening? My state notetag code is written below.

<Custom Passive Condition>
if (user.level >= 35) {
condition = true;
user.addParam(0,.01*user.def + .01*user.mdf);
} else {
condition = false;
}
</Custom Passive Condition>
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,045
Members
137,569
Latest member
Shtelsky
Top