Why people think Jass can do everything?
There is no way to get data from object editor (damage, attack type, cooldowns, armor) by Jass.
You have to store that damage (eg in Hashtable) for later usage, but you have to enter everything manually, unfortunately.