Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
DeathSheep
Member
 
Join Date: Jun 2018
Posts: 83

Old November 4th, 2021, 08:11 AM
I am working on a class ability that allows you to learn one skill and one tool, or two tools. Everything *looks* right (I borrowed the code for the Skilled Feat, and grabbed the Procedures user file from the community pack). When I select the ability though, the additional proficiencies don't get added.

Here is what I have set up:
Code:
  <thing id="cOptPRLearnExp" name="Learner's Exploit" description="You gain proficiency in a skill and a tool, or two tools. You can select this exploit multiple times, each time choosing a new skill and a tool, or two new tools." compset="CustomSpec" uniqueness="unique">
    <fieldval field="abValue" value="1"/>
    <fieldval field="abValue2" value="1"/>
    <tag group="Helper" tag="Secondary"/>
    <tag group="SpecSource" tag="cHelpOpt"/>
    <tag group="ChooseSrc1" tag="Thing"/>
    <tag group="ChooseSrc2" tag="Thing"/>
    <tag group="abCategory" tag="OptExploits"/>
    <eval phase="PostLevel" priority="10000" index="2"><![CDATA[      ~ If we're disabled, do nothing &
      doneif (tagis[Helper.Disable] = 1)

      var NumOfProf as number
      ~ Increase or decrease the number of proficiencies
      NumOfProf = field[abValue].value
      call 5CAddProf]]></eval>
    <eval phase="PostLevel" priority="10000" index="3"><![CDATA[      ~ If we're disabled, do nothing &
      doneif (tagis[Helper.Disable] = 1)

      var NumOfTool as number
      ~ Increase or decrease the number of proficiencies
      NumOfTool = field[abValue2].value
      call 5CAddProf]]></eval>
    </thing>
DeathSheep is offline   #1 Reply With Quote
Reply

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 04:22 AM.


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