- Joined
- Nov 27, 2015
- Messages
- 31
- Reaction score
- 3
- First Language
- English
Hi all!
I'm trying to use a custom formula that checks an actors %hp and then triggers a state based on the result of the check. I'm using Yanfly's Auto-Passive Traits, here is what I have
<Custom Passive Condition>
if (actor(1).hp / actor(1).mhp <= 0.10) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>
It returns a "Range Error Maximum Call Stack Size Exceeded" error.
T___T I don't know what to do please help if you can. Any other advice/links you could offer on general battle script command and such would be amazing too. Thanks for your time forum! I really do appreciate it
~Moo
I'm trying to use a custom formula that checks an actors %hp and then triggers a state based on the result of the check. I'm using Yanfly's Auto-Passive Traits, here is what I have
<Custom Passive Condition>
if (actor(1).hp / actor(1).mhp <= 0.10) {
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>
It returns a "Range Error Maximum Call Stack Size Exceeded" error.
T___T I don't know what to do please help if you can. Any other advice/links you could offer on general battle script command and such would be amazing too. Thanks for your time forum! I really do appreciate it
~Moo


