Not really sure what you guys are doing.
I'm assuming that the Gnarley Secret Sign is actually a skill, correct?
Then this line kinda bugs me.
Code:
field[Bonus].value += bonus
Taking the kUserRanks from the skill, and then adding them back into the skill total, seems to add half of its ranks back in again.
This code probably only needs to add half the INT into the bonus, and nothing more than that. There is no need to round if the kUserRanks are already cross class.
Code:
~Modifier to account for additional Intelligence~~
field[Bonus].value += hero.child[aINT].field[aFinalVal].value/2
Therefore, with an Intelligence of 12/2 returning 6, we get the following:
- adding 1 point gives the result 6 1/2 (6 + 1/2 rank)
- adding 2 point gives the result 7 (6 + 1 rank)
- adding 3 point gives the result 7 1/2 (6 + 1 1/2 rank)
- adding 4 point gives the result 8 (6 + 2 rank)
- adding 5 point gives the result 8 1/2 (6 + 2 1/2 rank)
- adding 6 point gives the result 9 (6 + 3 rank)
I believe this is what you are trying to get to, or am I misunderstanding this?