Hello people.
I'm trying to make a game mechanic where:
>Battlers with 0 MP are afflicted with State A
>Battlers that receive damage while afflicted with State A are in turn afflicted with State B.
I decided to make State A into a passive using Yanfly's Buff & State Core & AutoPassiveStates plugins.
This is what I put in the Notes section:
See anything wrong with it? Because my non-coder ass just can't seem to make it work.
Thanks a bunch.
I'm trying to make a game mechanic where:
>Battlers with 0 MP are afflicted with State A
>Battlers that receive damage while afflicted with State A are in turn afflicted with State B.
I decided to make State A into a passive using Yanfly's Buff & State Core & AutoPassiveStates plugins.
This is what I put in the Notes section:
Code:
<Passive Condition: MP Below 1>
<Custom React Effect>
if (this.isHpEffect() && value > 0) {
target.addState(10);
}
</Custom React Effect>
See anything wrong with it? Because my non-coder ass just can't seem to make it work.
Thanks a bunch.