Quote:
Originally Posted by Quintain
Next question:
The devastating touch class ability for the Dread is 1d6 + 1/Dread Level. There is a mythic ability that replaces this with 1d6 / Dread level.
How would one script replace the value calculated by another?
|
I would recommend starting by looking at the script on the devastating touch class ability:
Code:
<eval phase="Final" priority="10000"><![CDATA[
~ Set the list name
field[listname].text = field[name].text & " (" & field[xIndex].value & "d6+" & field[xTotalLev].value & ")"
~ If we've been Disabled, get out now
doneif (tagis[Helper.SpcDisable] <> 0)
~ If we're not shown, just get out now
doneif (tagis[Helper.ShowSpec] = 0)
field[abValue].value += field[xCount].value
field[livename].text = field[name].text & " (" & field[abValue].value & "d6+" & field[xTotalLev].value & ")"]]></eval>
We see the "damage" is being built from a combo of abValue & d6 + xTotalLev.
So you just need to adjust the value of abValue before Final/10000 to increase the number of "dice".