I'm interesting in making a spell where if the hero is attacked (passive %) it will move the unit to the hero and deal 2x the heros main attribute, i dont know how to do this so some help would be grand.
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.