• 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

Hero Lab Editor: Bonus to Skill

So I'm trying to add a situational bonus to spellcrafting when crafting magical items. For some reason, no matter how I do it, I'm either getting errors, or it says it's working, but nothing comes up. I have it added to the class, so I know that isn't what's going wrong. I've tried setting up situational bonuses, as well as setting it as an active ability, although I'd prefer the situational bonus. Anyone have any ideas?
 
Final/50000
Code:
#situational[hero.childfound[skXXXXX],"my message",field[thingname].text]
Change the skXXXXX to be the unique id of your skill and "my message" to be what your bonus is.

Assuming the "bonus" changes and you have filled it into the abValue field you would want this:
Final/50000
Code:
#situational[hero.childfound[skXXXXX],signed(field[abValue].value) & " bonus when blah blah.",field[thingname].text]
 
Back
Top