Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Help with a Custom item (http://forums.wolflair.com/showthread.php?t=52152)

Dragnmoon February 8th, 2015 07:13 PM

Help with a Custom item
 
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.

ShadowChemosh 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]

Dragnmoon February 8th, 2015 07:48 PM

Confused, what do I choose when is do a "new (copy)?

ShadowChemosh February 8th, 2015 08:27 PM

Quote:

Originally Posted by Dragnmoon (Post 203346)
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. :)

Dragnmoon February 8th, 2015 09:05 PM

Thanks! It worked


All times are GMT -8. The time now is 02:29 PM.

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