• 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

Possible to adjust the feat progression?

draco963

Well-known member
What I'm trying to do is to change the feat progression for characters. A quick search of the D20 forum didn't turn anything up. This is not a change to the class feat progression, nor the bonus feats that some races (humans) get at first level, but rather the entire progression. I can't seem to find a player-level feat table anywhere...

Any ideas?
Thanks!
 
You can write a script on something that is on all characters (such as a condition) that modifies herofield[tFeats]. You'll have to come up with your own formula, and will probably have to modify every level.

To my knowledge, there is no array visible to the user that you can modify.
 
Thank-you Sendric. So, I'd want to write that as an Adjustment probably, and add that adjustment to each PC. That way it's hidden from the player, but still active.

does herofield[tFeats] include feats earned from class or race? My point being, can I write one formula for all the PC's, or, would I have to write a custom one for each class/race combination that I have?
 
Thank-you Sendric. So, I'd want to write that as an Adjustment probably, and add that adjustment to each PC. That way it's hidden from the player, but still active.

does herofield[tFeats] include feats earned from class or race? My point being, can I write one formula for all the PC's, or, would I have to write a custom one for each class/race combination that I have?

I believe it only includes feats gained by character levels, but you might have to play around with it a bit to be certain.

If you want this to appear on *all* characters, then you should use a condition. Just choose one (other than Hasted which is already bastardized), and do a "replace thingid" in your own .user file. Then you can add the script to that. This way you don't have to worry about adding an adjustment to all the characters, and it will still be hidden from the users (even more so in fact).
 
Would this work?

running at Post-Levels 10000:
Code:
var HD as number

HD = minimum(hero.tagcount[Hero.HitDice]) / 4

herofield[tFeats] = herofield[tFeats] + HD
 
Last edited:
var HD as number

HD = minimum(hero.tagcount[Hero.HitDice]) / 4

What is it you are trying to do here? The minimum function requires two numbers from which it will select the lowest. Perhaps you are trying to round, like this:

round(hero.tagcount[Hero.HitDice]/4,0,-1)

herofield[tFeats] = herofield[tFeats] + HD

You need to add ".value" at the end, like this:

herofield[tFeats].value

Also, you can shorten that to:

Code:
herofield[tFeats].value += HD

However, you should understand that you will simply be adding the value of HD to the total number of feats gained. If you are trying to change it, then you should remove the '+' sign.

I don't know what timing is required.
 
Thank-you Sendric!

Yes, I'm trying to get the rounded down result of HD/4. So, 1-3 = 0; 4-7 = 1; 8-11 = 2; etc. I'll use your round(hero.tagcount[Hero.HitDice]/4,0,-1).

So, how does minimum work? Would minimum(hero.tagcount[Hero.HitDice]/4,3) return the decimal value of HD/4 until HD=13 and then start returning 3 always? Is there a way to restrict the math result to integers? Can I mix the round() function inside minimum() (or vice-versa)?

And thank-you for the correction (herofield[tFeats].value).

I am trying to add the HD/4 value to the feats counter. My DM for this particular game likes things (vastly) overpowered, and so he wants additional feats every fourth level as well as the normal every third.

Thanks a lot for your help, Sendric!! :D
 
Back
Top