View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old March 8th, 2016, 03:52 AM
Quote:
Originally Posted by Rev Haus 235 View Post
In working through this custom class, I was doing pretty good until I hit a snag with one of the feats I'm working on and more importantly one of its' prerequisites.

The prerequisite in question is Skill Focus: Craft: Mechanika.
The prerequisite coding for feats looks as follows:
#hasfeat[ X ] <> 0 where X = the Unique ID for the feat.

The problem that I'm having is figuring out how to get it to show Skill Focus in a particular skill.
Any help please?
Skill Focus assigns a tag to the selected skill. So, in this case, rather than look for the feat, you can look for the tag. You can see an example of this on the Archmage Prestige Class, which has a pre-req of Skill Focus (Spellcraft):

Code:
childfound[kSpellcr].tagis[Helper.SkillFocus] <> 0
Sendric is offline   #8 Reply With Quote