• 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

Need help with a trait

djwilson2

Member
Hi All,

I am creating a trait that offers the option of:
  • a +1 bonus to one ability score
  • +2 skill points per level
  • +1 hit point per level

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.rcPFTAb098

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.
 
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.
 
alright, so in the editor make a copy of raAttr1Sel and see how it works (Click "New (Copy)" instead of just new)
 
alright, so in the editor make a copy of raAttr1Sel and see how it works (Click "New (Copy)" instead of just new)

Hi AndrewD2,

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.
 
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.
 
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.
 
Back
Top