hello
the spell im making atm is like Regrowth from WoW - it heals for an amount & makes a heal over time on the target. I've tried to make the trigger myself which was like this:
Then i got help from another user, and he suggested this:

if you know how to make this in the world editor it would be great, but jass is fine too if you explain most of the text
and sorry for the block of text.. 
-
Restore instant
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Restore
-
-
Actions
-
Unit - Set life of (Target unit of ability being cast) to ((Life of (Target unit of ability being cast)) + (((Real((Intelligence of (Triggering unit) (Include bonuses)))) x 2.00) + ((Real((Level of Restore for (Triggering unit)))) x 10.00)))
-
-
Then i got help from another user, and he suggested this:
-
Restore Instant
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Restore
-
-
Actions
-
Set Target = (Targeted unit)
-
Set Caster = (Casting unit)
-
Unit - Set life of Target to ((Life of Target) + (((Real((Intelligence of Caster (Include bonuses)))) x 2.00) + ((Real((Level of Restore for Caster))) x 10.00)))
-
Wait 5.00 seconds
-
Trigger - Run Restore HoT <gen> (ignoring conditions)
-
-
-
Restore HoT
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Restore
-
-
Actions
-
Unit - Set life of Target to ((Life of Target) + (((Real((Intelligence of Caster (Include bonuses)))) x 2.50) + ((Real((Level of Restore for Caster))) x 5.00)))
-
Wait 5.00 seconds
-
Unit - Set life of Target to ((Life of Target) + (((Real((Intelligence of Caster (Include bonuses)))) x 2.50) + ((Real((Level of Restore for Caster))) x 5.00)))
-
Wait 5.00 seconds
-
Unit - Set life of Target to ((Life of Target) + (((Real((Intelligence of Caster (Include bonuses)))) x 2.50) + ((Real((Level of Restore for Caster))) x 5.00)))
-
-
if you know how to make this in the world editor it would be great, but jass is fine too if you explain most of the text