• 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

huntercc

Well-known member
I like the 1.3 update, I just have one thing to point out and one question

1) The new Weather domain is supposed to add Survival as a Cleric class skill, but the way it's scripted it will be added as a class skill for all of the hero's classes. This works correctly for the domains found in srd_clericdomains.dat

2) Related to that, how would I make a feat that does the same thing - adds a class skill to the class that selected the feat, rather than all classes?
 
The source I looked at simply says that "Survival is a class skill", but I'm not sure if that's accurate. Does the original specify "for clerics"?

Adding a class skill to a specific class is easy - just add the class skill tag to the class. So to add Bluff as a class skill for all classes, you would do this:

var result as number
result = hero.assign[ClassSkill.kBluff]

To add bluff as a class skill for only clerics, you would do this instead:

result = hero.child[cHelpClr].assign[ClassSkill.kBluff]
 
Good point... I tried looking it up, but I haven't found anything that specifically says it only applies to the Cleric, or not. Some of the other domains do specify.

As for the other part of my question, I was trying to add a feat that would only add a class skill to the class that selected the feat... but after re-reading the text on the feat I realized it does not specify a certain class that it applies to. So ignore my second question in the above post :)
 
Back
Top