Junior Member
Join Date: Jan 2010
Posts: 5
|
I am trying to work out how to add Class Level as a modifier in Class special abilities. I am trying to make the Coglayer class from Dragonmech and it has a class feature that gives a bonus to 3 different skills from level 1.
How do you add the bonus? |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Stealing some code I used when making the Divine Mind, it would look something like this:
Post-Levels 10000 Code:
var bonus as number bonus = #levelcount[DivineMnd] #skillbonus[kSpot] += bonus |
#2 |
Spy
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220
|
If you are adding this script to the class helper, you can just use field[cTotalLev].value in place of the bonus.
Code:
#skillbonus[kSpot] += field[cTotalLev].value |
#3 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
|
#4 |
|
|