• 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

Prestige Class Prerequisites

thegneech

Member
I am noodling around with the demo version; if I can figure out how to bash in my game's various nonstandard prestige classes, I expect I'll be picking up the full copy of HeroLab and switching my game over to Pathfinder.

I went through the basic class-creating tutorial provided in the help, but the one big hole I'm finding, when trying to create a prestige class, is how to add prerequisites. For instance, the class in question has BAB +6 as one of its prerequisites. So in the "Class" tab I clicked on the "Pre-Reqs" button and entered my guest guess:

@valid = 0

if (#value[tAtkBase] >= 5) then
@valid = 1
endif

Unfortunately, this wasn't right, returning the error:

Syntax error in 'pre-requisite rule' script for Thing 'cHelpWpM' on line 3
--> Non-existent thing 'tAtkBase' used by script.

--

NOTE: I tried to create the class as a duplicate of the Duelist PrC, since that also has a BAB pre-req and I figured I'd just crib the code from that. Unfortunately, creating a class this way seems to strip the pre-requisites. Is there somewhere I can see a working model of a PrC with pre-reqs in place?

Thanks!

-The Gneech :cool:
 
The prereqs are on the class level, not the class itself - make a copy of the class level for duelist (which doesn't require going through the new class macro), and you can see its prereqs (actually, you'll find them all in the expr-reqs, which are a subset of prereqs).
 
Back
Top