Yo! I have a sweet spell in my project which can only be used if caster is under specific state. There is the note:
<Custom Requirement>
if (a.isStateAffected(25)) {
value = true;
} else {
value = false;
}
</Custom Requirement>
Question is: Is it possible to make this skill require state from above (25) OR another specific state (for example: state 26)?
Like, you know "you can use this spell only if you have at least one of following states: 25, 26"
I hope that I explained it clearly enough. Thanks for your time!
Kisses
xoxo
<Custom Requirement>
if (a.isStateAffected(25)) {
value = true;
} else {
value = false;
}
</Custom Requirement>
Question is: Is it possible to make this skill require state from above (25) OR another specific state (for example: state 26)?
Like, you know "you can use this spell only if you have at least one of following states: 25, 26"
I hope that I explained it clearly enough. Thanks for your time!
Kisses
xoxo