Hello everyone,
I recently decided to add to my project a shield that counterattacks when the wearer is hit by a physical blow and adds a burn state, the only problem is that everything works except the code that is supposed to add the burn state.
I'm using Yanfly Buffs & States Core (and I have a very poor knowledge of Java scripts).
Here's my (very basic) code:
<Custom React Effect>
if (this.isPhysical()) {
use.addState(13);
}
</Custom React Effect>
Thank in advance for your help !
I recently decided to add to my project a shield that counterattacks when the wearer is hit by a physical blow and adds a burn state, the only problem is that everything works except the code that is supposed to add the burn state.
I'm using Yanfly Buffs & States Core (and I have a very poor knowledge of Java scripts).
Here's my (very basic) code:
<Custom React Effect>
if (this.isPhysical()) {
use.addState(13);
}
</Custom React Effect>
Thank in advance for your help !