Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Kaleb
Senior Member
 
Join Date: Aug 2010
Posts: 576

Old October 25th, 2016, 12:30 PM
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
Kaleb is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 25th, 2016, 12:35 PM
There is no such thing as the "sacredbonus" macro.
Mathias is offline   #2 Reply With Quote
Kaleb
Senior Member
 
Join Date: Aug 2010
Posts: 576

Old October 25th, 2016, 12:39 PM
Mathias could lone wolf create a macro for each bonus type?
Kaleb is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 25th, 2016, 12:47 PM
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.
Mathias is offline   #4 Reply With Quote
Kaleb
Senior Member
 
Join Date: Aug 2010
Posts: 576

Old October 25th, 2016, 01:29 PM
Thanks Mathias, used the right script and it is working great.
Kaleb is offline   #5 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:16 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.