This is a mapmaking demo of a energy shield generator. This generator automatically applies an energy shield to nearby units. Any damage that those units take is reduced to 0. For each point of damage reduced in this way, the generator loses 1 energy. When the generator's energy reaches 0, the shield turns off.