I've came up with a lot of complicated regen states with the help of you guys and some on my own but I really am stumped on this one and it's probably simpler than I imagine...
I have a state called Black Flames (this could be any state but this is the one Im using for right now)
Normally it just takes away -7% HP per turn. but I want it to have a regeneration effect that checks if the Opposing party (whether it's player or enemy) has someone affected by state 102, if it does, the party with the state 102 will regenerate 1% HP and MP per turn.
This is my note tag so far
Notetag for Black Flames:
<State Animation: 477>
<Category: ailment>
<Custom Regenerate Effect>
if (user.isStateAffected(102)) {
user.gainHp(Math.floor(user.mhp * 0.01))
user.gainMp(Math.floor(user.mmp * 0.01))
}
else {
}
</Custom Regenerate Effect>
usually it does something but is checking for a passive state different or am I doing something wrong?
I have another question involving another skill and YEP Skill Core but I will ask that after this is potentially figured out
I have a state called Black Flames (this could be any state but this is the one Im using for right now)
Normally it just takes away -7% HP per turn. but I want it to have a regeneration effect that checks if the Opposing party (whether it's player or enemy) has someone affected by state 102, if it does, the party with the state 102 will regenerate 1% HP and MP per turn.
This is my note tag so far
Notetag for Black Flames:
<State Animation: 477>
<Category: ailment>
<Custom Regenerate Effect>
if (user.isStateAffected(102)) {
user.gainHp(Math.floor(user.mhp * 0.01))
user.gainMp(Math.floor(user.mmp * 0.01))
}
else {
}
</Custom Regenerate Effect>
usually it does something but is checking for a passive state different or am I doing something wrong?
I have another question involving another skill and YEP Skill Core but I will ask that after this is potentially figured out