#3 movind repair logic to building
#3 refactoring
#3 Ship critic damage protection
#3 Damage protection for IntelCrititc