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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TheBullDog
Junior Member
 
Join Date: Oct 2008
Posts: 26

Old August 16th, 2018, 10:34 PM
I am attempting to pull tool proficiencies via the "Item Selection" and Custom Expressions. I have gotten them to show, at the same time as skills... One thing, I cannot get it to exclude tools the character already knows how to use.
Code:
(component.BaseSkill & (Reference.skArcana | Reference.skHistory | Reference.skInsight | Reference.skInvestig | Reference.skNature | Reference.skPercep) & !Helper.Proficient) | (component.Tool & )
I just can't get the script to pull them and add them to the character. (this is a bit of a mess right now I know) I am trying to do an if/then/else to embed the Tool selection separate from the skill selection. Other than the embeded if statement that part is fine, it is the pull and push for the tools that I cannot figure out.
Code:
      if (field[usrChosen1].ischosen <> 0) then
        if (field[usrChosen1].ischosen = "ProfSkill.?" then <===(if/then/else here)
          perform field[usrChosen1].chosen.pulltags[ProfSkill.?]
          perform forward[ProfSkill.?]
        else
        perform field[usrChosen1].chosen.pulltags[ProfTool.gToo?]
~        gtool = "component.BaseEquip & (" & hero.tagids[ProfTool.?,"|"] & ")"
~        field[usrChosen1].chosen.pulltags[ProfTool.?]"
        endif
      endif

~      if (field[usrChosen2].ischosen <> 0) then
 ~       perform field[usrChosen2].chosen.pulltags[ProfSkill.?]

~      endif

~      perform hero.assign[ProfTool.?]
Any help would be appreciated.
Attached Images
File Type: png Monster Hunter Bonus Prof.PNG (312.3 KB, 1 views)
TheBullDog is offline   #1 Reply With Quote
 


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 03:31 AM.


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