spell creation
I'm trying to create a spell that does 1 damage per caster level plus 1 per shard. Unfortunately XML defeats me. Here's what I got, but its not working, it always does 0 damage. Can anyone tell me the problem?
<GameModifier>
<ModType>Unit</ModType>
<Attribute>CurHealth</Attribute>
<IsForFormattedDescription>1</IsForFormattedDescription>
<Calculate InternalName="Calc" ValueOwner="CastingUnit">
<Expression><![CDATA[[UnitOwner_GetNumDeathShards] + [UnitOwner_GetNumFireShards] + [UnitOwner_GetNumEarthShards] + [UnitOwner_GetNumLifeShards] + [UnitOwner_GetNumAirShards] + [UnitOwner_GetNumWaterShards] + [UnitOwner_GetLevel]]></Expression>
</Calculate>UnitOwner_GetLevel
<Calculate InternalName="Value">
<Expression><![CDATA[[Calc]]]></Expression>
</Calculate>
<Calculate InternalName="ValueForFormattedDescription">
<Expression><![CDATA[[Calc]]]></Expression>
</Calculate>
</GameModifier>