• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Special / Class ability (Strength) pre-requisite

bodrin

Well-known member
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?
 
I believe that both of them use xcount to determine how many times they are present on the class. You might try that.
 
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
 
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
 
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.
 
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.
 
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.
 
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.
 
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.
Opps my bad. Guess read it a little too quick and CL and Spell Level sort of merged together. Yea Arcane Archer would be a good one to check.
 
Back
Top