Well, first you need to define a candidate expression to select only those skills, in usrCandid1. You can find many examples of this sort of thing, perhaps start by copying one of the traits which requires you to choose 1 of 2 skill choices.
Then you need to calculate the bonus to apply, and apply the bonus. Try copying the Rogue's Trapfinding class ability and looking at its eval scripts.
Then you just need to find an example of something with a selector which transitions to the specific pick and changes something about the chosen pick. This might well be something the trait you considered above does, but if not, check around other traits.
|