Second question. I have a race called tinker gnome that has a racial ability called Guild affiliation. The player chooses from Craft, Technical, or Sage guild and gains a +2 racial bonus on the associated skills (Craft, Profession, and Knowledge respectively).
Feats have a "select from" option that you can choose skills with, but I can't figure out how to make a special that can do a similar thing.
Alternately, I tried to make a feat that is only available to Tinker Gnomes that I could bootstrap to them, but I could not figure out 3 issues.
One, how do I limit it to just the skills I want selectable? Traits have a mechanism where you enter into the Custom expression to limit to a few skills. EX: thingid.kKnowNoble|thingid.kKnowRel
Two, how do I make AllCraft, AllKnow, AllProf show up rather than just individual skills of that type? While there is no error when I add these in, I run into another stumbling block in the next step.
Three, how do I add a bonus to the chosen skill so it shows? For number three, there is Skill Focus to use as a reference, but it is not quite working with the things I am trying for the solving of 1 and 2. There is no error upon compiling, but when I select either of the limited selections I get an error message:
"Attempt to access pick information or behaviors for read only thing 'SKILLNAME'
Location: Procedure 'fTargetFoc' near line 6"
And no bonus is added. I've tried shifting around the timing for the eval script to no avail. I have also tried attacking it from a different angle, using the bit of code gotten from the traits where I found the solution to One as well:
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