Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
Wolf_Larsen
Junior Member
 
Join Date: Nov 2007
Posts: 22

Old April 7th, 2008, 03:44 PM
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
Wolf_Larsen is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,606

Old April 7th, 2008, 04:08 PM
The mounted combat feat requires a rank in Ride.
Mathias is offline   #2 Reply With Quote
Wolf_Larsen
Junior Member
 
Join Date: Nov 2007
Posts: 22

Old April 7th, 2008, 04:28 PM
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).
Wolf_Larsen is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,606

Old April 7th, 2008, 10:38 PM
Edit: cancel this post while I look again.
Mathias is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,606

Old April 7th, 2008, 10:53 PM
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
Mathias is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:40 PM.


Powered by vBulletin® - Copyright ©2000 - 2019, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.