View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old August 18th, 2018, 01:15 PM
Well I guess I spoke too soon. It was actually SUPER easy to backward engineer this.

So here is the XML you need:
Code:
  <thing id="uXXX" name="+1 XXXX" compset="LevelBonus">
    <tag group="explicit" tag="35"/>
    <eval phase="PreAttr" priority="1000"><![CDATA[
      hero.childfound[aSTR].field[aStartMod].value += 1
      ]]></eval>
    </thing>
This adds a new option that increases strength. You need to change the aSTR to the ID of your attribute score. In addition change the XXX stuff I used to make this to something that matches your attribute score.

The Explicit.35 tag controls where this is displayed in the list. For now I have it set to 35 which is 5 higher than Cha which is set to 30 and Str is set to 5.

Hope that helps...

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.

Last edited by ShadowChemosh; August 20th, 2018 at 11:51 AM. Reason: Fixed the captilzed Explicit tag to help future readers...
ShadowChemosh is offline   #4 Reply With Quote