- Joined
- May 30, 2015
- Messages
- 35
- Reaction score
- 3
- First Language
- English
- Primarily Uses
Hi, I'm trying to use Lunatic Mode on Yanfly's Buffs State Core plugin to apply state 2 after state 1 ends. Here's what the plugin documentation says:
<Custom Remove Effect>
code
code
</Custom Remove Effect>
I'm not sure exactly what goes in the code section. I know it's supposed to be javascript, but I don't know where to go to learn what to add. So far I've found this document and tried:
$gameActors.actor(actorId).addState(14);
this.actor.add_state(14);
a.add_state(14);
user.add_state(14);
target.addState(14);
My best guess is that I'm using the wrong code to refer to the affected actor.
<Custom Remove Effect>
code
code
</Custom Remove Effect>
I'm not sure exactly what goes in the code section. I know it's supposed to be javascript, but I don't know where to go to learn what to add. So far I've found this document and tried:
$gameActors.actor(actorId).addState(14);
this.actor.add_state(14);
a.add_state(14);
user.add_state(14);
target.addState(14);
My best guess is that I'm using the wrong code to refer to the affected actor.
Last edited:
