Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > Hero Lab Discussion

Notices

Reply
 
Thread Tools Display Modes
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 8th, 2016, 11:11 AM
Okay, but understand this is not currently really doing what I want it to; I'm kitbashing and trying to find problems piecemeal before I move on to the next part, so it uses code components from a couple of other things (a class ability and a feat) and they may not work right either.

What I have currently:
Code:
<thing id="fRDBFuX" name="Dragonborn Fury" description="While you are bloodied, you gain a +1 racial bonus to attack rolls." compset="RaceFeat">
    <eval phase="Final" priority="9001"><![CDATA[ doneif (herofield[acHPNow].value <= herofield[acHPBlood])
      foreach pick in hero from WeaponBase
        perform eachpick.field[wpBonus].modify[+,1,""]
        nexteach]]></eval>
    <eval phase="Final" priority="9001" index="2"><![CDATA[       doneif (herofield[acHPNow].value <= herofield[acHPBlood])
       foreach pick in hero where "EquipIndex.? & ImplemType.*"
          perform eachpick.assign[Helper.AttBonus]
        nexteach]]></eval>
    </thing>
and the error is:

Hero Lab was forced to stop compilation after the following errors were detected:

Syntax error in 'eval' script for Thing 'fRDBFuX' (Eval Script '#1') on line 1
-> Invalid field syntax used
Syntax error in 'eval' script for Thing 'fRDBFuX' (Eval Script '#2') on line 1
-> Invalid field syntax used
Paragon is offline   #11 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old March 8th, 2016, 11:14 AM
It's a copy/paste error since both have the same problem. Look at your doneif statements and compare how you wrote the herofield identifiers out.
AndrewD2 is offline   #12 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 8th, 2016, 01:47 PM
Ah. The lack of the ".value" on the second half?
Paragon is offline   #13 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 874

Old March 8th, 2016, 01:48 PM
Oh, and I knew what line the problem was in; I just was somehow blind to the lack of parallelism.
Paragon is offline   #14 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old March 8th, 2016, 02:06 PM
Correct, the ".value"
AndrewD2 is offline   #15 Reply With Quote
Reply

Thread Tools
Display Modes

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 11:41 AM.


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