View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,144

Old September 21st, 2018, 09:28 AM
Quote:
Originally Posted by Dark Lord Galen View Post
Phase:Post-attributes Priority: 10000 Index: 3
~Modifier to account for additional Intelligence~~
hero.child[aINT].field[aFinalVal].value += round(field[kUserPts].value, 0, -1)
Ok. What field are you trying to modify? Right now, it's aFinalVal on INT, which is likely not correct.

PS. I think you must be trying to add these two numbers together, which you can do with a variable:

Code:
var bonus as number
bonus = hero.child[aINT].field[aFinalVal].value + round(field[kUserPts].value, 0, -1)
Then it's a matter of what you do with that number, which is what my question was alluding to.

Last edited by Sendric; September 21st, 2018 at 09:31 AM.
Sendric is offline   #32 Reply With Quote