Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Dragnmoon
Senior Member
 
Join Date: Aug 2009
Posts: 479

Old February 8th, 2015, 07:13 PM
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.
Dragnmoon is offline   #1 Reply With Quote
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
Dragnmoon
Senior Member
 
Join Date: Aug 2009
Posts: 479

Old February 8th, 2015, 07:48 PM
Confused, what do I choose when is do a "new (copy)?
Dragnmoon is offline   #3 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 8th, 2015, 08:27 PM
Quote:
Originally Posted by Dragnmoon View Post
Confused, what do I choose when is do a "new (copy)?
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.
ShadowChemosh is offline   #4 Reply With Quote
Dragnmoon
Senior Member
 
Join Date: Aug 2009
Posts: 479

Old February 8th, 2015, 09:05 PM
Thanks! It worked
Dragnmoon is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:45 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.