Guess I will just post it here, another error in your code
Says should be doing lightning damage of 4 but the code says 2
<SpellDef InternalName="StaticBlast">
<DisplayName>Static Blast</DisplayName>
<Description>Lightning strikes a random enemy for 4 Lightning damage (+1 per level).</Description>
<FormattedDescription>Lightning strikes a random enemy for %d Lightning damage.</FormattedDescription>
<IconFG>Ability_StaticBlast_Icon.png</IconFG>
<SpellBookSortCategory>Unit</SpellBookSortCategory>
<SpellBookSortSubCategory>UnitDamage</SpellBookSortSubCategory>
<SpellType>Tactical</SpellType>
<SpellClass>Offensive</SpellClass>
<SpellSubClass>Damage</SpellSubClass>
<SpellTargetType>RandomEnemyUnit</SpellTargetType>
<HideInHiergamenon>1</HideInHiergamenon>
<IsResistable>1</IsResistable>
<IsSpecialAbility>1</IsSpecialAbility>
<GameModifier>
<ModType>Unit</ModType>
<Attribute>DefendableDamage</Attribute>
<AttackStat>UnitStat_Attack_Lightning</AttackStat>
<IsForFormattedDescription>1</IsForFormattedDescription>
<Calculate InternalName="Calc" ValueOwner="CastingUnit">
<Expression><![CDATA[[Unit_GetLevel]]]></Expression>
</Calculate>
<Calculate InternalName="Value">
<Expression><![CDATA[[Calc] + 2]]></Expression>
</Calculate>
<Calculate InternalName="ValueForFormattedDescription">
<Expression><![CDATA[[Calc] + 2]]></Expression>
</Calculate>
</GameModifier>