Greetings!
I just bought HeroLab at Gen Con, and I'm setting up houserules for my Pathfinder group (I can't wait for the datasets since we start next week, so I'm doing it myself. It's a good way to learn the system, if nothing else.)
Anyway, I'm adding Feats, and one of them has a prerequisite that the character *not* have another specific feat. How would I go about this? I tried this script:
But I get an error:
"Syntax error in 'pre-requisite rule' script for Thing 'fCityBorn' on line 3 -> invalid use of a reserved word in script."
I suspect the problem is that I'm not allowed to use the #hasfeat[] macro in an if statement. If that is the case, how can I check for the feat "the long way"? If not, what am I doing wrong, and is there a better way to go about this?
Thanks!
--Emmanuel
I just bought HeroLab at Gen Con, and I'm setting up houserules for my Pathfinder group (I can't wait for the datasets since we start next week, so I'm doing it myself. It's a good way to learn the system, if nothing else.)
Anyway, I'm adding Feats, and one of them has a prerequisite that the character *not* have another specific feat. How would I go about this? I tried this script:
Code:
valid = 1
if(#hasfeat[fLoneWolf]==1)
@valid = 0
endif
if(#hasfeat[fCountryBo]==1)
@valid = 0
endif
But I get an error:
"Syntax error in 'pre-requisite rule' script for Thing 'fCityBorn' on line 3 -> invalid use of a reserved word in script."
I suspect the problem is that I'm not allowed to use the #hasfeat[] macro in an if statement. If that is the case, how can I check for the feat "the long way"? If not, what am I doing wrong, and is there a better way to go about this?
Thanks!
--Emmanuel