• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding Skill/Tool Proficiencies

DeathSheep

Well-known member
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>
 
Back
Top