Lord Magus
Well-known member
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.
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!
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!