while(m.getC3Master() != null && !m.getC3Master().equals(m) && m.getC3Master().hasC3() && !LosIsThroughEnemyECM(m, m.getC3Master())) {
while(m.getC3Master() != null && !m.getC3Master().equals(m) && m.getC3Master().hasC3() && !(Compute.isAffectedByECM(m, m.getPosition(), m.getC3Master().getPosition()))) {
    public Entity getC3Top() {      Entity m = this;      while(m.getC3Master() != null && !m.getC3Master().equals(m) && m.getC3Master().hasC3() && !LosIsThroughEnemyECM(m, m.getC3Master())) {        m = m.getC3Master();      }      return m;    }