Senior Member
Join Date: Oct 2016
Posts: 621
|
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?
|
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
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! |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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? Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#4 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
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!
|
#5 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
fieldval:field <> 0 |
|
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Here is the important part to focus on from the article. oh pretty much repeat of what Sendric just said.
Quote:
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? Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#7 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
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 by ErinRigh; November 27th, 2016 at 11:47 AM. |
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Yeah small I & L are not easily told apart because of the font set that HL uses. That got me MANY times!
Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#9 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
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? |
#10 |
|
|