tooley1chris
Well-known member
Can someone please help make this work?
Under the trait bonus field I want the value to equal CO+CO+EN divided by 3
Is there a part of forum dedicated to poor scripters who lack talent?
<!-- Health Trait -->
<thing
id="trHealth"
name="Health"
compset="Trait"
isunique="yes"
description="Description goes here">
<fieldval field="trtAbbrev" value="Hlth"/>
<tag group="explicit" tag="1"/>
<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 += #trait[attrPE] + #trait[attrCO] + #trait[attrCO] / 3
]]></eval>
</thing>
Under the trait bonus field I want the value to equal CO+CO+EN divided by 3
Is there a part of forum dedicated to poor scripters who lack talent?
<!-- Health Trait -->
<thing
id="trHealth"
name="Health"
compset="Trait"
isunique="yes"
description="Description goes here">
<fieldval field="trtAbbrev" value="Hlth"/>
<tag group="explicit" tag="1"/>
<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 += #trait[attrPE] + #trait[attrCO] + #trait[attrCO] / 3
]]></eval>
</thing>