Member
Join Date: Apr 2014
Posts: 90
|
I was wondering how to create a wondrous item in the editor that will use the wielders attribute and caster levels to determine its strength and dc.
|
#1 |
Member
Join Date: Apr 2014
Posts: 90
|
I have changed this over to magic weapon in the editor since it seemed easier to build what I wanted. Even though I add spells under the staff spells section (so that it uses the wielders caster level and attribute) it is still using the minimum caster level and no attribute to calculate the DC. The staff spell box is check on all of the spells as well. I don't understand why its not working.
|
#2 |
Member
Join Date: Apr 2014
Posts: 90
|
Does anyone have any idea of how to get magic items to use the wielder's ability score instead of the minimum? I have been working on this for days and can't even get it to work on staves (which is supposed to be a built in function of staves). Does Hero Lab not support this function?
|
#3 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
Are you looking to do this with ALL items or only a single item? Also, staves would be very likely much harder that normal magic items because spells are added through tags. It would be quite difficult to adjust any of the spells DC's. (although, probably not impossible).
I think there is an archetype that allows the caster to use their abilitiy scores forwands and scrolls. And a magic item that adjusts the DC of poisons. But I dont know the name for either. |
#4 |
Member
Join Date: Apr 2014
Posts: 90
|
Quote:
|
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Unless Aaron knows of a tag to do this. I am thinking you will need to set a Custom.? tag onto each spell bootstrap. Then run a script to foreach through all the spells with the Custom.? tag to adjust the sDC field to what you want it to be. I would recommend sometime after Attributes and after HL has already set the sDC field to make your 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. |
#6 |
Member
Join Date: Apr 2014
Posts: 90
|
Quote:
|
|
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
I will see if I can put together a script for you. Just wish I could star or mark a thread so I remember to read them again later.
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. |
#8 |
Member
Join Date: Apr 2014
Posts: 90
|
That would be amazing. Thanks! Yea it can be a bit of a hassle to remember which threads you wanted to come back to and which ones your done with. lol
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Attached to this post is a working example.
I will go over the steps here to help out. If you have any questions feel free to ask. I made a quick unique magic called 'Shadow' with a unique id of "iS2Shadow". Yes I am "very" original in my ideas. On the weapon, magic tab click the blue button called "Bootstraps" and find your spells you want to have attribute bonuses added to. On these click the "tags..." button and click on "Click to add another tag". In the new boxes type in "Activated" for the group id and the UNIQUE ID OF YOUR WEAPON as the tag id. In my example I typed in "iS2Shadow". Then on the weapon itself click on "Eval Scripts" and add a new one to run at "Post-Attributes" priority "25000". Then past the following script into the "Script:" text box: Code:
var searchexpr as string ~ Create our Activated tag with our Unique ID searchexpr = tagids[Activated.?,"|"] ~ Loop through all the spells with this weapons activated ~ identity tag. foreach pick in hero from BaseSpell where searchexpr eachpick.field[sDCAttr].value += #attrmod[aCHA] nexteach The only part you will need to change is in the macro #attrmod[] to be the ability score that should provide the bonus. For testing I used Charisma. Hope that gets you going in the right direction... 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. |
#10 |
|
|