View Single Post
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 357

Old March 30th, 2019, 12:42 PM
Ok, what I have is:

Code:
Phase=Preattributes, Priority=10000
var intval as number

intval = hero.child[aINT].field[aNormal].value-3
intval = minimum(intval,6)

hero.child[aINT].field[aNormMod].value -= intval
At this timing, it calculates Int as 0 and, consequently, comes back with -3. It then subtracts -3 from your score, adding 3. I've tried playing around with timing, but if I try it after the Pre-attributes phase, the code doesn't add or subtract anything. I'm at a loss here.
Illyahr is offline   #4 Reply With Quote