View Single Post
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,217

Old June 3rd, 2009, 07:43 PM
Quote:
Originally Posted by Lawful_g View Post
perform field[fChosen].chosen.forward[ClassSkill.?]

... but I am not having any luck modifying it to add a bonus, getting an "invalid use of reserved word in script", an error that I frequently see.

For example, I am doing:

hero.field[fChosen].chosen.field[Bonus].value += 2

Also tried:

#skillbonus[fChosen] += 2

But then it doesn't recognize fChosen as being anything
For the first, don't use hero. - the fChosen field you're trying to look up is on the feat, which is presumably where the script is.

For the second, try #skillbonus[field[fChosen].chosen] += 2, I think that's probably the correct way to access it (I haven't tested it yet).
Mathias is offline   #13 Reply With Quote