• 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

Building a feat with pre-requisites

Necros99

Active member
I am building a feat that requires race: Aasimar and able to prepare or cast Concecrate.

I figured out the first part: #hasrace[rAasimar] <> 0

I can't figure out how to verify the Hero has ability to cast Concecrate.

Thanks in advance for any help.
 
Not sure if this will work, I had taken a procedure that Shadow had made and modified it for my stuff that I did with Rite, so it got added to my core code for Rite ... so in other words it may work, and if it does thank Shadow for his wonderful procedure.

Under Prereqs, not Expr-Req
Code:
var SpellID as String
var HaveSpell as number
SpellID = "spConsecr2"
Call SpellChk
@valid = HaveSpell

I should also note that I have not tested this outside of The Secrets of Adventuring so it may not work.

And also yay I hit 900 posts.
 
Last edited:
I am building a feat that requires race: Aasimar and able to prepare or cast Concecrate.

I figured out the first part: #hasrace[rAasimar] <> 0

I can't figure out how to verify the Hero has ability to cast Concecrate.

Thanks in advance for any help.

Officially there is no mechanism in place to check to see if a character can cast a specific spell that I am aware of. At least that is what I've been told over the course of building many data files. This is just something a DM has to check. The racial restriction looks fine.
 
Apologies for the thread necro -- has there been any implementation of a mechanism that will be able to check to see if a specific spell is known?
 
Does that procedure work for different levels of the same spell? For example, if the pre-req is the ability to cast "Cure Moderate Wounds", would it be validated for both clerics (who get it as a 2nd level spell) and druids (who get it as a 3rd level spell)? And is it automatically extensible if new "Cure Moderate Wounds" spells get added (like a 4th level version used by some obscure domain)?
 
Why can't you use the HaveSpell procedure that is the in the Pack?

I tried to add one of the RGG Bullet point for Feats of Summon Spells, and they had a function call to HaveSpell in the Pre-req script.

When I added it to my arcanist character (that has every summon monster spell 1 through 5 as a spell known) it did not pass the pre-req.

Hence my question. Given this thread, I was under the suspicion that this function simply did not work.
 
Ok, I think I see why the RGG bullet point scripts aren't working with the HaveSpell -- the class I have the feat applied to is the Arcanist -- and if I'm not mistaken, the HaveSpell check for the classes that are valid for the spells passed -- and Arcanist is not on that list.
 
Back
Top