View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 8th, 2015, 07:33 PM
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.
ShadowChemosh is offline   #2 Reply With Quote