Example:
Archer Class can use "Archery" skill
I want people that are also Subclass Archer to use "Archery"
this is the code that works for the Class, but I just cannot figure out how to add the "or subclass" or else if subclass
these 2 are ways I was trying to add and it doesn't work with even the class:
Thanks for your time I appreciate it!🙂
Archer Class can use "Archery" skill
I want people that are also Subclass Archer to use "Archery"
this is the code that works for the Class, but I just cannot figure out how to add the "or subclass" or else if subclass
<Custom Show Eval>
if (user.currentClass().id === 21) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
these 2 are ways I was trying to add and it doesn't work with even the class:
<Custom Show Eval>
if (user.currentClass().id === 21) || (user.subclass().id === 21) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
<Custom Show Eval>
if (user.currentClass().id === 21) {
visible = true;
} else if (user.subclass().id === 21) {
visible = true;
} else {
visible = false;
}
</Custom Show Eval>
Thanks for your time I appreciate it!🙂