I'm trying to increase the DC of the Channel Energy ability.
It's a trait bonus so I thought this script at post levels 10000
would work but I get this error
then I tried this script at Final 26000
which compiled but I received this error
which I presume means that xChannel doesn't accept situational bonuses.
I then tried this script at final 26000
and the Channel energy DC increases but if I were to add another trait bonus to the DC it would also increase as the above script doesn't define the +1 as a trait bonus.
Is there a better way of coding this so it doesn't stack with any other trait bonuses?
It's a trait bonus so I thought this script at post levels 10000
Code:
~ Add +1 Trait Bonus to our Channel Energy DC
#situational[hero.child[xChannel],"+1 trait bonus to the save DC of Channel
#applybonus[BonTrait, hero.child[abDC], 1
would work but I get this error
HTML:
Hero Lab was forced to stop compilation after the following errors were detected:
Syntax error in 'eval' script for Thing 'trWoWAsmWi' (Eval Script '#1') on line 4
-> Non-existent thing 'abDC' used by script
then I tried this script at Final 26000
Code:
~ Add +1 Trait Bonus to our Channel Energy DC
#situational[hero.child[xChannel],"+1 trait bonus to the save DC of Channel energy",field[thingname].text]
~ Add a +1 trait bonus to our Channel Energy DC
foreach pick in hero from Ability where "fieldval:abDC > 0"
eachpick.field[abDC].value += 1
nexteach
which compiled but I received this error
HTML:
Attempt to access field 'SitList' that does not exist for thing 'xChannel'
which I presume means that xChannel doesn't accept situational bonuses.
I then tried this script at final 26000
Code:
~ Add a +1 trait bonus to our Channel Energy DC
foreach pick in hero from Ability where "fieldval:abDC > 0"
eachpick.field[abDC].value += 1
nexteach
and the Channel energy DC increases but if I were to add another trait bonus to the DC it would also increase as the above script doesn't define the +1 as a trait bonus.
Is there a better way of coding this so it doesn't stack with any other trait bonuses?