Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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   #16 Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:18 PM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.