You can move the unit instantly through (move unit... lala) and order the (Attacked Unit) to Damage (Attacking Unit) for ((Main Attribute)*2). How to check the main attribute... Hmm, to get the Main Attribute if you give it to only one hero you will know which it is. Else, check what the hero's type is and depending on it, change the Attribute.