attack now consumes energy and you can't attack if you don't have enough energy