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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 468

Old May 18th, 2024, 01:11 PM
I have created an adjustment that grants a +1 inherent bonus to 2 different ability scores. I have set Menus #1 and #2 to Attributes.

Code:
Pre-Attributes / 10000
~ If we're not enabled, get out now
  doneif (field[pIsOn].value = 0)

~ If ability score(s) not chosen, get out now
  doneif (field[pChosen].ischosen = 0)
  doneif (field[pChosen2].ischosen = 0)

~ Add to our chosen attribute(s)
  field[pChosen].chosen.field[aNormMod].value += 1
  field[pChosen2].chosen.field[aNormMod].value += 1
And I get the following error message:
Attempt to assign field value with no pick context
Location: 'eval' script for Thing 'pSOULGftUwGds' (Eval Script '#2') near line 10

which corresponds to the attribute chosen in pChosen2. I have not been able to circumvent that, and actually need to use this adjustment as a part of a complex ability. Any pointers as to what is going on? Thanks!
Lord Magus is offline   #1 Reply With Quote
 


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 10:38 AM.


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