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
Scarr
Junior Member
 
Join Date: May 2017
Posts: 11

Old May 19th, 2017, 04:55 AM
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.
Scarr is offline   #1 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old May 19th, 2017, 05:11 PM
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
Illyahr is offline   #2 Reply With Quote
Scarr
Junior Member
 
Join Date: May 2017
Posts: 11

Old May 20th, 2017, 03:37 AM
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!
Scarr is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old May 22nd, 2017, 03:52 AM
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.
Sendric is offline   #4 Reply With Quote
Scarr
Junior Member
 
Join Date: May 2017
Posts: 11

Old May 22nd, 2017, 07:00 AM
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?
Scarr is offline   #5 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old May 22nd, 2017, 07:12 AM
Quote:
Originally Posted by Scarr View Post
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
Sendric is offline   #6 Reply With Quote
Scarr
Junior Member
 
Join Date: May 2017
Posts: 11

Old May 22nd, 2017, 07:41 AM
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 by Scarr; May 22nd, 2017 at 08:52 AM.
Scarr is offline   #7 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old May 22nd, 2017, 09:31 AM
Quote:
Originally Posted by Scarr View Post
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.
Sendric is offline   #8 Reply With Quote
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old May 22nd, 2017, 10:45 AM
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
Illyahr is offline   #9 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 01:23 AM.


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