• 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

Help with item creation

banecrow

Member
So trying to make a custom magic item for one of my players. I finally figured out how to give the item its + competence bonus to a skill when worn. But now I am trying to figure out how to give it a conditional modifier (the one that shows up under the skill but is not auto added to it)

I am trying to give the item a +5 competence bonus to Survival but only when tracking.

If someone can help guide me through to what I need to enter and where I need to enter it I would be grateful. I am still very new to this so if you could give me any details on how to enter the info that would be awesome.
 
Timing Prelevels 5000
if (field[gIsEquip].value <> 0) then
#situational[hero.child[skSurvival],signed(5) & " competence bonus to Survival but only when tracking ",field[name].text]
endif

That might help.
 
Timing Prelevels 5000
if (field[gIsEquip].value <> 0) then
#situational[hero.child[skSurvival],signed(5) & " competence bonus to Survival but only when tracking ",field[name].text]
endif

That might help.

So I tried copying and pasting this into an eval script and am getting the following message

Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'Foxlens1 (Eval Script #2') on line 1
-> Reference to undeclared variable: Timing'

Syntax error in 'eval' script for Thing 'Foxlens1 (Eval Script #1') on line 1
-> Reference to undeclared variable: Timing'
 
Got it to work thanks, had to take out the Timing Prelevels 5000 part

Next question, the item also has the ability to cast light spell at will. I can get it added to the item but I cannot seem to get it to show up on the character sheet, except in the item description.
 
If the spell is bootstrapped, in the tags button next to the boot strap add these tags:
Helper.SpellLike
Usage.AtWill
They should do the trick.
P.S. The timing was taken from the Ring of Protection +1, so not sure why you had to, but if it works great! Unless you mean you had the Timing part added directly to the Eval Script space...meant for the timing selection fields above it.
 
Yeah I had put the timing script in the bootstrap script. This is the first item i have made so trying to work my way through this and figure it out.

Thank you btw the bootstrapped add for helper and usage did the trick.
 
Back
Top