Senior Member
Join Date: Aug 2010
Posts: 576
|
I am trying to make a new Ioun stone and am getting this a parsing error on line 7
pre attributes 1000 ~ Items which would add sacred bonuses to attributes do not do so ~ when we are using the Auto Bonus Progression rules from Pathfinder Unchained. doneif (hero.tagis[source.PUAutoB?] <> 0) doneif (field[gIsEquip].value = 0) #sacredbonus[hero.child[aINT], 4] Below is the script that I copied the above from ~ Items which would add enhancement bonuses to attributes do not do so ~ when we are using the Auto Bonus Progression rules from Pathfinder Unchained. doneif (hero.tagis[source.PUAutoB?] <> 0) doneif (field[gIsEquip].value = 0) #enhancementbonus[hero.child[aDEX], 2] here is the test of the error message Hero Lab was forced to stop compilation after the following errors were detected: Syntax error in 'eval' script for Thing 'ioWATIDSE' (Eval Script '#1') on line 7 -> Unspecified error parsing script |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
There is no such thing as the "sacredbonus" macro.
|
#2 |
Senior Member
Join Date: Aug 2010
Posts: 576
|
Mathias could lone wolf create a macro for each bonus type?
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
There's a macro available for this exact task. There's no need to just create nearly identical macros, when there's a general bonus-applying macro already available.
You've found the reference information page in the editor's own help options, right? That's the page where that macro is described. |
#4 |
Senior Member
Join Date: Aug 2010
Posts: 576
|
Thanks Mathias, used the right script and it is working great.
|
#5 |
|
|