here i have a map. the paladin has the ability thunderbolt. if u use it the paladin is supposed to be teleported to the position of the target unit. in my map this spell is supposed to work only on one kind of units, they all belong to the same player thats why the condition for the trigger is owner of unit= player 2, so it should only wokr on the grunt in this case.
ah. i just realized, that, because the ability cant be used if the unit doesnt have enough mana, i can just make him lose mana with a trigger. but for that i need to know how to make the amount of lost mana be dependent of the level of the ability (with each level it costs less mana.