Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Steal
Actions
Set Steal_Target = (Target unit of ability being cast)
Trigger - Run GetItem <gen> (ignoring conditions)
Wait until (Steal_Item Not equal to No item), checking every 0.10 seconds
Hero - Give Steal_Item to (Casting unit)