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

Old October 16th, 2016, 06:32 PM
Try this:

Code:
var bonus as number
var minus as number
bonus = hero.child[aDEX].field[aModBonus].value
minus = hero.child[aSTR].field[aModBonus].value

doneif (minus >= bonus)

var diff as number
diff = bonus - minus

foreach pick in hero from BaseWep where "wClass.Light | Helper.Finesse"
 eachpick.field[wDamBonus].value += diff
nexteach
You can find a lot of similar things in the coding of other feats. I have a lot of fun tinkering with these kind of things.
Illyahr is offline   #2 Reply With Quote