• 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

Limiting a choice

EightBitz

Well-known member
One of the DMs in our group has created his own race. One of the racial abilities is that they get a +2 to either Charisma or Intelligence.

Is this an easy thing to implement? I was looking through the editor, and I saw the racial ability for humans (+2 to any Ability score), but I didn't see an obvious way to limit that choice to certain abilities.
 
What can be selected is controlled by the candidate expression field on a special. For example, if you wanted to choose from all physical attributes, you could use this for your candidate expression:

component.BaseAttr & AttribCat.Physical

If you wanted to limit it to just Charisma or Intelligence, it would be

component.BaseAttr & (IsAttr.aCHA | IsAttr.aINT)

For racial specials, the field which stores the candidate expression is usrCandid1
 
What can be selected is controlled by the candidate expression field on a special. For example, if you wanted to choose from all physical attributes, you could use this for your candidate expression:

component.BaseAttr & AttribCat.Physical

If you wanted to limit it to just Charisma or Intelligence, it would be

component.BaseAttr & (IsAttr.aCHA | IsAttr.aINT)

For racial specials, the field which stores the candidate expression is usrCandid1

Perfect. Thank you.
 
Back
Top