- Joined
- Jan 24, 2019
- Messages
- 26
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMMV
Hello! Is there a way to use states to check for misses in MV? Ideally I want to check and apply a state counter for each miss, but "if (b.result().missed){" doesn't seem to work w/Custom Action Effects such as <Custom Initiate Effect> or
<Custom Conclude Effect>, likely due to how misses/evasion are calculated. I'm using all of yanfly's plugins and Buffs & States Core.
I tried this as well just in case but it's a lot less specific than i was hoping:
my original attempt:
<Custom Conclude Effect>, likely due to how misses/evasion are calculated. I'm using all of yanfly's plugins and Buffs & States Core.
I tried this as well just in case but it's a lot less specific than i was hoping:
Code:
<Custom Confirm Effect>
if (value < 0 && this.isHpEffect()){
user.addStateCounter(538, 1);
user.clampStateCounter(538, 0, 3);
}
</Custom Confirm Effect>
my original attempt:
Code:
<Custom Confirm Effect>
if (b.result().missed){
user.addStateCounter(538, 1);
user.clampStateCounter(538, 0, 3);
}
</Custom Confirm Effect>