Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<thing
id="trBL"
name="Basic Lift"
compset="Trait"
isunique="yes"
description="Description goes here">
<fieldval field="trtAbbrev" value="BL"/>
<tag group="explicit" tag="5"/>
<tag group="User" tag="Power"/>
<!-- Calculate the Health trait as appropriate -->
<eval value="1" phase="Traits" priority="4000">
<before name="Derived trtFinal"/>
<after name="Calc trtFinal"/><![CDATA[
field[trtBonus].value = hero.child[attrST].field[trtFinal].value * hero.child[attrST].field[trtFinal].value / 5
]]></eval>
</thing>
<thing
id="trBS"
name="Basic Speed"
compset="Trait"
isunique="yes"
description="Description goes here">
<fieldval field="trtAbbrev" value="BS"/>
<tag group="explicit" tag="6"/>
<tag group="User" tag="Power"/>
<!-- Calculate the Health trait as appropriate -->
<eval value="1" phase="Traits" priority="4000">
<before name="Derived trtFinal"/>
<after name="Calc trtFinal"/><![CDATA[
field[trtBonus].value = (hero.child[attrHT].field[trtFinal].value + hero.child[attrDX].field[trtFinal].value) / 4
]]></eval>
</thing>
<thing
id="trBM"
name="Basic Move"
compset="Trait"
isunique="yes"
description="Description goes here">
<fieldval field="trtAbbrev" value="BM"/>
<tag group="explicit" tag="7"/>
<tag group="User" tag="Power"/>
<!-- Calculate the Health trait as appropriate -->
<eval value="1" phase="Traits" priority="4000">
<before name="Derived trtFinal"/>
<after name="Calc trtFinal"/><![CDATA[
var unmodbm as number
var modbm as number
~ unmodbm = hero.child[trBS].field[trtFinal].value
unmodbm = 5
modbm = round(unmodbm,0,-1)
field[trtBonus].value = hero.child[trBS].field[trtFinal].value
]]></eval>
</thing>
I'm trying to do this as well, but I'm having a problem. I can't seem to get the value for Basic Speed into Basic Move.
...
I have RTFM, but I can't figure out what I'm doing wrong. Can anyone help?