Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Tris
Junior Member
 
Join Date: Jan 2010
Posts: 5

Old January 30th, 2013, 04:56 PM
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?
Tris is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old January 31st, 2013, 05:38 AM
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
You would, of course, substitute 'DivineMnd' with your class's name and 'kSpot' with whatever class you want to improve. You can improve as many skills as you want by adding additional lines and changing the skill. The timing is important in that it must be in Post-Levels or later in order to count the number of class levels you have.
Sendric is offline   #2 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old January 31st, 2013, 09:22 AM
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
Kendall-DM is offline   #3 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old January 31st, 2013, 10:09 AM
Quote:
Originally Posted by Kendall-DM View Post
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
touche
Sendric is offline   #4 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:22 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.