Senior Member
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335
|
Hi All,
I've made progress with the SGG Feats books and am gradually working my way through the coding, but have run into a few items that I'm not sure how to code or where to code. I've read the wiki stuff and apparently just can't seem to wrap my head around some of it. Could I get some input/help on how/where to code the logic in data files? Thanks. My trouble spots are below and any help/input or suggestions about where to look at an existing item would be appreciated. 1) Pre-Requisite - No caster level, but here's the caveat Special: If you have this feat and gain a caster level, you may immediately decide to permanently forgo any spellcasting ability and retain this feat. If you do not make this decision this feat is lost, and cannot be replaced. I set up on the Prereq Divine <> 1 and Arcane <> 1, but doesn't really address the problem. 2) Benefit: Benefit: You may select 6 spells from the following bonus spell list. The spells selected must be of levels you can cast, and become part of your spell list. You may not select more spells from a level than you have selected from each level below it. (You may take this feat more than once in order to eventually gain higher‑level spells. See Special, below.) If you are a spellcaster with limited spells known (bards and sorcerers, for example), you do not automatically know the spells you select from this list. However, you may learn three of these selected spells and count them as only one spell slot toward your maximum spells known. This slot must be of the highest level spell being learned. And then the corresponding Special: Special: This feat may be selected more than once. Each time it allows you to select 6 more spells from the list. 3) ki pool class ability - Just plain can't seem to arrive at class ability logic. Ki pool is just one example. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
There's no way to shut down the casting ability of a class short of making an archetype. I'd skip that part of the feat, and just leave it with a no spellcasting requirement.
#2 - check out the Magus' Greater Spell Access ability, or the Expanded Arcana feat #3 - could you be more specific about what you're not able to accomplish? |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
For #1 you could write an eval script that detects the characters Total Caster Level field (Same as used for itemcreation feats).
If it is not 0 then the eval writes in a chooser script that selects between all classes with spellcasting and a bootstrapped helper ability called "Lose Feat". If the class is chosen all [cCastMax]/[cMemMax].arrayvalue[spelllevel] are set to 0. If the helper ability is chosen the feat is assigned a FtDisable tag. |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Losing the feat is best handled by just having the user delete it themselves, rather than setting up a mechanism to suppress it, in my opinion.
|
#4 |
Senior Member
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335
|
Quote:
Thanks for the other info though. I will look at the two suggestions for #2. Ok, one more dumb question. Where do I find the files that have the "delivered stuff" in them to look at. I can find my user files, but not sure where to find the others. Last edited by Asandir; July 15th, 2011 at 04:29 PM. Reason: Ask dumb question. |
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
In the editor, you can use the "New (Copy)" button at the bottom left to make a copy of an existing thing to study it.
#3 -do you mean this class gets Ki Pool, like a Monk? If so, just add the existing version of Ki Pool as one of this class' class specials. If you mean something else, you'll need to tell us what the ability does before we can help you implement it. |
#6 |
Senior Member
Join Date: Dec 2010
Location: Virginia, USA
Posts: 335
|
Quote:
Will use the New (copy) function to study those other two. That will be very useful. |
|
#7 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
In that case, can you think of anything else that requires Ki Pool as a prereq? The Extra Ki feat for example? The way a feat sets up its prereqs is the same as the way a custom class ability sets up its prereqs, and it's the same way a Class Level sets up its prereqs (BTW, if this is a prereq for the class, those go on the Class Level, rather than on the Class).
|
#8 |
|
|