Member
Join Date: Oct 2019
Posts: 43
|
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 |
#1 |
Thread Tools | |
Display Modes | |
|
|