public void addSpecificDamage(String s){
  int ewSpot=s.indexOf(':');
  if (s.isEmpty() || (ewSpot < 1)) {
    return;
  }
  int loc=Integer.parseInt(s.substring(1,ewSpot));
  int setTo=Integer.parseInt(s.substring(ewSpot + 1));
  boolean rear=(s.charAt(0) == 'R');
  boolean internal=(s.charAt(0) == 'I');
  specificDammage.add(new SpecDam(loc,setTo,rear,internal));
}

public void addSpecificDamage ( String s ) { int ewSpot = s . indexOf ( ':' ) ; if ( s . isEmpty ( ) || ( ewSpot < 1 ) ) { return ; } int loc = Integer . parseInt ( s . substring ( 1 , ewSpot ) ) ; int setTo = Integer . parseInt ( s . substring ( ewSpot + 1 ) ) ; boolean rear = ( s . charAt ( 0 ) == 'R' ) ; boolean internal = ( s . charAt ( 0 ) == 'I' ) ; specificDammage . add ( new SpecDam ( loc , setTo , rear , internal ) ) ; }
converts n2 : 1 to nornam hit to location 2 set armor to 1 !
