• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Validate a specific skill focus

PsychoPif

Member
Hi, I'm trying to create a new bard prestige class and one of my pre requisite is Skill Focus (Wind Instruments)

So far I was able to validate if he picked Skill Focus, but I don't know how to check for his skill selection. So right now, if he pick Skill Focus (Bluff) my class pass validation.

Code:
#hasfeat[fSkillFoc] <> 0

Is there any way to check for his selection?

I've found this for a Weapon Focus, but I can't find the way to make it work with Skill Focus

Code:
hero.tagis[WepFocus.wLance] <> 0
 
I don't recall what the tag is specifically, but once you select a skill, this feat applies a tag to that skill. So you can validate it with something like this:

hero.child[kBluff].tagis[Helper.SkillFocus] <> 0

That's off the top of my head, so you might have to check on the skill for what the tag is.
 
I was getting error because Perform (Wind instruments) is not on the character sheet by default.

I tried adding the skill via bootstrap, but in the end I found another way to check for a skill with the following code. It doesn't throw any error even on blank heroe.

Code:
childfound[kPerfWind].tagis[Helper.SkillFocus] <> 0
 
I was getting error because Perform (Wind instruments) is not on the character sheet by default.

I tried adding the skill via bootstrap, but in the end I found another way to check for a skill with the following code. It doesn't throw any error even on blank heroe.

Code:
childfound[kPerfWind].tagis[Helper.SkillFocus] <> 0

Does that validate if you have it though?
 
Ok, cool. I think the error popped because hero.child vs hero.childfound. I'm a little surprised childfound works without the hero part, but no matter.
I am pretty sure that will only work in a Pre-Req script or validation script as it auto assumes to look on the container. Which in this case the hero is the container. But if this was on a Item Power then I think it would fail because the container would be the gizmo.
 
I am pretty sure that will only work in a Pre-Req script or validation script as it auto assumes to look on the container. Which in this case the hero is the container. But if this was on a Item Power then I think it would fail because the container would be the gizmo.

Right. I can never remember that. Thanks.
 
Back
Top