• 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

Problem with Pre-reqs

I'm trying to program in a prestige class. All going well, except for the prereqs. I copy from the Useful Macros and adjust at necessary:

if (#skillranks[skHeal] >= 5) then
@valid = 1
endif

to get it to require a min of 5 ranks in Heal. It goes under the Pre-reqs button. Compiles fine. Goto test it and it acts like there's nothing there. I check the .user file and the code is there with the tags around it.

Attempt 2:

I delete the previous code and confirm that its gone from the .user. Goto Mounted Combat and see what it has. It has a line of code under Expr-reqs instead. I figure this is the new version. Paste and adjust as necessary to be:

#skillranks[skHeal] >= 5

and it doesn't correctly. I confirm with the .user that the line of code being balked at is the line that this is on.

So I'm lost. Suggestions, please?

Thanks,
 
Prereqs/exprreqs for classes go on the Class Level tab, rather than the Class tab. (Unfortunately, since everything else about a class but the description text goes on the class tab).
 
Back
Top