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
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
