OK, so I'm trying to make an item (let's call it a Mage's Robe for now), that adds 1/3 of the Wearer's INT to his defense/armor stat.
I've seen this (copied from a spell):
<Calculate InternalName="DamageFromINT" ValueOwner="CastingUnit">
<Expression><![CDATA[[UnitStat_Intelligence] * 0.3]]></Expression>
</Calculate>
<Calculate InternalName="Value">
<Expression><![CDATA[[DamageFromINT]]]></Expression>
</Calculate>
But, I am not sure how to translate this into a 'persistent' effect, i.e the bonus applies as long as the Mage wears the robe. Any suggestions on how I should phrase this so that the item applies the intended bonus?
I saw an earlier thread where a guy tried to do something similar (back in August), but it wasn't working for him, and he didn't get a response...
Help!!!