I am not a coder, but let me explain the basics.
To find out which unit is low you can do that by pixel searching.. but you have to enable the hp bar.
Problems:
- It also work for your own and allied units/heroes.. in
dota you cant denie heroes (except if they have a dps) well...
- I think if we do it by pixel... we can click on the red hp bar, but not on the creep itself.
- What will you do if 3 creeps are low? Hm
- It have to know how many HP has the unit.... this CANT be done by pixel... but it can attack the creep if the hp bar is red..
To find out what damage your hero have i think its impossible, BUT you can manually enter it to the program.
I wouldnt say its impossible to code, but its very very very hard. Automine (if it is that what i think) its more easier. Well iam not a coder... but the idea is nice. Lets see if someone will do it.