Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old November 10th, 2018, 08:12 PM
Hi again folks, this time working on a class special that adds a damage bonus equal to the number of sneak attack dice at a given level. At 11th level, the bonus doubles. I want the listname and livename to list the bonus as it scales in level. My code is
Code:
~only do this if we are the first copy
     doneif (tagis[Helper.FirstCopy] = 0)

~Set abValue
     if (#levelcount[LegeRogu] >= 11) then
     field[abValue].value += (field[xCount].value + 1) * 2
     else
     field[abValue].value += field[xCount].value + 1
     endif

~ Set the listname
     field[listname].text = field[thingname].text & " " & signed(field[abValue].value)

~ Set the livename
     field[livename].text = field[thingname].text & " " & signed(field[abValue].value)
The ability scales at every odd level, but the output in the class abilities tab and the Specials tab aren't calculating correctly. What did I screw up?
Bob G is offline   #1 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 04:50 PM.


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