- Joined
- Jan 14, 2022
- Messages
- 5
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- RMMZ
I would like to make a state that wears off when the character affected by the skill attacks, not is attacked. Is there any way to do this?
I'm not using any plugins rn, and I'd like it to wear off when the character uses any attacking skill as well as basic attack.Yeah, there are ways to do it. Are you currently using any plugins? And do you have an objection to plugin-based solutions? And by "attack" do you mean when they use the basic attack command only? Or also when they use any type of damaging skill/spell? Or also when they use any skill/spell period?
<JS Post-Damage as User>
user.removeState(stateID);
</JS Post-Damage as User>
stateID
with the numerical ID of the state (excluding any leading zeros).