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

Reply
 
Thread Tools Display Modes
Darius Darksoul
Member
 
Join Date: Oct 2019
Posts: 43

Old October 4th, 2019, 10:17 PM
Can some tell me what Would happen if I removed abValue2 I looked in the whole script and cant find a value for abValue2 I think that is what is causing the 0 to be displayed after the modified sneak attack value


Finial Phase 10000

~our bonus is level /2, min 1
var bonus as number
bonus = field[xTotalLev].value / 2
field[abValue].value += maximum(round(bonus 0,1),1)
field[livename].text = "Strong Sneak Attack +" & field[abValue].value & "d8"
field[abSumm].text = "+" & field[abValue].value & "d8 damage if you flank your target or your target is flat-footed."



~And now, add our extra damage
doneif (field[abilActive].value = 0)

~there are abilities that alter sneak attack, and they'll add their own
~extradamage, so we don't want to add the base damage in those cases.
doneif (hero.tagis[Custom.AltSneak] <> 0)

foreach pick in hero from BaseWep
#extradamage[eachpick, " plus " & field[abValue].value & "d8" & field[abValue2].value & " sneak attack",field[thingname].text]
nexteach
Darius Darksoul is offline   #1 Reply With Quote
Reply


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 12:47 AM.


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