Role-playing Games Stack Exchange is a question and answer site for gamemasters and players of tabletop, paper-and-pencil role-playing games. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to create an object in Herolab for pathfinder that grants an untyped strength bonus. What I am starting from is

<thing id="ioHBSTR2" name="Hero Bonus, +2 STR" description="+2 Bonus to STR" compset="Wondrous">
 <usesource source="primetown"/>
 <tag group="Helper" tag="EquipMag"/>
 <tag group="Helper" tag="ShowSpec"/>
 <tag group="gType" tag="Wonder"/>
 <tag group="Helper" tag="EquipAvail"/>
 <eval phase="First">#enhancementbonus[hero.child[aSTR], 2]</eval>
 <!-- <eval phase="First">#bonus[hero.child[aSTR], 2]</eval> -->

This gives an enhancement bonus. The commented line is my attempt to convert it to an untyped bonus, which gives an error.

How do I convert this to an untyped bonus?

As a more general question, is there a document that says "these are the expressions that you can put into a script for hero lab?

share|improve this question
These tutorials may help. They don't indicate the # shortcut you can use, but there's a bit about writing it out the long way in the 201 tutorial. – SevenSidedDie Nov 9 '13 at 1:13
up vote 1 down vote accepted

You could try:

hero.child[[aSTR].field[Bonus].value = hero.child[[aSTR].field[Bonus].value + 2

I don´t have my herolab right here so I can´t test it right now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.