Junior Member
Join Date: Sep 2012
Posts: 11
|
Hi All,
I am creating a trait that offers the option of:
I know how to make a trait that chooses between 3 skills, but that procedure does not seem to work with the stat modification above. Here is the fields and script that I tried: Field: [Field id] : usrCandid1 [Value]: thingid.raAttr1Sel|thingid.pSklPtsLev|thingid.rcPF TAb098 Script: doneif (tagis[Helper.FtDisable] <> 0) ~a +1 bonus to one ability score, +2 skill points per level, or +1 hit point per level. #applybonus[BonTrait,field[usrChosen1].chosen,1] Any help would be greatly appreciated. |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Do you know anything that lets you gain +1 to an attribute? Maybe the human racial ability? Make a copy of that item and check out the expression.
|
#2 |
Junior Member
Join Date: Sep 2012
Posts: 11
|
According to the bootstrap catalog (dropdown) "raAttr1Sel" is used to add +1 to one ability score.
|
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
alright, so in the editor make a copy of raAttr1Sel and see how it works (Click "New (Copy)" instead of just new)
|
#4 |
Junior Member
Join Date: Sep 2012
Posts: 11
|
Quote:
The raAttr1Sel works fine, my issue is the script to be able to select one of the options (+1 Attribute, +2 Skill Pts/level or +1 hp /level). The script I have posted in the original post shows a script that works great with skills but does not seem to work with special adjustments. What I need is to find out what I am doing wrong with my script that is preventing me from being able to select a option. The script above does offer the selection box but nothing is available to be selected. |
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
This sounds much simpler as three different traits - let the user pick the one they want, and then use exprreqs to make sure they don't pick more than one.
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
If you are going to keep it as one trait, you'll need two selectors - the first will be a menu-based drop-down where the user chooses which option they want, and the second will only be used if the user picks attribute, in which case it will offer a list of attributes for the user to select from.
|
#7 |
|
|