• 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

How does Age Category in Adjust Tab work?

Scarr

Member
I really feel dumb for asking this, but I simply cannot figure out how to make the Age adjustments work in the d20/3.5e version. I have an old character and would want to simply add an age adjustment so that the corresponding modifiers (-2 to physical, +1 to mental attributes) are automatically added, but I cannot figure out what I am supposed to put in to make it work.

The board-internal search function sadly filters out "age" because its too short, and my google search has brought me to the Adjust Tab in the first place, but the only thing I find there would be Age Category for dragons. I tried using that one, but if it is supposed to work here too, I am clueless to what to insert to make it work.
 
Use this:
Code:
 phase: pre-attributes
var bonus as number
bonus = field[pAdjust].value
hero.child[aINT].field[aNormMod].value += bonus
hero.child[aWIS].field[aNormMod].value += bonus
hero.child[aCHA].field[aNormMod].value += bonus

hero.child[aSTR].field[aNormMod].value -= bonus * 2
hero.child[aDEX].field[aNormMod].value -= bonus * 2
hero.child[aCON].field[aNormMod].value -= bonus * 2
 
Thanks. I slightly altered your code and it now looks as follows:

Code:
var bonus as number
bonus = field[pAdjust].value

if (bonus >= 1) then
  hero.child[aINT].field[aNormMod].value += 1
  hero.child[aWIS].field[aNormMod].value += 1
  hero.child[aCHA].field[aNormMod].value += 1
  hero.child[aSTR].field[aNormMod].value -= 1
  hero.child[aDEX].field[aNormMod].value -= 1
  hero.child[aCON].field[aNormMod].value -= 1
endif

if (bonus >= 2) then
  hero.child[aINT].field[aNormMod].value += 1
  hero.child[aWIS].field[aNormMod].value += 1
  hero.child[aCHA].field[aNormMod].value += 1

  hero.child[aSTR].field[aNormMod].value -= 2
  hero.child[aDEX].field[aNormMod].value -= 2
  hero.child[aCON].field[aNormMod].value -= 2
endif
if (bonus >= 3) then
  hero.child[aINT].field[aNormMod].value += 1
  hero.child[aWIS].field[aNormMod].value += 1
  hero.child[aCHA].field[aNormMod].value += 1

  hero.child[aSTR].field[aNormMod].value -= 3
  hero.child[aDEX].field[aNormMod].value -= 3
  hero.child[aCON].field[aNormMod].value -= 3
endif

To fit the adjustments and enable the cumulative component as described here (I had both understood them wrongly and described them wrongly in the original post).

Thanks for pointing me the right way!
 
For the record, the "Age Category" adjustment is strictly for use with the various Dragon races and is used to determine the dragon's age (ie juvenile, adult, very old, etc).

To my knowledge there isn't an adjustment for making an aged category. I will look into getting that added for a future release.
 
I figured as much. In any case, many thanks for all the extensive work you've put into the community set, it's really damn amazing.

Out of curiosity, how would I implement a drop down list where you could choose either of the age categories?
 
Out of curiosity, how would I implement a drop down list where you could choose either of the age categories?

I'm sorry. I don't really understand the questions. Generally, there are only three options for having a chooser:

class special
feat
adjustment
 
No worries, let me try to rephrase it. I am indeed talking about an Adjustment.

Given me above code, I can choose a number between -99 and 99, however only 0-3 are actually needed. So the ideal solution would involve a drop down, where the four possible age categories are displayed.

EDIT: Seemingly does work with so called portals, does it not?
 
Last edited:
No worries, let me try to rephrase it. I am indeed talking about an Adjustment.

Given me above code, I can choose a number between -99 and 99, however only 0-3 are actually needed. So the ideal solution would involve a drop down, where the four possible age categories are displayed.

EDIT: Seemingly does work with so called portals, does it not?

I haven't played around with adjustments much, especially of late, but I did a quick test and you can create a custom expression to allow the selection of a few specific options. These options, however, must be present on the character in order for them to appear in the drop down. Therefore, I think simply using 0-3 is the easiest way to go. You can set the min/max fields in the editor.
 
Actually, adjustments allow you to Seth their minimum and maximum values when using the editor. Just set min value to 0 and max value to 3. I did the same thing with honor ranks in the rokugan file
 
Back
Top