Problem with HRG, MRG and TRG

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
557
Reaction score
232
First Language
english
Primarily Uses
RMMV
are these regens from a passive state? a passive state could have a condition to only work in battle.
<Custom Passive Condition>
if ($gameParty.inBattle()) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>

this is a cut/paste of just part of a state condition someone else helped me setup. it should work but i still dont fully understand this stuff
 

Maliki79

Veteran
Veteran
Joined
Mar 13, 2012
Messages
803
Reaction score
350
First Language
English
Primarily Uses
N/A
Yeah. I just noticed the Buff and States core completely bypasses the defalut regenerate functions that I rewrote. If it is the Buff/States core, it should be a very easy fix but one that has to be done on a per state basis.
 

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,970
Reaction score
846
First Language
French
It's not a passive state.
It's given via equipment (for instance a ring with HRG = 1%).
 
Last edited:

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,713
First Language
English
Primarily Uses
RMVXA
Still think the simplest thing is just to inflict the state which grants regen as an automatic thing on turn zero of each battle (within a conditional to check if Charmed is present) with the setting that it expires at the end of battle. Is there a specific reason why this wouldn't work for you?
 

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,970
Reaction score
846
First Language
French
It doesn't work because I've got many different pieces of equipment that modify HRG and the rest.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,254
Reaction score
1,254
First Language
Spanish
Primarily Uses
RMVXA
just to make sure, remove YEP, and go directly to the regeneration section.
if you comment out onTurnEnd(), it should make a difference.

from there, we can be sure YEP is the thing to be fixed.
 

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,970
Reaction score
846
First Language
French
I removed this.onTurnEnd(); from the function in a brand new project and the regen didn't occur.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,254
Reaction score
1,254
First Language
Spanish
Primarily Uses
RMVXA
ok, so now go through all the plugins you have, and make sure only YEP triggers that.
that's isolating the problem.
 

Indinera

Indie Dev
Veteran
Joined
Mar 13, 2012
Messages
1,970
Reaction score
846
First Language
French
Okay I'll try to identify it.
 
Last edited:

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,543
Members
137,834
Latest member
EverNoir
Top