Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,088

Old July 16th, 2010, 08:47 AM
Ok, I'm blanking on this. One of the advanced/prestige classes for D20 Modern has the following requirements to be taken:

Quote:
Requires: Craft(Chemical) or Craft (Electrical) of 6+ ranks; Knowledge (Earth/Life Sciences) or Knowledge (Physical Sciences) or Knowledge (Technology) of 6+ ranks; Research 6+ ranks
I know it would be three expreq with the #skillranks[] macro, but just having trouble with the 'OR' bits...

Suggestions?

Thanks!
TC
TCArknight is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,585

Old July 16th, 2010, 09:47 AM
If you need OR, you'll need to use a prereq, rather than an exprreq.

Code:
 
validif (#skillranks[Craft(chemical)] >= 6)
validif (#skillranks[Craft(electrical)] >= 6)
(Replace the names with the proper Ids, of course)

That way, if either test is good, the validif will set the prereq to valid and exit the script, which gets you "OR" behavior.
Mathias is offline   #2 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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