• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Prerequisites “either/or”

Frodie

Well-known member
Prerequisites “either/or”

Is there a way to have a Prerequisites be “either/or”?

In other words can I have a Custom Ability and I want it to be valid to be chosen if you have a specific Archetype or another Custom Ability?
 
I think you would need to do that as an if/elseif statement in the pre-reqs window, but yes, you can OR prerequisites.
 
You can use a pipe inside a parenthetical statement too:
( <expression #1> | <expression #2> )
For example if you wanted to require Dex OR Int of 13+ for something:
Code:
( child[aDEX].field[aFinalVal].value >= 13 | child[aINT].field[aFinalVal].value >= 13 )
That would evaluate as true if either or both were 13+.
 
Uh... neither of those are tag expressions, and you'd want to omit the <>'s - sorry if that wasn't clear, I notate stuff like that out of habit.
What are you trying to do? Test for Weapon Mastery or... Profession: Soldier?
 
It's a Prerequisites for a Custom Ability, either have this Archeytype or the other Archetype.

BTW - Thank you for the help!
 
Back
Top