• 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

Class Skill Bonus Help

talsharien

Well-known member
I am wondering if anyone can help.

I am wanting to amend the way class bonus is applied to class skills for a select number of character class' that I have constructed for my custom rules.

I appreciate that this is a core mechanic and thus I will not be able to edit the file but was wondering if there was anyway of replacing the mechanic.

Optionally I can remove all of the class skills for each custom class and build an eval to adjust the class skill bonus for each class.

Any thoughts
 
Yes lol

+2 bonus to class skills at 1st level, this increases by +1 at 5th level and every 5 levels thereafter.
 
How does this interact with multiclass? Do you mean that each class adds +2 or more to its own class skills, so if you've got the same class skill from more than one class, you can get more than one bonus, or is the /5 levels a total levels test?
 
How does this interact with multiclass? Do you mean that each class adds +2 or more to its own class skills, so if you've got the same class skill from more than one class, you can get more than one bonus, or is the /5 levels a total levels test?

The bonus would be associated with total level at the moment
 
Well if class skills from different classes stacked I would say to make a mechanic with a loop to check all skills that have the Helper.ClassSkill tag and have a value in the ranks field > 0. Then I'd subtract 1 from it, then apply a bonus equal to #totallevelcount[]/5.

If you only want it to work on those classes specifically you could put it in a procedure and then do a procedure call on each class helper so that you only need to edit the code in one place instead of on each class.
 
Well if class skills from different classes stacked I would say to make a mechanic with a loop to check all skills that have the Helper.ClassSkill tag and have a value in the ranks field > 0. Then I'd subtract 1 from it, then apply a bonus equal to #totallevelcount[]/5.

If you only want it to work on those classes specifically you could put it in a procedure and then do a procedure call on each class helper so that you only need to edit the code in one place instead of on each class.

Great idea, shall give that a go thanks
 
I used the following to apply this on a class for class basis

post-levels (users) P 10000 Ind 1
#skillbonus[pClassSkl] = round(#totallevelcount[] *.2, 0, -1) - 1

It worked initially and now seems to have stopped, I cannot work out why

Can anybody help
 
pClassSkl is the adjustment for making something a class skill. Perhaps you deleted that pick from the hero? Although I wouldn't think that script would have an effect, looking at the adjustment it alters.

Here is what I would suggest.

Final 21000
Code:
~ Calculate the skill's class skill bonus
var overbon as number
overbon = 2 + round(#totallevelcount[]/5, 0, -1)

~ Overwrite the existing bonus value with our new calculated bonus.
foreach pick in hero from BaseSkill where "SOMETAGEXPRESSIONTOONLYFINDTHESKILLSYOUWANT"
  eachpick.field[skClsSkBon].value = overbon
  nexteach
 
Had I realized that was a field, that's exactly what I would have done

*tries to remember where he has much more complex code to do something similar*
 
pClassSkl is the adjustment for making something a class skill. Perhaps you deleted that pick from the hero? Although I wouldn't think that script would have an effect, looking at the adjustment it alters.

Here is what I would suggest.

Final 21000
Code:
~ Calculate the skill's class skill bonus
var overbon as number
overbon = 2 + round(#totallevelcount[]/5, 0, -1)

~ Overwrite the existing bonus value with our new calculated bonus.
foreach pick in hero from BaseSkill where "SOMETAGEXPRESSIONTOONLYFINDTHESKILLSYOUWANT"
  eachpick.field[skClsSkBon].value = overbon
  nexteach

Hmmm, cant seem to get this to work, HL tells me that skClsSkBon does not exist when I try to direct towards it.
 
Well, it definitely exists on skills, so my guess is that the transition is pointing somewhere else. Could you post what you have?
 
A mechanic would probably be good, unless you wanted to tie it only to certain classes, in which case a series of archetypes might be preferable.
 
Back
Top