What I am trying to do is write a pre-req that states
Poison special attack and Ability Focus (poison), OR Ability to Cast Poison and Bestow Curse and Spell Focus (necromancy)
Writing scripts for either or is simple enough, I got that figured out, but to get it to do one group or the other, there's where I am having issues. I've looked through what I have available for feats and see no other examples of this type of pre-req that I can look to for an example, so I'm back again, hat in hand, hoping you guru's will take pity on me again, lol. I've got the parts, I just need to know how to string them together so that it works.
I know this code is all syntax error and garbage, but these are the groupings I'm trying to have as the two options for pre-req, either one set or the other kinda thing, so I left them together so someone could see where I was trying to go with this.
So far all I've managed to get to work is the caster level (to have access to the spell), but the minute that worked, the entire pre-req was satisfied.
Now, I could do a work around of entering the feat twice, one for the magic, one without, but I really want to keep it together if possible.
Thanks again for all the help, you guru's really are amazing, and do a wonderful service here helping the community.
Poison special attack and Ability Focus (poison), OR Ability to Cast Poison and Bestow Curse and Spell Focus (necromancy)
Writing scripts for either or is simple enough, I got that figured out, but to get it to do one group or the other, there's where I am having issues. I've looked through what I have available for feats and see no other examples of this type of pre-req that I can look to for an example, so I'm back again, hat in hand, hoping you guru's will take pity on me again, lol. I've got the parts, I just need to know how to string them together so that it works.
validif (herofield[tMaxCaster].value >= 7 + #hasfeat[fSpellFoc] <> 0)
validif (#hasfeat[fAbilFoc] + #hasability[cPfDInPois] <> 0)
I know this code is all syntax error and garbage, but these are the groupings I'm trying to have as the two options for pre-req, either one set or the other kinda thing, so I left them together so someone could see where I was trying to go with this.
So far all I've managed to get to work is the caster level (to have access to the spell), but the minute that worked, the entire pre-req was satisfied.
Now, I could do a work around of entering the feat twice, one for the magic, one without, but I really want to keep it together if possible.
Thanks again for all the help, you guru's really are amazing, and do a wonderful service here helping the community.