View Single Post
Silveras
Senior Member
 
Join Date: Aug 2010
Posts: 1,528

Old January 11th, 2017, 06:47 PM
Quote:
Originally Posted by Cynder View Post
update, i got it working.. though, why it works i have no idea.. heres what i have

field[abDC].value += hero.child[ProfBonus].field[tProfBonus].value + #attrmod[aCHA]


i got rid of the base 10 upfront.. and its now giving me the DC 15 i need..


so... i dont get it though, wheres the 10 coming from?

its giving me 15, the number i need... just from profBonus + aCha... so, i am so lost...

how is this working?
The base 10 was *probably* already there... you adding 10 + modifiers resulted in a net base 20, then the modifiers.

+= [some formula] means to add [some formula] to what is already there. If you wanted to completely replace any existing value with the calculated value, just "=" instead of "+=" is what you wanted.

Make sense?
Silveras is offline   #11 Reply With Quote