public void Repair( ) { if ( IntegrityPercent < 1f ) IntegrityPercent = 1; if ( BuildPercent < 1f ) BuildPercent = 1; }