Junior Member
Join Date: Apr 2011
Posts: 20
|
i'm trying to coding the justicar from one of the Super Genius works.
basically is an alternate class of the inquisitor that can choose from multiple judgment. so i make various custom special and bootstrapped to them the "Judgment of" class special. when i add the custom to class (from the class panel in herolab) i get this error: Code:
Attempt to access field 'cClrTurn' that does not exist for thing 'cJusJustic' Location: 'eval' script for Thing 'cInqJJusti' (Eval Script '#1') near line 13 - - - |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The error message mentions that the problem is in Eval Script #1 of the cJusJustic thing - I'd recommend copying and pasting that script here, so that we can see what you're trying to accomplish here. (describing the ability you're trying to implement is also recommended).
|
#2 |
Junior Member
Join Date: Apr 2011
Posts: 20
|
mmm... ok.
basically, i bootstrapped an inquisitor judgement (destruction, for example) to a custom class in order to make it a selectable for an alternate class of the inquisitor. it seems to me that the problem is this line of script: Quote:
|
|
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The "root." transition will transition to the pick that bootstrapped this pick - so, by bootstrapping it from a custom class ability, the root of that class special is the custom class ability, not the class, and custom class abilities don't have the cClrTurn field that classes do.
So, once you reach the root pick, you need to transition again, this time to the class whose table this ability was added to: Code:
root.linkage[table].field[cClrTurn].value Code:
root.linkage[varies].field[cClrTurn].value |
#4 |
Junior Member
Join Date: Apr 2011
Posts: 20
|
Quote:
thank you. |
|
#5 |
|
|