Senior Member
Join Date: Aug 2009
Posts: 479
|
Is it possible to add this Item with it mention in my saves it gives a situation bonus? And How would I?
Basically it is an Item that does not need to be equipped only carried that gives you a resistance bonus equal to the number of remaining charges on saving throws against spells and effects with the death descriptor. It starts with 5 Charges. Charges once used are gone and can not be renewed, similar to a wand. I am trying not to to be too spoily. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
The easy method is go to the Adjust tab -> Other Adjustments and add "Saving Throw Situational". That will let you type in the situational text to display on your saving throws.
Option two is use the editor to create this item and you could do a "new (copy)" vs the above adjustment to start from its script. Then on a wondrous item check mark "Show in Tracked Resources List?" and put in 5 for Base Charges and select "charges" for Usage period?. The field "trkLeft" would store the number of charges that remain. Based on above your script looks like this run at Final/50000 for timing: Code:
#situational[hero.child[svAll], signed(field[trkLeft].value) & " resistance bonus vs spells and effects with the death descriptor.",field[name].text] 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: Aug 2009
Posts: 479
|
Confused, what do I choose when is do a "new (copy)?
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Hmmm maybe best to watch the Intro Videos to the editor.
Basically after you open the editor and create a new .user file you have a choice of "tabs". Go to the "General->Adjustment" tab and at the bottom left is a button called "New (Copy)". Then choose the adjustment "Saving Throw Situational" which will make a copy of this in the editor for you to view. You can then look at its script under 'Eval Scripts'. Though I gave above the complete script for you to use. So in HL go to "Tools->Show Editor". Then go to "File->New Data File...". Then do "File->Save Data File" and give it a useful file name. Once in the editor you can go to "Equipment->Wondrous" tab and press the "New (Blank)" button to create a new empty Wondrous item. Give it the following: 1) Name 2) Unique ID 3) Enter "description text". 4) check mark "Show in Tracked Resources List?" 5) put in 5 for Base Charges 6) select "charges" for Usage period? 7) Press "Eval Scripts" in top right corner. 8) "Click to add another eval script" 9) Phase change to 'Final' 10) Priority change to 50000 11) In the text area copy and paste the above script. 12) Button bottom LEFT press "Save". 13) Button top LEFT press "Test Now!". 14) Go to your character and add your new item. 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: Aug 2009
Posts: 479
|
Thanks! It worked
|
#5 |
|
|