• 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

Assign Custom Ability

Frodie

Well-known member
How do I assign a Custom Ability to a class. I tried it as a class special and a bootstrap, but I get errors (the Custom Ability is a copy of domain spells). Anyway the class gets this Custom Ability at first level. This is the script I tried:

Levels 10000

hero.childfound[cHelpMdH].field[cGiveSp4th.cFGSoRCar2].value += 1


Thank you!
 
Usually its through the 'Custom Abilities' section on the class tab. This is right below Secondary Spells. Just increase the Custom Ability Count to 1 on Row 0.
 
Frodie, I'd recommend that you study this article on Hero Lab's dot notation: http://forums.wolflair.com/showthread.php?t=21663

You've asked several questions recently that have mistakes like the one in that line - a field[] with the incorrect information inside the brackets, and I think you need to study the basics of how the dot notation works, so that you'll understand why field[cGiveSp4th.cFGSoRCar2].value is not the correct construction to accomplish what you're trying to accomplish.
 
Back
Top