View Single Post
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old July 15th, 2017, 11:06 AM
{nods} One of the reasons I avoided bonus was that I wanted to be able to constrain initial total ranks in the skill to 9, including amounts added from Sophont Type, Command Package, base value in Dodge etc. My understanding is that bonuses do not count against that maximum.

I wound up setting up the following in traits.str:
Quote:
<!-- Base value that costs no points, and can't be decreased, but counts toward the maximum -->
<field
id="trtBase"
name="Base Value"
type="derived">
</field>
Then, I changed the bound calculation for trtUser:

Quote:
<!-- Bound the user value to the limits established for the trait -->
<bound phase="Traits" priority="1000" name="Bound trtUser">
<before name="Calc trtFinal"/><![CDATA[
@minimum = field[trtBase].value + field[trtMinimum].value
@maximum = field[trtMaximum].value
]]></bound>
Initially, I ran into issues trying to modify that inside the race (for example, Neophants start with a +1 to Athletics ranks, +2 to Endurance, and +1 to Perception), but changing the phase fixed that. Thank you.

And I'll change the type. I wanted to define it so that I could organize the skills on the tab and/or display.
Duggan is offline   #11 Reply With Quote