⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aq.java

📁 现在非常流行的手机网游的源码,可以下载来学习学习.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
      }
      x();
    }
  }

  private static void x()
  {
    be.jdField_q_of_type_Byte = 0;
    be.jdField_a_of_type_Boolean = false;
    be.jdField_b_of_type_Byte = 0;
    be.c = 0;
    be.jdField_a_of_type_Be.jdField_q_of_type_Boolean = false;
    be.jdField_a_of_type_Be.r = false;
  }

  private boolean d()
  {
    if ((be.a(14)) || ((w.m) && (be.a(5))))
    {
      bj localbj2;
      be.c();
      if ((be.b() == 2) || (jdField_a_of_type_Byte < 30))
      {
        System.out.println("in here return");
        return false;
      }
      bj localbj1 = bi.jdField_a_of_type_Bj;
      if ((bi.jdField_a_of_type_Bj == this) || (bi.jdField_a_of_type_Bj == null) || (bi.jdField_a_of_type_Bj.jdField_h_of_type_Byte == 2) || (bi.jdField_a_of_type_Bj.jdField_h_of_type_Byte == 3) || (bi.jdField_a_of_type_Bj.jdField_h_of_type_Byte == 2) || ((bi.jdField_a_of_type_Bj.jdField_h_of_type_Byte == 1) && (bi.jdField_a_of_type_Bj.jdField_j_of_type_Byte == this.jdField_j_of_type_Byte) && (bi.jdField_a_of_type_Bj != this.jdField_a_of_type_Bj)))
      {
        localbj2 = a(this, 25, 24);
        System.out.println("in pressNomalFightOrGetInfo");
        if (localbj2 != null)
        {
          bi.a();
          bi.b(localbj2);
        }
      }
      if ((localbj2 = bi.jdField_a_of_type_Bj) == localbj1)
        if ((localbj2 == null) || (localbj2 == this))
        {
          this.p = 0;
          b(2);
        }
        else if (localbj2.jdField_h_of_type_Byte == 2)
        {
          this.p = 0;
          if (a(this, 25, 24, bi.jdField_a_of_type_Bj))
            be.jdField_a_of_type_Ba.a(33554944);
          b(2);
        }
        else if (localbj2.jdField_h_of_type_Byte == 1)
        {
          if (localbj2.jdField_j_of_type_Byte == this.jdField_j_of_type_Byte)
          {
            if (this.jdField_a_of_type_Bj == localbj2)
            {
              this.p = 0;
              if (a(this, 25, 24, bi.jdField_a_of_type_Bj))
                be.jdField_a_of_type_Ba.a(33554944);
              b(2);
            }
            else
            {
              be.jdField_g_of_type_Boolean = true;
              be.jdField_a_of_type_Be.e();
              be.jdField_a_of_type_Be.b(2);
            }
          }
          else
          {
            this.p = 0;
            if (a(this, 25, 24, bi.jdField_a_of_type_Bj))
              be.jdField_a_of_type_Ba.a(33554944);
            b(2);
          }
        }
        else if (localbj2.jdField_h_of_type_Byte == 3)
        {
          be.jdField_g_of_type_Boolean = true;
          be.jdField_t_of_type_Int = bi.jdField_a_of_type_Bj.c;
          be.jdField_a_of_type_Be.b(3);
          be.i(100);
          be.jdField_j_of_type_Int = 0;
          be.jdField_a_of_type_Be.e();
          be.jdField_a_of_type_Ba.a(150994944);
        }
        else if (localbj2.jdField_h_of_type_Byte == 5)
        {
          int i = localbj2.jdField_o_of_type_Int - this.jdField_o_of_type_Int;
          int j = localbj2.n - this.n;
          if (i * i + j * j < 4)
          {
            b(9);
            return true;
          }
          ax.b(7, "距离当前目标太远,无法采集");
          return false;
        }
      return true;
    }
    return false;
  }

  private boolean e()
  {
    int i = 0;
    switch (this.jdField_q_of_type_Byte)
    {
    case 0:
      i = 1;
      if ((be.a(11)) || ((w.l) && (be.a(2))))
      {
        if (this.jdField_t_of_type_Byte == 1)
        {
          b(1);
          break label841:
        }
        c(1);
        break label841:
      }
      if ((be.a(13)) || ((w.l) && (be.a(8))))
      {
        if (this.jdField_t_of_type_Byte == 2)
        {
          b(1);
          d(2);
          break label841:
        }
        c(2);
        break label841:
      }
      if ((be.a(10)) || ((w.l) && (be.a(4))))
      {
        if (this.jdField_t_of_type_Byte == 3)
        {
          b(1);
          d(3);
          break label841:
        }
        c(3);
        break label841:
      }
      if ((be.a(12)) || ((w.l) && (be.a(6))))
      {
        if (this.jdField_t_of_type_Byte == 4)
        {
          b(1);
          d(4);
          break label841:
        }
        c(4);
        break label841:
      }
      i = 0;
      break;
    case 1:
      i = 1;
      if ((be.a(11)) || ((w.l) && (be.a(2))))
      {
        d(1);
        break label841:
      }
      if ((be.a(13)) || ((w.l) && (be.a(8))))
      {
        d(2);
        break label841:
      }
      if ((be.a(10)) || ((w.l) && (be.a(4))))
      {
        d(3);
        break label841:
      }
      if ((be.a(12)) || ((w.l) && (be.a(6))))
      {
        d(4);
        break label841:
      }
      i = 0;
      break;
    case 2:
      i = 1;
      if ((be.a(11)) || (be.a(13)) || (be.a(10)) || (be.a(12)) || ((w.l) && (be.a(2))) || ((w.l) && (be.a(4))) || ((w.l) && (be.a(6))) || ((w.l) && (be.a(8))))
      {
        b(1);
        break label841:
      }
      i = 0;
      break;
    case 7:
      i = 1;
      if ((be.a(11)) || ((w.l) && (be.a(2))))
      {
        if (this.jdField_t_of_type_Byte == 1)
        {
          b(1);
          break label841:
        }
        c(1);
        break label841:
      }
      if ((be.a(13)) || ((w.l) && (be.a(8))))
      {
        if (this.jdField_t_of_type_Byte == 2)
        {
          b(1);
          break label841:
        }
        c(2);
        break label841:
      }
      if ((be.a(10)) || ((w.l) && (be.a(4))))
      {
        if (this.jdField_t_of_type_Byte == 3)
        {
          b(1);
          break label841:
        }
        c(3);
        break label841:
      }
      if ((be.a(12)) || ((w.l) && (be.a(6))))
      {
        if (this.jdField_t_of_type_Byte == 4)
        {
          b(1);
          break label841:
        }
        c(4);
        break label841:
      }
      i = 0;
      break;
    case 9:
      i = 1;
      if ((be.a(11)) || ((w.l) && (be.a(2))))
      {
        d(1);
        b(0);
        this.y = 0;
        break label841:
      }
      if ((be.a(13)) || ((w.l) && (be.a(8))))
      {
        d(2);
        b(0);
        this.y = 0;
        break label841:
      }
      if ((be.a(10)) || ((w.l) && (be.a(4))))
      {
        d(3);
        b(0);
        this.y = 0;
        break label841:
      }
      if ((be.a(12)) || ((w.l) && (be.a(6))))
      {
        d(4);
        b(0);
        this.y = 0;
        break label841:
      }
      i = 0;
    case 3:
    case 4:
    case 5:
    case 6:
    case 8:
    }
    label841: return i;
  }

  private bj a(bj parambj, int paramInt1, int paramInt2)
  {
    bj[] arrayOfbj = new bj[bi.jdField_a_of_type_JavaUtilVector.size()];
    for (int i = 0; i < arrayOfbj.length; ++i)
      arrayOfbj[i] = null;
    i = parambj.l;
    int j = parambj.m;
    int k = 0;
    switch (parambj.jdField_t_of_type_Byte)
    {
    case 1:
      k = paramInt1;
      paramInt1 = paramInt2;
      paramInt2 = k;
      i -= (paramInt1 >> 1);
      j -= paramInt2;
      break;
    case 2:
      k = paramInt1;
      paramInt1 = paramInt2;
      paramInt2 = k;
      i -= (paramInt1 >> 1);
      break;
    case 3:
      i -= paramInt1;
    case 4:
      j -= (paramInt2 >> 1);
    }
    for (int l = 0; l < bi.jdField_a_of_type_JavaUtilVector.size(); ++l)
    {
      bj localbj2;
      if ((localbj2 = (bj)bi.jdField_a_of_type_JavaUtilVector.elementAt(l)) == this)
        break label214:
      if (a(localbj2.l - 1, localbj2.m - 1, 2, 2, i, j, paramInt1, paramInt2))
      {
        arrayOfbj[0] = localbj2;
        label214: break;
      }
    }
    bj localbj1 = null;
    for (int i1 = 0; i1 < arrayOfbj.length; ++i1)
    {
      if (arrayOfbj[i1] == null)
        break label436:
      if (localbj1 == null)
      {
        localbj1 = arrayOfbj[i1];
      }
      else
      {
        if ((arrayOfbj[i1].jdField_h_of_type_Byte == 2) || (arrayOfbj[i1].jdField_j_of_type_Byte != this.jdField_j_of_type_Byte))
        {
          localbj1 = arrayOfbj[i1];
          break;
        }
        label436: if ((arrayOfbj[i1].jdField_h_of_type_Byte == 3) && (localbj1.jdField_h_of_type_Byte != 2))
          localbj1 = arrayOfbj[i1];
        else if ((localbj1.l - parambj.l) * (localbj1.l - parambj.l) + (localbj1.m - parambj.m) * (localbj1.m - parambj.m) > (arrayOfbj[i1].l - parambj.l) * (arrayOfbj[i1].l - parambj.l) + (arrayOfbj[i1].m - parambj.m) * (arrayOfbj[i1].m - parambj.m))
          localbj1 = arrayOfbj[i1];
      }
    }
    return localbj1;
  }

  private boolean a(bj parambj1, int paramInt1, int paramInt2, bj parambj2)
  {
    int i = 0;
    int j = parambj1.l;
    int k = parambj1.m;
    int l = 0;
    switch (parambj1.jdField_t_of_type_Byte)
    {
    case 1:
      l = paramInt1;
      paramInt1 = paramInt2;
      paramInt2 = l;
      j -= (paramInt1 >> 1);
      k -= paramInt2;
      break;
    case 2:
      l = paramInt1;
      paramInt1 = paramInt2;
      paramInt2 = l;
      j -= (paramInt1 >> 1);
      break;
    case 3:
      j -= paramInt1;
    case 4:
      k -= (paramInt2 >> 1);
    }
    if (a(parambj2.l, parambj2.m, 1, 1, j, k, paramInt1, paramInt2))
      i = 1;
    return i;
  }

  private static boolean a(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, int paramInt7, int paramInt8)
  {
    return ((Math.abs((paramInt1 << 1) + paramInt3 - (paramInt5 << 1) + paramInt7) < paramInt3 + paramInt7) && (Math.abs((paramInt2 << 1) + paramInt4 - (paramInt6 << 1) + paramInt8) < paramInt4 + paramInt8));
  }

  private static boolean a(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5)
  {
    int i = (i = (paramInt1 - paramInt3) * (paramInt1 - paramInt3)) + (paramInt2 - paramInt4) * (paramInt2 - paramInt4);
    int j = paramInt5 * paramInt5;
    return (i < j);
  }

  private boolean a(int paramInt, bj parambj1, bj parambj2)
  {
    short[] arrayOfShort;
    boolean bool1;
    boolean bool2;
    if (paramInt == 0)
      return (jdField_a_of_type_Byte >= 30);
    if ((paramInt < 0) || (paramInt > 14))
      return false;
    if (parambj1 == null)
      return false;
    if ((arrayOfShort = a(parambj1.jdField_g_of_type_Byte, paramInt)) == null)
      return false;
    if (a(paramInt) > parambj1.jdField_h_of_type_Int)
      return false;
    int i = arrayOfShort[1];
    if (!((bool1 = a(parambj1, parambj2, paramInt, false))))
      return false;
    if (i != 6)
    {
      int j;
      if (i == 4)
        break label138:
      if (((j = arrayOfShort[2]) != 0) && (!(a(parambj1.l, parambj1.m, parambj2.l, parambj2.m, j))))
        return false;
    }
    label138: return ((bool2 = a(this, paramInt)));
  }

  public static short[] a(byte paramByte, int paramInt)
  {
    switch (paramByte)
    {
    case 4:
      return w.d[paramInt];
    case 1:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -