PDA

View Full Version : Choice of PreReqs


Adammar
March 6th, 2009, 08:40 PM
How does one give a choice of PreReqs

ie. Warrior of the Wild feat requires STR or DEX over 13. Data has STR as 13, I add DEX of 13 and it requires both.

Thanks

rob
March 7th, 2009, 01:39 AM
How does one give a choice of PreReqs

ie. Warrior of the Wild feat requires STR or DEX over 13. Data has STR as 13, I add DEX of 13 and it requires both.

To test an "OR" condition, you should leave the Strength required blank and add an "ExprReq". The "ExprReq" uses an expression to verify the requirement and CAN include Boolean operations. For example, testing that either the Strength OR Dexterity is 13 should yield an ExprReq that looks like the following:

(#trait[attrStr] >= 13) | (#trait[attrDex] >= 13)