First of all, I usually use "Unit enters region" event, as that also detects when any unit enters the game (be it summoned unit or trained, etc.). I don't know how fast is the event you used (if the unit exists in the very moment the event fires). So try just changing the event and the condition from "...(summoned unit)..." to "...(Triggering unit)..." and see if it helps
Also, can you cast the spell without any problems? I mena does it require mana? and if so does your unit have mana? Or other things which could block the unit from using it.
As for your healing spell, it's quite simple and at the same time complicated. See, the simple thing is that intelligence is an integer number (number without decimal point), while health is a real number (number with decimal point), which mean you just have to convert that integer number into real number and sum both values together.
So to set the life of a unit works like this:
Set life of unit to
((life of unit) + I2R(intelligence of unit))
Notice those colors, they explain what you have to use and when. You have to set it in this order:
1) Red: Arithmetic
(X + Y)
2) Click on X in the above arithmetic function
3) Green:
Unit - Property of unit - choose health here
4) Click ok to get back to the arithmetic function
5) Blue: Choose
Conversion - convert integer to real
6) Select what number you want to convert by clicking inside the function on the
blue underlined Point-value of footman
7) Yellow: Choose here
Hero - Hero Attribute
8) choose the correct attribute and correct unit, click OK on all windows.
If you did everything right, you should end up with something like this:
-
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + (Real((Intelligence of (Triggering unit) (Exclude bonuses)))))
Now that was the easy part. The hard part is that you will need to create a trigger which periodically does the above (periodically heals you). If you want this to be MUI (multiple units can cast this at the same time and the spell will still behave correctly) you will need to use indexing method and make the spell a bit more complicated.