• 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

Scripts for dummies

karpomatic

Well-known member
I'm trying to add the Pistoleer Prestige Class from Ravenloft's Van Richten's Arsenal but can't figure out the scripting for the pre-reqs.

Your character needs the following to qualify for the class:
BAB: +4
Equipment: Masterwork Pistol or Musket
Feats: Exotic Weapon Prof - Firearms, Point Blank Shot, Precise Shot, Quick Draw, & Weapon Focus (Pistol or Musket).

Skills: Craft: Alchemy 4 ranks, Craft: Gunsmithing 4 ranks.

I will take any help I can get. Thanks! :eek:
 
I don't work in D20, but most of what you ask for is available by peaking at the source code for the various prestige types in the game.

for the Feats either add the proper featname to the Pick-Reqs line, one at a time you can use the find object button to find the correct one, or add to Expre-reqs the following code (Substituting the correct identifier for your feat for the feat shown)
Code:
#hasfeat[fPointBlnk] <> 0

for base attack value enter this code into expre-reqs
Code:
child[Attack].field[tAtkBase].value >= 4

For weapon focus use the following in expre-reqs. You'll need to create the weapons first as I did not see Pistol or Musket in my D20 files.
Code:
hero.tagis[WepFocus.wLongbow] + hero.tagis[WepFocus.wShortbow] <> 0

Skills would be done as follows
Code:
#skillranks[kCrafAlch] >= 4
 
Last edited:
Thanks. I already created the weapons. The data entry is the easy part. Scripting it all together boggles my mind.
 
Back
Top