This program is designed to remove the teamglow from one hero at a time not all of them, i don't know if i made that clear or not, though it can do multiple models at once. Also in most maps not that many heroes are used anyway :P
But battle roar is an aoe spell so any allies standing close would also get bonus?Also it is only attack damage Battle Roar adds i think? <----- ignore this
Ahh i see now, much better idea, set targets to self and it can also add def. pretty versatile.
I have a spell which targets an item (based on finger of death, but with 0 damage) and I need to set an item variable (i) to this target but i can't find the right native to do this.
Here is a simplified version of my code:
local item i = GetSpellTargetItem() //Wrong native 0.o