Base spell: any single unit target spell, as a dummy spell
Trigger: Def Damage
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Dummy
Actions
Unit - Create 1 Dummy Unit for (Owner of (Casting unit)) at (Position of (Target unit of ability being cast)) facing (Position of (Triggering unit))
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Unit - Cause (Last created unit) to damage (Target unit of ability being cast), dealing <When I find defence I'll put it here...> damage of attack type Spells and damage type Universal
Edit:
I belive you can't choose defence, HOWEVER if you make it a target hero only ability, you can use this formula: ((AGI of hero unit * 0.3) - 2)