Senior Member
Join Date: Jan 2014
Posts: 262
|
I'm trying to create a 3rd party prestige class and most of its ok but I'm having problems with the pre-requisite that requires you take sphere focus twice. Sphere focus is like skill focus in that its a variable feat like skill focus. That is you take the feat then select where you want to apply e.g. Skill Focus - Spell Craft and Skill Focus Knowledge Arcana. I can do this for defined variants e.g. if you need skill focus - arcana and skill focus spellcraft I can create that. I can't figure out how to say you need skill focus any twice. Or in this case sphere focus any twice. Does anyone know how i'd do this please?
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
hero.tagcount[HasFeat.Id] >= 2
|
#2 |
Senior Member
Join Date: Jan 2014
Posts: 262
|
Ah thanks I was trying to get #hasfeat[fSoPSphFoc] >= 2 to work, forgot the tag.
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The #hasfeat[Id] macro resolves to:
hero.tagis[HasFeat.Id] So tagis just returns a 1 if there are some of that tag, and a 0 if there are not, tagcount returns the count of that tag (but is just slightly slower to execute, so except in cases where you really do need that count, just stick to tagis). |
#4 |
Senior Member
Join Date: Jan 2014
Posts: 262
|
I see thanks.
|
#5 |
|
|