Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
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
|
#1 |
Senior Member
Join Date: Apr 2010
Location: Lemont, IL
Posts: 320
|
I believe that both of them use xcount to determine how many times they are present on the class. You might try that.
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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. |
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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 |
#4 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
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
|
#5 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
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
|
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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.
|
#7 |
Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Quote:
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
|
|
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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. |
#9 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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.
|
#10 |
|
|