Templarion said:Pardon me? Are you asking this:
"You need a trigger that remembers unit's mana level and can restore the same mana level, when unit's shapeshifting time is out?"
Unit Starts casting an ability
Ability being cast is equal to Morph
hasshifted is equal to false
Set mana(integer variable) to Property - Mana of casting unit
Set hasshifted = true
Unit finishes casting an ability
Ability being cast is equal to Morph
Set hasshifted = false
Set property mana of casting unit to mana