Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Morphaeon
Junior Member
 
Join Date: Nov 2016
Location: Florida
Posts: 3

Old April 11th, 2018, 02:14 PM
Hi everyone!

I'm trying to create a subclass that can pick a dexterity based skill and receive a proficiency bonus to it.

I made it as a racial special ability, but I'm a little lost as to how to make a drop down that shows all of the dexterity based skills, and then add the proficiency bonus to it.

Any help is greatly appreciated!
Morphaeon is offline   #1 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old April 11th, 2018, 04:00 PM
I would first suggest that you create this as a class special rather than a racial special, since applying a racial ability as a class bootstrap can confuse you when you're troubleshooting later.

Secondly, you can put this in as a Custom Expression down in the Item Selection area:

SkillAbil.aDEX (remember to restrict this list to All Picks on Hero)

Any skill that uses DEX will have this tag on it.

You would then need to write a script that looks like the following in post-levels/10000 timing or so:

Code:
      if (field[usrChosen1].ischosen <> 0) then
        tagexpr = field[usrChosen1].chosen.tagids[ProfSkill.?," | "]
        foreach pick in hero from BaseSkill where tagexpr
          perform eachpick.assign[Helper.Proficient]
          nexteach
I haven't tested this code, but it's close to what you want to do or should get you pointed down the path.
dungeonguru is offline   #2 Reply With Quote
Morphaeon
Junior Member
 
Join Date: Nov 2016
Location: Florida
Posts: 3

Old April 11th, 2018, 04:25 PM
Quote:
Originally Posted by dungeonguru View Post
I would first suggest that you create this as a class special rather than a racial special, since applying a racial ability as a class bootstrap can confuse you when you're troubleshooting later.

Secondly, you can put this in as a Custom Expression down in the Item Selection area:

SkillAbil.aDEX (remember to restrict this list to All Picks on Hero)

Any skill that uses DEX will have this tag on it.

You would then need to write a script that looks like the following in post-levels/10000 timing or so:

Code:
      if (field[usrChosen1].ischosen <> 0) then
        tagexpr = field[usrChosen1].chosen.tagids[ProfSkill.?," | "]
        foreach pick in hero from BaseSkill where tagexpr
          perform eachpick.assign[Helper.Proficient]
          nexteach
I haven't tested this code, but it's close to what you want to do or should get you pointed down the path.
Thank you so much! That did exactly what I wanted it to!
Morphaeon is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:59 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.