View Single Post
Abrion
Junior Member
 
Join Date: Dec 2007
Posts: 5

Old February 8th, 2008, 07:37 PM
I am in the process of creating the ninja character class from CA and have gotten stuck calculating the ki points for the character's various abilities. The points are calculated by gaining 1 point for every two levels plus points equal to the character's wisdom bonus. I can calculate the points for levels just fine but have not been able to add the wisdom bonus.

Here is what I have so far:

~ set ki points for levels
var level as number
level = field[xTotalLev].value / 2
level = round(level, 0, 1)
field[hTotal].value = level

I've tried using the following code to add to the level total but apparently this doesn't work:

var bonus as number
bonus = hero.child[aWIS].field[aModBonus].value

Can anyone help?
Abrion is offline   #1 Reply With Quote