• 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

Skill bonuses being persnickety.

Enforcer84

Well-known member
so I have this script here:

~ Naturalist
#applybonus[Racial, hero.child[skKnowNat], 2]
#applybonus[Racial, hero.child[skProfHerb], 2]
#applybonus[Racial, hero.child[skKnowHist], 2]

when I add the race I get an error that those three skills aren't presented which naturally goes away when i add the skills to the character. Is there a better way to do this that won't cause HL to look for the skill that hasn't been selected, or to select the skill for the race?
 
Racial bonuses usually stack with each other, but you're using the #applybonus[] macro, which applies its bonus in a non-stacking fashion.

Code:
#racialbonus[skKnowNat] += 2

would be the standard way to apply a racial skill bonus.

To answer your question, read post #2 in this thread: http://forums.wolflair.com/showthread.php?t=21663 That explains the difference between child[] and childfound[]

(#racialbonus[] uses childfound[], not child[]).
 
Back
Top