You sure about that, 'cause I would wager that Afghanim's Scepter uses customized Engineering Upgrade abilitieswhen you cast a spell give the targeted unit a negative value spell damage reduction ability (it's a item ability)
although the best solution would be making the item to increase hero's ability levels by 1 (it's how is Dota's Afganim scepter done)
From what I recall, the Target event responses aren't available with the Finishes Casting event, so you wouldn't be able to damage anything.Why not just use 'Unit - Make Unit Damage Unit' on an event of 'Unit - A unit finishes casting an ability'.
Set Spellpower[Custom Value of (some unit)] = 100
Make (some unit) damage (other unit) for Spellpower[Custom value of (some unit)] * AbilitySpellpowerCoefficient of attack type X and damage type Y