• 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

Feats that require ranks in skills.

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
 
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).
 
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
 
Back
Top