I am trying to write a script to add the class level of the parent class to a 1d6
the first script below is from Natural healing minus the line of code that divides the class level by 3
var plus as number
if (#hasability[cRslImpNat] <> 0) then
plus = #levelcount[Forester]
endif
field[livename].text = "Improved Nature's Healing(1d6+" & plus & ")"
When I use this script I 1d6+0 as my out put instead of 1d6 +12 as the test is a 12th level forseter.
Could I eliminate the var plus as number and the Plus= and use
if (#hasability[cRslImpNat] <> 0) then
+= #levelcount[Forester]
endif
field[livename].text = "Improved Nature's Healing(1d6+" & #levelcount[Forester] & ")"
to get the out put that I am looking for?
the first script below is from Natural healing minus the line of code that divides the class level by 3
var plus as number
if (#hasability[cRslImpNat] <> 0) then
plus = #levelcount[Forester]
endif
field[livename].text = "Improved Nature's Healing(1d6+" & plus & ")"
When I use this script I 1d6+0 as my out put instead of 1d6 +12 as the test is a 12th level forseter.
Could I eliminate the var plus as number and the Plus= and use
if (#hasability[cRslImpNat] <> 0) then
+= #levelcount[Forester]
endif
field[livename].text = "Improved Nature's Healing(1d6+" & #levelcount[Forester] & ")"
to get the out put that I am looking for?