Junior Member
Join Date: Nov 2007
Posts: 22
|
Feats that require ranks in skills.
I'm trying to create a feat called "Epic Skill Focus". I borrowed coding from "Skill Focus" feat and I can see my new feat in character creation and my new feat lets me pick a skill and adds a bonus to that skill. However, I don't know how to code the pre-req to Epic Skill Focus that requires the chosen skill to have 20 ranks to begin with. In other words, before you could apply the Epic Skill Focus feat to a particular skill, that skill would have to have at least 20 ranks in it already. Ideas? Thanks, Wolf |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The mounted combat feat requires a rank in Ride.
|
#2 |
Junior Member
Join Date: Nov 2007
Posts: 22
|
Correct. Unfortunately, the Epic Skill Focus feat I'm trying to create (pg 54 of the "Epic Level Handbook") requires that the particular rank you want the feat to apply to, say balance, must already have at least 20 ranks in it. The Epic book describes the feat as this:
Epic Skill Focus [Epic] Choose a skill, such as Move Silently. You have a legendary knack with that skill. Prerequisite: 20 ranks in the skill selected. Benefit: You gain a +10 bonus on all skill checks with that skill. Special: You can gain this feat multiple times. It effects do not stack. Each time you take the feat, it applies to a different skill. A work-around to my problem is to create an Epic Skill Focus feat for each and every skill! Shouldn't have to do that (I hope). |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Edit: cancel this post while I look again.
|
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I've got something for you. It won't give a validation error if your selected skill doesn't have 20 ranks, but it will prevent the feat from adding the bonus.
Code:
~ If we're disabled, do nothing if (tagis[Helper.FtDisable] <> 0) then done endif call fTargetFoc if (isfocus = 0) then done endif ~check whether we have 20 ranks if (focus.field[kUserRanks].value >=20) then ~ Add 3 to our chosen skill focus.field[Bonus].value += 10 endif ~ Set our 'short name' field[fShortName].text = "Focus: " & focus.field[name].text |
#5 |
Thread Tools | |
Display Modes | |
|
|