Member
Join Date: Sep 2009
Posts: 55
|
I'm currently trying to enter a feat with prerequisite Skill Focus for a specific skill into Hero Lab, but I can't figure out how to test if the skill has Skill Focus selected for it. I tried to use a similar syntax as Spell Focus, but Broadcast.SkillFocus don't seem to exist. How exactly do I test that a specific skill has Skill Focus for a feat prerequisite?
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,215
|
In the develop menu, select "Enable Data File Debugging".
Now, go to the skills tab and right-click on a skill, and select "Show Debug Tags for XXX". Leave that window open, add the skill focus feat, and select the skill you're watching. Look for any changes in the list of tags on that skill. You'll find that the Helper.SkillFocus tag was added. So, to test for that (using fly as an example): hero.childfound[skFly].tagis[Helper.SkillFocus] <> 0 Just put that in your Expr-req, and your thing will only be valid if the character has skill focus: fly |
#2 |
Member
Join Date: Sep 2009
Posts: 55
|
OK, thank's a lot! Never thought of using data file debugging to find out how the program works behind the scenes.
|
#3 |
|
|