Max amount of targets is 21 no matter even with shift for if it is past 21 then the hero just acts like its paused and its control panel goes away and wc3 blows up.
You can just keep doing what your doing, just make multiple copies of the same trigger and add to that trigger and so on to avoid trigger event leaks so you turn off this trigger once you make a integer and it hits 8000 then turn that trigger off and use the next one.
Sacrifice
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to Sacrifice
Actions
Unit - Kill (Casting unit)
Unit - Add Chakra Shield to (Target unit of ability being cast)
Changed Version -
Sacrifice
Events...
This works just fine....
Dummy aura as you said with elunes grace works exactly the way you wanted it too, did you know if you use negative values you can get spells to heal enemy or allied units?
Just a idea if you thought of elemental damage as in fire vs fire.
The methods which all(except DioD) of you came up with are very poor (sorry if I have offended you).
As well this method works with any type of terrain and any style whether its curved or whatever.
Method Example Is Below.
If you don't want to test it with world editor which would take...
Two things -
Firstly your posting in the wrong section.
Secondly I do not think this section supports this or any section on this site for that matter since it is considering hacking or whatever it is called now.
But it is not gui.... This also helps lead the way for more beginners or people who have trouble remembering how to do stuff like this but better instead of starting on something complex they can start small and move onto that half jass dmg detect then pure jass.
I think if the tutorial was...
There is three ways, one modify your editor to advaned gui so it detects this or learn VJass and get RtC from the hiveworkshop and use that....
Lastly you would have to use unit abilities that couldn't be hidden but still detects.
This is the same problem I had a few years back so I just used...
Everything leaks no matter what....
The difference between jass and gui aren't so high unless you are doing huge over 200 unit projectile or physics systems which almost or anybody has never done.
Tho they are right, this is not so great of a damage detection method but it is very good still no...