Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - 4th Edition (http://forums.wolflair.com/forumdisplay.php?f=60)
-   -   Choice of PreReqs (http://forums.wolflair.com/showthread.php?t=8327)

Adammar March 6th, 2009 08:40 PM

Choice of PreReqs
 
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

Quote:

Originally Posted by Adammar (Post 29710)
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)


All times are GMT -8. The time now is 05:38 PM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.