I was wondering if their was a way to make it so that you have something that works similar to the Protoss' energy shields in Starcraft. Let's say a unit has this shield. If he is attacked, and he has mana, he will lose mana. If he runs out of mana, his health would be damaged. Could anyone tell me how to do this in GUI?