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?

  • \$\begingroup\$ 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. \$\endgroup\$ – SevenSidedDie Nov 9 '13 at 1:13
  • \$\begingroup\$ Out of curiosity, what ability or effect grants an untyped bonus to Strength in Pathfinder? \$\endgroup\$ – ShadowKras Sep 24 '18 at 11:34
  • \$\begingroup\$ I forget exactly what I was trying to do with it, but I think it was for a house rule. So the general answer is "none". Given I was trying to make it rather than just using a download, it was almost certainly a house rule \$\endgroup\$ – Troy Daniels Sep 24 '18 at 17:09

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.


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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