Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DeathSheep
Member
 
Join Date: Jun 2018
Posts: 83

Old October 22nd, 2021, 07:13 AM
Today's stumper (for me anyway):

I'm trying to create a Racial Special that allows the member of the race to choose two proficiencies from a select set of tools or any weapon proficiencies. I figured out how to pull in all the weapon proficiencies, but I'm not sure what to add to the code to put the two tool proficiencies in the list as well.

Here is what I have so far...

Code:
    <fieldval field="usrCandid1" value="component.BaseWep &amp; (wProfReq.Martial|wProfReq.Simple) &amp; !Helper.Helper"/>
    <fieldval field="usrCandid2" value="component.BaseWep &amp; (wProfReq.Martial|wProfReq.Simple) &amp; !Helper.Helper"/>
    <tag group="Helper" tag="ShowSpec"/>
    <tag group="Helper" tag="Helper"/>
    <tag group="Helper" tag="Free"/>
    <tag group="ChooseSrc1" tag="Thing"/>
    <tag group="ChooseSrc2" tag="Thing"/>
    <eval phase="First"><![CDATA[      ~ If we're disabled, do nothing & 
      doneif (tagis[Helper.Disable] = 1)
      ~ If nothing chosen then get out now!
      doneif (field[usrChosen1].ischosen = 0)
      doneif (field[usrChosen2].ischosen = 0)
      
      ~ Pull all the selected weapon proficiency tags to ourself 
      perform field[usrChosen1].chosen.pulltags[WepProf.?]
      perform field[usrChosen2].chosen.pulltags[WepProf.?]
    
      ~ Now push both tags to the hero
      perform hero.pushtags[WepProf.?]]]></eval>
    </thing>
DeathSheep is offline   #1 Reply With Quote
 

Thread Tools
Display Modes

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 05:39 AM.


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