jimmyjohns80
Member
I'm making a trait which switches the attribute bonus from cha to int. I found flexing arm which substitutes str for dex in escape artist attempts and copied it but it's giving errors when i try to load hero lab
the eval script is
which i changed to
but on startup i get the following error
I got the skillname "Usemagic" from the trait "Dangerously curious" which gives a bonus to use magic device. I then tried "skUsemagicdevice" just to be sure and it gave me a slightly different error
Anyone able to point out what i'm doing wrong?
the eval script is
Code:
doneif (tagis[Helper.FtDisable] <> 0)
#situational[hero.child[skEscape],"+1 trait bonus to free yourself from bondage",field[thingname].text]
if (#attrbonus[aSTR] > #attrbonus[aDEX]) then
perform hero.child[skEscape].assign[SkillOver.aSTR]
endif
which i changed to
Code:
doneif (tagis[Helper.FtDisable] <> 0)
#situational[hero.child[skUsemagic],"+1 trait bonus to free yourself from bondage",field[thingname].text]
if (#attrbonus[aINT] > #attrbonus[aCHA]) then
perform hero.child[skUsemagic].assign[SkillOver.aINT]
endif
but on startup i get the following error
Syntax error in 'eval' script for Thing 'prag_act' (Eval Script '#1') on line 4
-> Non-existent thing 'skUsemagic' used by script
I got the skillname "Usemagic" from the trait "Dangerously curious" which gives a bonus to use magic device. I then tried "skUsemagicdevice" just to be sure and it gave me a slightly different error
Syntax error in 'eval' script for Thing 'prag_act' (Eval Script '#1') on line 4
-> Invalid id specified for thing
Anyone able to point out what i'm doing wrong?