• 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

Class Creation in Editor

I'm looking for assistance with the Hero Lab Editor if anyone can offer advice. I'm trying to create a character class from a 3rd party product, and seem to be running into some troubles with one of the class abilities. (Of course, I've just started, so much more trouble may be upcoming, but one obstacle at a time...)

The class gets a Sacred Bonus to Armor Class equal to their Cha modifier. I've set this up as a Class Special with the Eval Script:

hero.child[ArmorClass].field[BonSacred].value += hero.child[aCHA].field[aModBonus].value

Then I added this special as a Class Special Ability to the Class at level one. The "Test Now!" button shows everything as working correctly, but the character's AC doesn't change no matter how high I bump the Cha ability.

Any suggestions as to what I've done wrong? All help is greatly appreciated.
 
That could be the problem -- I don't have one at all. I just started trying to use the editor yesterday so I'm new at this. I thought no phase/priority would be the same as "always active" which is what I'm looking for.
To make something always active, what phase and priority should I use?
 
Correction/addendum to my last post -- I do have a phase listed; it's set at Post-Attributes (User) with a priority of 10005 and an index of 1.
The timing box has nothing in it.
 
Got it working -- thanks for asking about the phase/priority -- that clued me in to the problem; it was running before the attributes before.
This is my first time with any sort of programming, so it's a learning experience.
 
Back
Top