ShadowChemosh
Well-known member
So I am adding a Racial Cust Special that acts just like a tool giving a +2 circumstance bonus to a small list of skills. So to make sure they cover the "tools" rules I copied the script from "Thieves Tools" to give myself a place to start.
Thieves Tools:
Pre-Levels/10000
So it has this new "modify" function that I can't find any documentation on the wiki. But seems easy enough to understand as its giving a +2 bonus to the skToolMod field and going to have wording of "Mwk Thieves Tools". Ok seems good so far.
I put the following script on my Racial Cust Special and I get an error:
Pre-levels/10000
And I get the following error when I add it to my character:
The amount and text is added to the skill still:

But I need to figure out "why" or "what" is causing the BaseSkill component to toss the above error. Mathias/Aaron could you give any insights or thoughts on what is happening at line 5 that is causing the issue?
Thieves Tools:
Pre-Levels/10000
Code:
doneif (field[gIsEquip].value = 0)
perform hero.childfound[skDisable].field[skToolMod].modify[+,2,"Mwk Thieves Tools"]
I put the following script on my Racial Cust Special and I get an error:
Pre-levels/10000
Code:
perform hero.childfound[skDisable].field[skToolMod].modify[+,2,"Shadow"]
Code:
Attempt to use inconsistent operator for field adjustment with history tracking for field 'skToolMod'
Location: 'eval' script for Component 'BaseSkill' (Eval Script '#8') near line 5

But I need to figure out "why" or "what" is causing the BaseSkill component to toss the above error. Mathias/Aaron could you give any insights or thoughts on what is happening at line 5 that is causing the issue?