- Joined
- Feb 13, 2018
- Messages
- 5
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
am currently making a partner special similar to the ones used in Neptunia Rebirth, I want to restrict the skill with custom requirement by checking if not only that the two required party members are alive but also if they are in Battle/Active members.
I tried finding a solution on my own but I keep getting errors, am not really experienced with js code but I try what I can to use what I do know.
<Custom Requirement>
if !$gameActors.actor(1).isStateAffected(1)) and !$gameActors.actor(2).isStateAffected(1) {
value = true;
} else {
value = false;
}
</Custom Requirement>
I tried finding a solution on my own but I keep getting errors, am not really experienced with js code but I try what I can to use what I do know.
<Custom Requirement>
if !$gameActors.actor(1).isStateAffected(1)) and !$gameActors.actor(2).isStateAffected(1) {
value = true;
} else {
value = false;
}
</Custom Requirement>


