• 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 words of power to other classes

So I am new at Hero Lab editing/scripting, and I seem to have encountered a conundrum I can't figure out. I've got a Wordcasting Wizard who has been given the ability to use the Cure line words of power from the Cleric's word list.

I decided to do this as an adjustment and the XML of what I have so far is:
Code:
  <thing id="pWcWzHl" name="Wordcasting Wizard Healing" description="Grants a wordcasting Wizard the ability to use Lesser, Moderate, and Greater Cure Words of Power." compset="InPlay" summary="Grants Wordcasting Wizards Cure words">
    <fieldval field="pMinimum" value="0"/>
    <fieldval field="pMaximum" value="0"/>
    <usesource source="UMWords"/>
    <tag group="Helper" tag="NoIncr"/>
    <tag group="Helper" tag="AdjNoPlus"/>
    <tag group="Helper" tag="NoPathSoc"/>
    <eval phase="PreLevel" priority="5000">perform hero.childfound[cHelpWiz].assign[ClsAllowSp.weLessCur1]
perform hero.childfound[cHelpWiz].assign[ClsAllowSp.weModeCur2]
perform hero.childfound[cHelpWiz].assign[ClsAllowSp.weGreaCur3]</eval>
    </thing>

While not pretty, this has allowed me to add the three Cure words I want to my Wizard's spell book, but when I go to make new wordspells using them they're not listed as available effect words.

Alternately, I can use the line "perform.hero.childfound[cHelpWiz].assign[sClass.cHelpClr]" to add all Cleric words to the Wizard's list of available words and allowing him to use them in constructing wordspells, but I'd rather not do that.

Any help? I know this should be possible, but I don't have the experience with the data files or editor to figure it out right now.
 
Back
Top