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
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old June 24th, 2013, 04:48 AM
I have a conundrum,

I'm entering some feats that require a Class / Special ability to be a higher version than base i.e. Sneak attack +2D6 or Channel Energy + 3D6.

I've scripted the prerequisites to check for the sneak / channel ability but can't figure out how to check for the strength of them.

Any ideas or is it just a case of not functional at the moment?

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #1 Reply With Quote
Umarian
Senior Member
 
Join Date: Apr 2010
Location: Lemont, IL
Posts: 320

Old June 24th, 2013, 05:20 AM
I believe that both of them use xcount to determine how many times they are present on the class. You might try that.
Umarian is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 24th, 2013, 08:17 AM
Quote:
Originally Posted by Umarian View Post
I believe that both of them use xcount to determine how many times they are present on the class. You might try that.
Actually HL standard is to store the final value into abValue. This allows for testing from other scripts to see that value and to allow other Things to add to it.

If for example Sneak Attack only used "xCount" then it would be impossible to have a magic item, class ability, or feat add an additional +1d6 to the ability.

By having the final value stored in abValue the above CAN be done. So the below code would test for a Sneak Attack value of +2d6 or higher.
Code:
#value[cSneakAtt] >= 2

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   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 24th, 2013, 08:21 AM
Feats with prereqs for a certain number of sneak attack dice:
Dastardly finish
Hellcat Pounce
Sap Master

Feats with prereqs for a certain number of channel energy dice:
Channel Force
Channeled Revival
Channeled Shield Wall
Improved Channel Force
Mathias is offline   #4 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old June 24th, 2013, 11:15 AM
Thanks everyone, I'll check those examples out later.

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #5 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old June 25th, 2013, 10:40 AM
This worked for the sneak attack ability.
#value[cSneakAtt] >= XX

I can also check for the channel ability, however I need to check for channel negative energy specifically. Suggestions?

Also is there a current method to determine the highest level of (Arcane / Divine ) spell cast able? As I've got a number of feats that specify "Able to cast Arcane spells of 3rd level or higher"

Gratitude for any pointers.

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #6 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 25th, 2013, 11:43 AM
bodrin, I highly recommend that you use the text search feature in the Feats table, so that you can find examples of existing material that already has a similar prereq. For example, typing in "channel negative" will find you feats like Command Undead.
Mathias is offline   #7 Reply With Quote
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old June 25th, 2013, 12:05 PM
Quote:
Originally Posted by Mathias View Post
bodrin, I highly recommend that you use the text search feature in the Feats table, so that you can find examples of existing material that already has a similar prereq. For example, typing in "channel negative" will find you feats like Command Undead.
I'm currently at work, hunting through the iPhone PFR app by ufisk the search function is okay but doesn't find some things occasionally. Especially if they aren't in the PRD.

However you are correct, of course, and scrolling through the feats table to command undead I can quite clearly see this

Command Undead
Using foul powers of necromancy, you can command undead creatures, making them into your servants.

Prerequisites: Channel negative energy class feature.

And this

Life Lure
Your channeled positive energy is irresistibly sweet to nearby undead.

Prerequisite: Channel positive energy class feature.

But neither search term reveals a pre req ability to cast 3rd level arcane or divine spells.

I'll keep hunting.

Dormio Forte Somnio


Community Created Resources :
Data Package Repositories :
d20pfsrd
Custom Character Sheets
Community Server Setup (Packs)

Hero Lab Help- Video Tutorials and Pathfinder FAQ

Created by the community for the community
bodrin is offline   #8 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 25th, 2013, 02:56 PM
Quote:
Originally Posted by bodrin View Post
But neither search term reveals a pre req ability to cast 3rd level arcane or divine spells.
Look at the "Item Craft" feats like "Craft Magic Arms and Armor" as that has a pre-req to Caster level 5th.

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   #9 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 25th, 2013, 03:54 PM
Not exactly what he's looking for, not all classes have access to 3rd level spells at CL 5th. Look at prestige classes, they are more likely to require casting of Xth level spells of a certain sort (arcane or divine). Look at the Mystic Theurge for an example.
Aaron is offline   #10 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 06:00 AM.


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