View Single Post
Senior Member
Join Date: Jul 2010
Posts: 2,988

Old June 28th, 2017, 03:37 AM
Originally Posted by draco963 View Post
var HD as number

HD = minimum(hero.tagcount[Hero.HitDice]) / 4
What is it you are trying to do here? The minimum function requires two numbers from which it will select the lowest. Perhaps you are trying to round, like this:


herofield[tFeats] = herofield[tFeats] + HD
You need to add ".value" at the end, like this:


Also, you can shorten that to:

herofield[tFeats].value += HD
However, you should understand that you will simply be adding the value of HD to the total number of feats gained. If you are trying to change it, then you should remove the '+' sign.

I don't know what timing is required.
Sendric is offline   #6 Reply With Quote