• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding class skills with a feat

GLBIV

Well-known member
I've been working on adding the Initiate feats from FR, and I've hit a snag.

Initiate of Shar adds Bluff and Hide as class skills, the same way the Trickery Domain does. It works like a charm for clerics, but when I try to assign the feat to a ranger character I get errors — since the linkage
tag is for clerics.

I imagine there may also be issues with multi-class characters, since hero.assign[kxxxx] would add the skills to all of my classes instead of just the divine spellcasting class the feat is meant to affect.

So, I guess, first I need a selector, then I need a way to assign the skills as class skills only for the class I select.

The problem: I don't know how to do that.
 
When creating a feat, there is a section for 'Item Selection'. You can choose "Classes" for 'Select From...' and "Picks on Hero" for 'Restrict To...'. That will get you the chooser. Then you should be able to change the linkage to pick from the chosen item (usually something like usrChosen1) instead of clerics.
 
Last edited:
Great, so the script will look something like:

~add our class skills to selected class
perform linkage[usrChosen1].assign[kBluff]
perform linkage[usrChosen1].assign[kHide]

That look right?

Also, how can I find out for sure what HL calls my selected class?
 
Great, so the script will look something like:

~add our class skills to selected class
perform linkage[usrChosen1].assign[kBluff]
perform linkage[usrChosen1].assign[kHide]

That look right?

Also, how can I find out for sure what HL calls my selected class?

In theory, I think it would look like that, yes. When you have the feat selected in your portfolio, right-click on it, and select "Show Debug Fields for [feat name]". Then you can look for the field name that shows the class you selected.
 
I've been wrestling with this for a while. I can't find the field that is supposed to be my selected item.

I set up the selector in the editor as described above, then I selected the feat and looked at the debug fields. The problem is, none of the fields show the selection I make, with the exception of xName and short name. Those can't be the right fields.

Is there another script I need to use to set up the selection as a field?
 
I've been wrestling with this for a while. I can't find the field that is supposed to be my selected item.

I set up the selector in the editor as described above, then I selected the feat and looked at the debug fields. The problem is, none of the fields show the selection I make, with the exception of xName and short name. Those can't be the right fields.

Is there another script I need to use to set up the selection as a field?

Sorry. I couldn't find it either, but I took a look at some other feats and adjustments and came up with this:

Code:
perform field[fChosen].chosen.assign[ClassSkill.kBluff]
perform field[fChosen].chosen.assign[ClassSkill.kHide]

Set timing to First/1000. I tested this and it does work.
 
Code:
perform field[fChosen].chosen.assign[ClassSkill.kBluff]
perform field[fChosen].chosen.assign[ClassSkill.kHide]

OK, cool.

I had all of that except ".chosen." between the field call and the assignment.

I guess that's why I was getting an "fChosen is undefined" message. I just need to get a better handle on this language.

Thanks for the help.
 
Code:
perform field[fChosen].chosen.assign[ClassSkill.kBluff]
perform field[fChosen].chosen.assign[ClassSkill.kHide]

OK, cool.

I had all of that except ".chosen." between the field call and the assignment.

I guess that's why I was getting an "fChosen is undefined" message. I just need to get a better handle on this language.

Thanks for the help.

I think I got that from the Class Skill adjustment. I just sort of played around with things until I got something that compiled ok, then changed the timing until something worked. All of my coding comes down to copy and paste, and if that fails, trial and error (mostly error).
 
No joke, that's the boat I'm in.

This makes sense though.

what I had:
perform linkage[fChosen].assign[kBluff]

was (I think) saying "Select a cereal, pour milk."

what you have:
perform field[fChosen].chosen.assign[ClassSkill.kBluff]

is (I think) saying "Select a cereal, what is it?, pour milk on that cereal you selected"

crazy robot language.
 
No joke, that's the boat I'm in.

This makes sense though.

what I had:
perform linkage[fChosen].assign[kBluff]

was (I think) saying "Select a cereal, pour milk."

what you have:
perform field[fChosen].chosen.assign[ClassSkill.kBluff]

is (I think) saying "Select a cereal, what is it?, pour milk on that cereal you selected"

crazy robot language.

Stupid robots messin with my head. Who cares what the cereal is? Just pour the damn milk already. :D
 
perform field[fChosen].chosen.assign[ClassSkill.kBluff]

I'd translate as "Start at the fChosen field, go to the thing it chose, and pour SYRUP on it" cause I like flapjacks. You thought the robots were mad before, just wait until they are sticky!

linkages will probably be seldom used by you, there are only a few things that have linkages defined... There is a linkage between class levels and class helpers, skills and the attribute they base off of, custom special abilities and their classes, and variant classes and the class they modify.
 
Gotcha, now that I see how this field[fChosen].chosen stuff works, I think that will get me through most of my issues with these initiate and regional feats.
 
Back
Top