As soon as a hero dies, the substitute takes the hero's place in your formation. The substitute needs his own equipments and runes, so it would be a good idea to start working on that as soon as possible!