View Single Post
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old November 10th, 2018, 08:09 AM
Hi Folks,

Working on an ability that adds a bonus to Fort and Will saves at specific levels. I tried using ShadowChemosh's code that uses xCount, but the bonuses aren't adding correctly after the first instance.
Code:
field[abValue].value += field[xCount].value
     hero.child[svFort].field[Bonus].value += field[abValue].value
     hero.child[svWill].field[Bonus].value += field[abValue].value
So what am I missing here?
Bob G is offline   #1 Reply With Quote