dmccoy1693
Member
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,
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,