Hello guys I'm want to make a spell that I have no knowledge of 
The spell will summon a unit at the targeted location, the unit is untargetable, cannot move and attack, has 300 health (+ 200 health per level) and will last for 7 seconds (+ 1 second per level) that's the easy part and no need to trigger.
The part that I have no knowledge of is absorbing the damage. The summoned unit will absorb 10% (+ 10% per level) all damage dealt to allied heroes nearby 400 yards. When the summoned unit dies due to absorbing too much damage or expires, the summoned unit will explode. Deals damage equivalent to the amount of damage the summoned unit has taken + 50% of the hero's INT to enemies nearby 500 yards.
I need help creating this spell in GUI and is this spell even possible to make

The spell will summon a unit at the targeted location, the unit is untargetable, cannot move and attack, has 300 health (+ 200 health per level) and will last for 7 seconds (+ 1 second per level) that's the easy part and no need to trigger.
The part that I have no knowledge of is absorbing the damage. The summoned unit will absorb 10% (+ 10% per level) all damage dealt to allied heroes nearby 400 yards. When the summoned unit dies due to absorbing too much damage or expires, the summoned unit will explode. Deals damage equivalent to the amount of damage the summoned unit has taken + 50% of the hero's INT to enemies nearby 500 yards.
I need help creating this spell in GUI and is this spell even possible to make
