• 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

Help with adding to secondary ability count

I"m trying to create a favored class option to add to a classes custom abilities.

I found this with the human rogue
Code:
 field[abValue].value += round(field[fcCount].value/6,0,-1)
      
      hero.childfound[cHelpRog].field[cGiveSpec].value += field[abValue].value

I when I emulate this code, it works with the primary custom ability.

However I need it to work with the secondary (and maybe tertiary) abilities. What do I replace 'cgivespec' with? and how/where do I find that out. I've been looking for a master list of codes. Is there one somewhere?

thanks in advance.
 
I found it under the extra revelation feat.

'cGiveSp3rd'

which led me to, and which worked:
'cGiveSp2nd'

and presumably
'cGiveSp4th'
would work.

But still, is there someplace this is documented that I am just missing?
 
In the develop menu, make sure the first option, "Enable Data File Debugging" is checked. Now, at the bottom of the develop menu, select "Floating Info Windows", then "Show Selection Fields", and then find the class you want to study in the list that pops up, check it, and press OK. Now, you can watch that class's field values change as you play around with Hero Lab.

Try adding some level that should change the total number of the special you're interested in, and watch what changes when you level up.

For most things (other than classes, which are an odd case), you can right-click them to get to the tag and field views, instead of having to go through the develop menu to find those.

I'm afraid the documentation for advanced techniques is still very spotty. Hopefully this will help you track down things you're looking for in the future, and as you've seen, studying existing examples can be helpful.
 
Back
Top