• 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

Bootstrapping a Feat to a Wondrous Item

ErinRigh

Well-known member
I was wondering if this is even possible? Essentially, there are a few magic items that grant feats, such as Gloves of the Balanced Hands and Bracers of the Blinding Strike. Is there a way to code the item to grant the feat?
 
Yep. In these cases I would suggest doing proof of concept testing. Bootstrap away and see what happens. :)

The issue you will most likely find is that when something is bootstrapped to the Pick that it also becomes live always. Meaning you bootstrap fDodge to a Ring and no matter if the ring is equipped or not the fDodge feat is displayed.

In this case you need to bootstrap conditionally. Check out that article by Mathias for full details.
 
All well and good, I am stuck on this problem, I know, I am a P.I.T.A.

I read Mathias' article, but the actual code to do this is eluding me.

What I am trying to do is bootstrap "Improved Initiative" to a pair of bracers so that when they are equipped, you gain the benefits of improved initiative.

Any help here would make me erect shrines your honour, and even sacrifice virgins to you!:p;)
 
Ok so what have you done and what have you tried? What errors are you getting?

Have you looked at the fields of your equipment and then equipped/un-equipped it to see which field or fields change?
 
Ok so what have you done and what have you tried? What errors are you getting?

Have you looked at the fields of your equipment and then equipped/un-equipped it to see which field or fields change?

Actually, I am in the dugout and can't find my way to the plate. I don't even know where to begin. Mathias' words make sense individually, but put 'em together and I come up with nonsense. I am so lost!
 
Actually, I am in the dugout and can't find my way to the plate. I don't even know where to begin. Mathias' words make sense individually, but put 'em together and I come up with nonsense. I am so lost!

The idea is to bootstrap the feat to the item. Then you need to create a bootstrap condition so that the feat only shows up when worn. There are lots of wondrous items who use scripts or conditions in this manner. I don't have HL in front of me, but you should be able to look at other items to see what field you need to use. Then you can use that field to set your condition like this:

fieldval:field <> 0
 
Here is the important part to focus on from the article. oh pretty much repeat of what Sendric just said. :p

When making a bootstrap conditional, first, test this ability without the condition - make sure you've got everything working, and make sure it's adding the bootstrap all the time, and that the bootstrapped thing or things are all showing up correctly.

In the editor, press the "Bootstraps" button at the top right - find the bootstrap you want to make conditional, and press the "Condition..." button.

Code:
fieldval:[I]Field[/I] <> 0

What you have to do is find the "Field" that you need to replace in the expression above.

Add your item to your character. Then RIGHT click on the "?" field and select "Show Debug Fields". Then equip the item and unequip the item. Which field is changing? What are the values?
 
Ok, maybe this is starting to make sense, tanks guys!

So if I'm reading right, I need to create a magic item, bootstrap Improved Initiative (fImpInit), then set the condition as follows;

fieldval:glsEquip <> 0

is that correct?

If so, I am getting this error;

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

Syntax error in 'bootstrap #1 condition' tag expression for Thing 'ioTEST'
-> Non-existent field 'glsEquip' referenced by tag expression

NM I Figured this out PEBKAC error, I for l
 
Last edited:
OK New error;

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

Thing 'ioBracEpSt' - Condition phase/priority (UserPostAt/10000) for bootstrap thing 'fImpInit' occurs after earliest rule/script (First/10999)

any idea what gives?
 
OK New error;

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

Thing 'ioBracEpSt' - Condition phase/priority (UserPostAt/10000) for bootstrap thing 'fImpInit' occurs after earliest rule/script (First/10999)

any idea what gives?
You have set the bootstrap condition to happen AFTER the first script in the feat Imp Initiative is firing. So HL is saying you are going to make the feat live "AFTER" it needs to run a script. This is a bad thing so its tossing an error. :)

You should be doing bootstrap condition's early like First/500 or First/1000 at the latest.
 
Back
Top