Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Mauron
Junior Member
 
Join Date: Jul 2013
Posts: 26

Old June 12th, 2014, 07:13 PM
Quote:
Each time a mystic gains 5 ranks in each of three different knowledge skills, he automatically gains the Skill Emphasis feat, which may apply to any of his Knowledge skills. This occurs again for gaining 10 ranks in each of three different knowledge skills.
I've been scratching my head trying to code this. I've got user tags assigned when the appropriate skills have 5 and 10 ranks.

Originally I was going to bootstrap multiple copies of a modified Skill Emphasis feat, but I need to count the tags before skill ranks are assigned for that.

I've considered multiple copies of the Class special, but that seems messy, since I can't seem to get Helper.ShowSpec to delete properly.

Any input would be appreciated.
Mauron is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old June 13th, 2014, 07:13 AM
I think using tags is a good idea, but you wouldn't need more than two. One for when you have three knowledge skills with 5 ranks, and another for 10 ranks. I'm not sure what the SKill Emphasis feat does, but it seems likely you only need one copy of that as well. You can bootstrap the same thing multiple times.

The biggest issue you'll run into here is that you can't find out how many ranks in a skill you have until Pre-Levels/5001 (right-click on any skill and select "Show Debug Tasks" and look at Pre-Levels/5000 to see what I mean).

So, you could run the following script at Pre-Levels/5001:

Code:
var test as number

foreach pick in hero from BaseSkill where "Helper.SkCatKnow"
 if (eachpick.field[kUserRanks].value >= 5) then
  test += 1
 endif
nexteach 

if (test >= 3) then
 perform hero.assign[User.KnowSkill5]
endif
This searches through all of your knowledge skills and looks for those that have at least 5 ranks, then adds 1 to the variable "test". Once test equals at least three, it assigns the appropriate tag.

It's important to note the timing of this, because your bootstrap condition is going to look for this tag. It can't search for the tag before Pre-Levels/5002. This, in turn, means that anything that the Skill Emphasis feat does must take place after this. I can't test whether this is possible since I don't know what the feat does, but it probably is. In that case, this is how I would do it (you can modify it for the 3 skills with 10 ranks pretty easily). If its not possible, we can look at other options, but it might mean having the feat on the character before they reached 5 ranks in 3 knowledge skills.

Hope this helps!

Last edited by Sendric; June 13th, 2014 at 07:18 AM.
Sendric is offline   #2 Reply With Quote
Mauron
Junior Member
 
Join Date: Jul 2013
Posts: 26

Old June 13th, 2014, 10:17 AM
Quote:
Originally Posted by Sendric View Post
I think using tags is a good idea, but you wouldn't need more than two. One for when you have three knowledge skills with 5 ranks, and another for 10 ranks.
My interpretation of the text (Each time) was that it would happen for three knowledge skills with 5+ ranks, and again for six knowledge skills with 5+ ranks, etc.

Quote:
I'm not sure what the SKill Emphasis feat does, but it seems likely you only need one copy of that as well.
For reference, it's Farscape d20's version of the D&D 3.5 Skill Focus (+3 to a skill). They renamed it and made something else Skill Focus for some unfathomable reason.

Quote:
If its not possible, we can look at other options, but it might mean having the feat on the character before they reached 5 ranks in 3 knowledge skills.
Unfortunately creating the dropdown of skills happens at First/10999. I guess I'd have to it show all the time and assign Helper.FtDisable?
Mauron is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old June 13th, 2014, 10:47 AM
I'd use a bonus feat table for this. The only feat allowed in that table would be Skill Emphasis. A script on the class can calculate the allowed number of feats, and then set the bonus feats allowed value to that amount. Then, it's up to the user to add the correct number of skill emphasis feats.

This way, once epic is available, and there's no theoretical limit on the number of ranks that can be placed in a skill, this ability isn't limited by the number of bootstraps you've set up.
Mathias is online now   #4 Reply With Quote
Mauron
Junior Member
 
Join Date: Jul 2013
Posts: 26

Old June 13th, 2014, 11:01 AM
Mathias, that worked as intended. The only minor complaint is I had to make the modified Skill Emphasis (limited to knowledge skills) on the main feat chooser, but that is livable.

Thanks.
Mauron is offline   #5 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old June 13th, 2014, 11:04 AM
Quote:
Originally Posted by Mauron View Post
My interpretation of the text (Each time) was that it would happen for three knowledge skills with 5+ ranks, and again for six knowledge skills with 5+ ranks, etc.
You may be correct. To me, the phrase "... in each of three different knowledge skills..." is a bit vague. I can't tell from the quote here if that's talking about three specific knowledge skills previously mentioned or just three knowledge skills in general. I assumed the latter, but I could easily have been wrong. I know nothing about Farscape.

Quote:
Unfortunately creating the dropdown of skills happens at First/10999. I guess I'd have to it show all the time and assign Helper.FtDisable?
Not sure why the dropdown needs to get created there. Ultimately, you are probably better off using Mathias's suggestion.
Sendric is offline   #6 Reply With Quote
Reply


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 11:53 AM.


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