I'm trying to create bonuses for a couple of classes that increase at various set levels (ie +2 at 6th, +4 at 12th, +6 at 18th, or somesuch), and the system seems to not want to cooperate.
I started by copying the Sneak Attack feature and editing the script to display the text that I want. No biggie, and it works fine... so long as I'm only adding +1 per instance of the ability. If I try to do anything different like make the bonus +2 per instance (abValue += 2*xIndex instead of just abValue += xIndex, for example), the system ignores those changes completely.
I managed to get the bonus to add up correctly (don't know the exact code changes that I made since I'm at work), but the proper bonus displays on the first instance of the ability, and the later instances just read as flat +2's instead of keeping the proper running total.
Does anyone have an idea what I'm missing or doing wrong?
I started by copying the Sneak Attack feature and editing the script to display the text that I want. No biggie, and it works fine... so long as I'm only adding +1 per instance of the ability. If I try to do anything different like make the bonus +2 per instance (abValue += 2*xIndex instead of just abValue += xIndex, for example), the system ignores those changes completely.
I managed to get the bonus to add up correctly (don't know the exact code changes that I made since I'm at work), but the proper bonus displays on the first instance of the ability, and the later instances just read as flat +2's instead of keeping the proper running total.
Does anyone have an idea what I'm missing or doing wrong?