So I have certain skills that require the caster to be afflicted with two specific states before they can be cast. I can get it to work with one state, but can't quite figure out how to apply it with a two-state restriction. For single-state restriction, I use this:
<Custom Requirement>
if (user.isStateAffected(x)) {
value = true;
} else {
value = false;
}
</Custom Requirement>
Is there some way to adjust this to achieve the two-state restriction? I'd appreciate the help, thank you ^^
<Custom Requirement>
if (user.isStateAffected(x)) {
value = true;
} else {
value = false;
}
</Custom Requirement>
Is there some way to adjust this to achieve the two-state restriction? I'd appreciate the help, thank you ^^