Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Adding Skill/Tool Proficiencies (http://forums.wolflair.com/showthread.php?t=66502)

DeathSheep November 4th, 2021 08:11 AM

Adding Skill/Tool Proficiencies
 
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>



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

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