Im making a blocking bar, replaced TP with it(YEP_EnhancedTP). Its supposed to increase when guarding moves and each move deals different guard bar damage, when the bar is full it should auto apply a state (Guardbroken) automatically.
I've been trying to check other threads and stuff but i just cant seem to make it work.
Guarding is a State so if you're guarding the damage is set to 0 and the guard bar goes up. That's all the details.
edit:
ive hit a dead end, this one should work but it doesn't i really don't know anymore
<Custom React Effect>
if (target.isStateAffected(2)) { // the state you get from guarding
target.gainTp(10); // Adds 10 TP to the target if state guard
}
</Custom React Effect>
is should work but i don't know what's wrong. Using YEP_BuffsStatesCore.
I've been trying to check other threads and stuff but i just cant seem to make it work.
Guarding is a State so if you're guarding the damage is set to 0 and the guard bar goes up. That's all the details.
edit:
ive hit a dead end, this one should work but it doesn't i really don't know anymore
<Custom React Effect>
if (target.isStateAffected(2)) { // the state you get from guarding
target.gainTp(10); // Adds 10 TP to the target if state guard
}
</Custom React Effect>
is should work but i don't know what's wrong. Using YEP_BuffsStatesCore.