• 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

Custom Prestige Class Prereqs?

Pezmerga

Well-known member
Where are Prestige Class prereqs defined in the hero lab editor? I tried looking at other prestige classes, but I don't see anything, not even code.

If I wanted a prestige class to have these requirements how would I do so?
Weapon Finesse
+2 BAB
and 3 Ranks in Acrobatics.
 
Where are Prestige Class prereqs defined in the hero lab editor? I tried looking at other prestige classes, but I don't see anything, not even code.
In the editor they are defined as part of the "Class Level" tab. They are most usually part of "Expr-reqs".

If I wanted a prestige class to have these requirements how would I do so?
Weapon Finesse
#hasfeat[fWepFin] <> 0

child[Attack].field[tAtkBase].value >= 2

and 3 Ranks in Acrobatics.
#skillranks[skAcrobat] >= 3
 
In the editor they are defined as part of the "Class Level" tab. They are most usually part of "Expr-reqs".


#hasfeat[fWepFin] <> 0


child[Attack].field[tAtkBase].value >= 2


#skillranks[skAcrobat] >= 3

Ah ok, I was trying to put it in the class tab. Thanks
 
What if I wanted the prereq to be one of two skills at 3 ranks.

For instance either 3 ranks in bluff or 3 ranks in diplomacy as a prereq.

I know that you use:
Code:
tagis[Hero.WildShape] + #hasability[cRgrNatura] + #hasability[xLyChange] <> 0
to verify if one of those abilities is present, but this doesnt translate to skill ranks.
 
What if I wanted the prereq to be one of two skills at 3 ranks.

For instance either 3 ranks in bluff or 3 ranks in diplomacy as a prereq.
You would need to use a "Pre-reqs" script instead with the script looking like this:
Code:
var total as number
if (#skillranks[skBluff] >= 3) then
   total +=1
endif
if (#skillranks[skDiplo] >= 3) then
   total +=1
endif
~ Valid if either Bluff or Diplomacy is found
validif (total >=1)
 
Shadow, there's actually a much faster way to write that:

Code:
validif (#skillranks[skBluff] >= 3)
validif (#skillranks[skDiplo] >= 3)

Since validif includes a "done" (it's just doneif that also sets @valid = 1), if you have the bluff ranks, it won't even look at the diplomacy ranks, but if you don't have the bluff ranks, it will check the diplomacy ranks.
 
Can you think of anything in the core rulebook that already has a restriction of 3 metamagic or item creation feats? Seeing how to write that restriction, can you remove the item creation part and reduce it from 3 to 1?




(The Lore Master Prestige Class)
You can copy the Class Level entry for a class, which is where the prereqs are, without going through the normal class creation wizard.
 
Back
Top