Yeah, I don't have any code for this, as nothing I've done has worked so I keep deleting it.
I set this up like the die type from Savage Worlds but it just doesn't seem to be working.
Code:
<!-- Calculate the Damage Modifier trait as appropriate -->
<eval value="1" phase="Traits" priority="4000">
<after name="Calc trtFinal"/><![CDATA[
var dammod as number
dammod = #trait[attrStr] + #trait[attrSiz]
field[trtDisplay].text = round( dammod / 5, 0, 1)
]]></eval>
</thing>
I set this up like the die type from Savage Worlds but it just doesn't seem to be working.
Last edited: