• 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

Unable to add Intimidate bonus to an item

vanAdamme

Active member
I have added the following Eval Script to my item:

Code:
      if (field[gIsEquip].value <> 0) then
        #competencebonus[hero.childfound[skIntimidate], 2]
        endif

It gives me the following error:
Syntax error in 'eval' script for Thing 'fmTest' (Eval Script '#1') on lin 3 -> Invalid id specified for thing

If I change 'skIntimidate' to 'skHeal' it works fine. Is there a different code for the Intimidate skill? If so, where would I find a list of them?

Secondly, how can I change the competence bonus to a circumstance bonus? Replacing '#competencebonus' with '#circumstancebonus' does not work.

Ultimately I want a scarred witch doctor fetish mask that gives bonuses to both skills.

Cheers,
vanAdamme
 
van Adamme,

You can use Hero Lab's built in "Find Thing..." button in the editor to look up the unique ids of skills and other things. In the search bar type in Intimidate, then change the sorting to Skills. If you click the Intimidate skill, hero lab will insert the unique id for you. One thing to keep in mind is that unique ids are never more than 10 characters. The error message you got is referring directly to the fact the skill id you tried to use is more than 10 characters in length.
 
You can use Hero Lab's built in "Find Thing..." button in the editor to look up the unique ids of skills and other things. In the search bar type in Intimidate, then change the sorting to Skills. If you click the Intimidate skill, hero lab will insert the unique id for you. One thing to keep in mind is that unique ids are never more than 10 characters. The error message you got is referring directly to the fact the skill id you tried to use is more than 10 characters in length.

Or from within HL itself, toggle on "Enable Data File Debugging" in the Develop menu, then right-click on the skill in the Skills panel and see the entry "Copy Unique Id (xxx) to clipboard".

This works for most fields in any tab or panel.
 
Back
Top