Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 10th, 2014, 12:25 PM
Make a copy of any feat in the book which has a BAB pre-req, there are a million of them, and look at it's expr-req. For the will save, look at Heroic Will from the ARG, or Draconic Discipline from Dragonslayer's handbook.
Aaron is offline   #61 Reply With Quote
quistar
Member
 
Join Date: May 2014
Location: Plantation, FL
Posts: 78

Old June 10th, 2014, 10:46 PM
Quote:
Originally Posted by Aaron View Post
Make a copy of any feat in the book which has a BAB pre-req, there are a million of them, and look at it's expr-req. For the will save, look at Heroic Will from the ARG, or Draconic Discipline from Dragonslayer's handbook.
Thanks. BAB was no problem. I don't have the sources you list, however, to get the Will save formula.

While we're at it (prereqs), two more quickies for you. One, how do you add 5 ranks of Perform (no specifics, any) as a prereq? And how about adding the ability to cast a specific spell?

- Andrew <:-(}
quistar is offline   #62 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 11th, 2014, 07:51 AM
1 - hero.child[svWill].field[svBase].value >= X

2 - In a pre-req, Foreach through all skills with the Helper.SkCatPerf tag, inside the foreach put "validif (eachpick.field[skRanks].value >= 5)"

3 - Not doable in any reasonable fashion.
Aaron is offline   #63 Reply With Quote
quistar
Member
 
Join Date: May 2014
Location: Plantation, FL
Posts: 78

Old June 12th, 2014, 02:24 PM
Thanks as always!

- Andrew <:-(}
quistar is offline   #64 Reply With Quote
quistar
Member
 
Join Date: May 2014
Location: Plantation, FL
Posts: 78

Old June 12th, 2014, 06:17 PM
I'm having trouble figuring out another new class feature. The issue is getting the script to register adding 1 use per day each time it's added to the class, at levels 5, 7 and 9. Here's the Class Special rules as written:

At 5th level, an anchorite of the Mists can use {i}dimension door{/i} once per day, as a sorcerer with a level equal to the character's primary divine spellcasting level plus her anchorite of the Mists level. At 7th level, she can use this ability twice per day, and at 9th level she can use it three times per day.

The automatic calculations don't cover the unusual level progression for this ability. Any suggestions?

- Andrew <:-(}
quistar is offline   #65 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 12th, 2014, 07:47 PM
Here is a basic class ability script I always start from. Its made to level up a bonus each time it is bootstrapped to the class.

Post-Levels/10000
Code:
~Set the list name
field[listname].text = field[thingname].text & " " & signed(field[xIndex].value)

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)

field[abValue].value += field[xCount].value
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
The design is made so that the script figures out the "Bonus" based on the levels you bootstrapped this class feature to the class. So in this case you would bootstrap at 5th, 7th, and 9th level.

Now the above needs a small change as it giving a "bonus" instead of usage per day. But its just a slight tweak to make abValue into a usage value instead of a bonus:
Post-Levels/10000:
Code:
~Set the list name
field[listname].text = field[thingname].text & " " & field[xIndex].value & tagnames[Usage.?]

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)

field[abValue].value += field[xCount].value
~ Set the usage field called Tracker Max
field[trkMax].value += field[abValue].value
Then just make sure you leave the default trkMax field as zero and set tracked resources to "/day".

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   #66 Reply With Quote
quistar
Member
 
Join Date: May 2014
Location: Plantation, FL
Posts: 78

Old June 12th, 2014, 08:07 PM
Quote:
Originally Posted by ShadowChemosh View Post
Here is a basic class ability script I always start from. Its made to level up a bonus each time it is bootstrapped to the class.

Post-Levels/10000
Code:
~Set the list name
field[listname].text = field[thingname].text & " " & signed(field[xIndex].value)

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)

field[abValue].value += field[xCount].value
field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
The design is made so that the script figures out the "Bonus" based on the levels you bootstrapped this class feature to the class. So in this case you would bootstrap at 5th, 7th, and 9th level.

Now the above needs a small change as it giving a "bonus" instead of usage per day. But its just a slight tweak to make abValue into a usage value instead of a bonus:
Post-Levels/10000:
Code:
~Set the list name
field[listname].text = field[thingname].text & " " & field[xIndex].value & tagnames[Usage.?]

~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] <> 1)
~ if we've been disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)

field[abValue].value += field[xCount].value
~ Set the usage field called Tracker Max
field[trkMax].value += field[abValue].value
Then just make sure you leave the default trkMax field as zero and set tracked resources to "/day".
Wow, that was perfect! All the output came out just the way it should! Thanks!

- Andrew <:-(}
quistar is offline   #67 Reply With Quote
quistar
Member
 
Join Date: May 2014
Location: Plantation, FL
Posts: 78

Old June 14th, 2014, 08:52 AM
New question. I have a 10-level PClass that has an ability giving a +1 sacred bonus to attack rolls, saving throws, and skill checks at every even level. The script is an easy copy and paste, but the problem is finding the right "thing" for "All Saving Throws." In addition, I'm not seeing the bonus to skill checks show up under the Skills tab when I run my cursor over the skills to see details pop up.

I am guessing I have the wrong Things for "All Saving Throws" and "All Skills" but I cannot find others in the lists that work with the script.

The error message: Attempt to access non-existent child pick 'pSave' from script.

Script is below.

Post-levels 10000 1

~if we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

field[abValue].value += field[xCount].value


Render 1000 2


field[listname].text = "Guardian of Innocence " & signed(field[xIndex].value)

~if we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)

~only do the rest if we're the first copy
doneif (tagis[Helper.FirstCopy] = 0)

field[sbName].text = lowercase(field[thingname].text) & " " & signed(field[abValue].value)
field[livename].text = "Guardian of Innocence " & signed(field[abValue].value)
field[abSumm].text = signed(field[abValue].value) & " sacred bonus to attacks, saves, and skill checks when defending a good creature."

#situational[hero.child[Attack],signed(field[abValue].value) & " sacred bonus to attacks, saves, and skill checks when defending a good creature.",field[thingname].text]

#situational[hero.child[pSave],signed(field[abValue].value) & " sacred bonus to attacks, saves, and skill checks when defending a good creature.",field[thingname].text]

#situational[hero.child[AllSkills],signed(field[abValue].value) & " sacred bonus to attacks, saves, and skill checks when defending a good creature.",field[thingname].text]

- Andrew <:-(}
quistar is offline   #68 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 14th, 2014, 12:38 PM
svAll and AllSkills
Aaron is offline   #69 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 14th, 2014, 01:54 PM
For future reference, to look this sort of information up, you can use the "Find Thing" button that's at the top of the Eval Script form.

Select "Saving Throws" as the category of things whose Ids you want to look up, and you'll see that there are only 4 items there - fort, ref, will, and "All Saves". Double-click "All Saves", and it will place the Id of that item wherever the cursor was in your script before you clicked "Find Thing".
Mathias is online now   #70 Reply With Quote
Reply


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 09:07 AM.


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