Take the 2-minute tour ×
Role-playing Games Stack Exchange is a question and answer site for gamemasters and players of tabletop, paper-and-pencil role-playing games. It's 100% free, no registration required.

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> -->
</thing>

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
add comment

1 Answer

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.

http://tekkmage.com/content/joomla/path-list/9-pathfinder

share|improve this answer
add comment

Your Answer

 
discard

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.