7098 {
7102 {
7103 case 2334:
7104 case 3979:
7105 {
7108 {
7109 if (flag &&
flag2 && Main.rand.Next(200) == 0)
7110 {
7112 if (Main.netMode == 1)
7113 {
7114 NetMessage.SendData(21, -1, -1,
null,
number, 1f);
7115 }
7117 }
7118 if (
flag2 && Main.rand.Next(40) == 0)
7119 {
7121 int stack = 1;
7123 if (Main.netMode == 1)
7124 {
7125 NetMessage.SendData(21, -1, -1,
null,
number2, 1f);
7126 }
7128 }
7129 if (
flag2 && Main.rand.Next(40) == 0)
7130 {
7134 if (Main.netMode == 1)
7135 {
7136 NetMessage.SendData(21, -1, -1,
null,
number3, 1f);
7137 }
7139 }
7140 if (flag &&
flag2 && Main.rand.Next(25) == 0)
7141 {
7145 if (Main.netMode == 1)
7146 {
7147 NetMessage.SendData(21, -1, -1,
null,
number4, 1f);
7148 }
7150 }
7151 if (Main.rand.Next(20) == 0)
7152 {
7153 int num = Main.rand.Next(5);
7154 switch (num)
7155 {
7156 case 0:
7157 num = 285;
7158 break;
7159 case 1:
7160 num = 953;
7161 break;
7162 case 2:
7163 num = 4341;
7164 break;
7165 case 3:
7166 num = 3068;
7167 break;
7168 case 4:
7169 num = 3084;
7170 break;
7171 }
7173 if (Main.netMode == 1)
7174 {
7175 NetMessage.SendData(21, -1, -1,
null,
number5, 1f);
7176 }
7178 }
7179 if (!flag &&
flag2 && Main.rand.Next(50) == 0)
7180 {
7184 if (Main.netMode == 1)
7185 {
7186 NetMessage.SendData(21, -1, -1,
null,
number6, 1f);
7187 }
7189 }
7190 if (Main.rand.Next(7) == 0)
7191 {
7194 if (Main.rand.Next(3) == 0)
7195 {
7197 stack5 = Main.rand.Next(1, 6);
7198 }
7199 else
7200 {
7202 stack5 = Main.rand.Next(20, 91);
7203 }
7205 if (Main.netMode == 1)
7206 {
7207 NetMessage.SendData(21, -1, -1,
null,
number7, 1f);
7208 }
7210 }
7211 if (Main.rand.Next(7) == 0)
7212 {
7213 int num2 = Main.rand.Next(4);
7215 {
7216 case 0:
7218 break;
7219 case 1:
7221 break;
7222 case 2:
7224 break;
7225 case 3:
7227 break;
7228 }
7229 if (Main.rand.Next(2) == 0 && flag)
7230 {
7231 num2 = Main.rand.Next(2);
7233 {
7234 case 0:
7236 break;
7237 case 1:
7239 break;
7240 }
7241 }
7242 int stack6 = Main.rand.Next(4, 16);
7244 if (Main.netMode == 1)
7245 {
7246 NetMessage.SendData(21, -1, -1,
null,
number8, 1f);
7247 }
7249 }
7250 else if (Main.rand.Next(8) == 0)
7251 {
7252 int num3 = Main.rand.Next(4);
7254 {
7255 case 0:
7257 break;
7258 case 1:
7260 break;
7261 case 2:
7263 break;
7264 case 3:
7266 break;
7267 case 4:
7269 break;
7270 case 5:
7272 break;
7273 case 6:
7275 break;
7276 case 7:
7278 break;
7279 }
7280 int stack7 = Main.rand.Next(2, 6);
7281 if (Main.rand.Next(2) == 0 && flag)
7282 {
7283 num3 = Main.rand.Next(2);
7285 {
7286 case 0:
7288 break;
7289 case 1:
7291 break;
7292 case 2:
7294 break;
7295 case 3:
7297 break;
7298 case 4:
7300 break;
7301 case 5:
7303 break;
7304 }
7305 stack7 = Main.rand.Next(2, 4);
7306 }
7308 if (Main.netMode == 1)
7309 {
7310 NetMessage.SendData(21, -1, -1,
null,
number9, 1f);
7311 }
7313 }
7314 if (Main.rand.Next(7) == 0)
7315 {
7316 int num4 = Main.rand.Next(10);
7318 {
7319 case 0:
7321 break;
7322 case 1:
7324 break;
7325 case 2:
7327 break;
7328 case 3:
7330 break;
7331 case 4:
7333 break;
7334 case 5:
7336 break;
7337 case 6:
7339 break;
7340 case 7:
7342 break;
7343 case 8:
7345 break;
7346 case 9:
7348 break;
7349 }
7350 int stack8 = Main.rand.Next(1, 4);
7352 if (Main.netMode == 1)
7353 {
7354 NetMessage.SendData(21, -1, -1,
null,
number10, 1f);
7355 }
7357 }
7358 }
7359 if (Main.rand.Next(3) == 0)
7360 {
7361 int num5 = Main.rand.Next(2);
7363 {
7364 case 0:
7366 break;
7367 case 1:
7369 break;
7370 }
7371 int stack9 = Main.rand.Next(5, 16);
7373 if (Main.netMode == 1)
7374 {
7375 NetMessage.SendData(21, -1, -1,
null,
number11, 1f);
7376 }
7377 }
7378 if (Main.rand.Next(3) == 0)
7379 {
7380 int type6 = ((Main.rand.Next(3) != 0) ? 2674 : 2675);
7381 int stack10 = Main.rand.Next(1, 5);
7383 if (Main.netMode == 1)
7384 {
7385 NetMessage.SendData(21, -1, -1,
null,
number12, 1f);
7386 }
7387 }
7388 return;
7389 }
7390 case 2335:
7391 case 3980:
7392 {
7395 {
7396 if (flag &&
flag4 && Main.rand.Next(60) == 0)
7397 {
7399 if (Main.netMode == 1)
7400 {
7401 NetMessage.SendData(21, -1, -1,
null,
number24, 1f);
7402 }
7404 }
7405 if (
flag4 && Main.rand.Next(25) == 0)
7406 {
7410 if (Main.netMode == 1)
7411 {
7412 NetMessage.SendData(21, -1, -1,
null,
number25, 1f);
7413 }
7415 }
7416 if (
flag4 && Main.rand.Next(20) == 0)
7417 {
7421 if (Main.netMode == 1)
7422 {
7423 NetMessage.SendData(21, -1, -1,
null,
number26, 1f);
7424 }
7426 }
7427 if (
flag4 && Main.rand.Next(15) == 0)
7428 {
7432 if (Main.netMode == 1)
7433 {
7434 NetMessage.SendData(21, -1, -1,
null,
number27, 1f);
7435 }
7437 }
7438 if (
flag4 && Main.rand.Next(20) == 0)
7439 {
7443 if (Main.netMode == 1)
7444 {
7445 NetMessage.SendData(21, -1, -1,
null,
number28, 1f);
7446 }
7448 }
7449 if (
flag4 && Main.rand.Next(20) == 0)
7450 {
7454 if (Main.netMode == 1)
7455 {
7456 NetMessage.SendData(21, -1, -1,
null,
number29, 1f);
7457 }
7459 }
7460 if (Main.rand.Next(4) == 0)
7461 {
7463 int stack24 = Main.rand.Next(5, 11);
7465 if (Main.netMode == 1)
7466 {
7467 NetMessage.SendData(21, -1, -1,
null,
number30, 1f);
7468 }
7470 }
7471 if (Main.rand.Next(6) == 0)
7472 {
7473 int num9 = Main.rand.Next(6);
7475 {
7476 case 0:
7478 break;
7479 case 1:
7481 break;
7482 case 2:
7484 break;
7485 case 3:
7487 break;
7488 case 4:
7490 break;
7491 case 5:
7493 break;
7494 }
7495 if (Main.rand.Next(2) == 0 && flag)
7496 {
7497 num9 = Main.rand.Next(4);
7499 {
7500 case 0:
7502 break;
7503 case 1:
7505 break;
7506 case 2:
7508 break;
7509 case 3:
7511 break;
7512 }
7513 }
7514 int stack25 = Main.rand.Next(12, 22);
7516 if (Main.netMode == 1)
7517 {
7518 NetMessage.SendData(21, -1, -1,
null,
number31, 1f);
7519 }
7521 }
7522 else if (Main.rand.Next(4) == 0)
7523 {
7524 int num10 = Main.rand.Next(6);
7526 {
7527 case 0:
7529 break;
7530 case 1:
7532 break;
7533 case 2:
7535 break;
7536 case 3:
7538 break;
7539 case 4:
7541 break;
7542 case 5:
7544 break;
7545 }
7546 int num11 = Main.rand.Next(4, 8);
7547 if (Main.rand.Next(3) != 0 && flag)
7548 {
7549 num10 = Main.rand.Next(4);
7551 {
7552 case 0:
7554 break;
7555 case 1:
7557 break;
7558 case 2:
7560 break;
7561 case 3:
7563 break;
7564 }
7565 num11 -= Main.rand.Next(2);
7566 }
7568 if (Main.netMode == 1)
7569 {
7570 NetMessage.SendData(21, -1, -1,
null,
number32, 1f);
7571 }
7573 }
7574 if (Main.rand.Next(4) == 0)
7575 {
7576 int num12 = Main.rand.Next(8);
7578 {
7579 case 0:
7581 break;
7582 case 1:
7584 break;
7585 case 2:
7587 break;
7588 case 3:
7590 break;
7591 case 4:
7593 break;
7594 case 5:
7596 break;
7597 case 6:
7599 break;
7600 case 7:
7602 break;
7603 }
7604 int stack26 = Main.rand.Next(2, 5);
7606 if (Main.netMode == 1)
7607 {
7608 NetMessage.SendData(21, -1, -1,
null,
number33, 1f);
7609 }
7611 }
7612 }
7613 if (Main.rand.Next(2) == 0)
7614 {
7615 int type18 = Main.rand.Next(188, 190);
7616 int stack27 = Main.rand.Next(5, 16);
7618 if (Main.netMode == 1)
7619 {
7620 NetMessage.SendData(21, -1, -1,
null,
number34, 1f);
7621 }
7622 }
7623 if (Main.rand.Next(2) == 0)
7624 {
7625 int type19 = ((Main.rand.Next(3) != 0) ? 2675 : 2676);
7626 int stack28 = Main.rand.Next(2, 5);
7628 if (Main.netMode == 1)
7629 {
7630 NetMessage.SendData(21, -1, -1,
null,
number35, 1f);
7631 }
7632 }
7633 return;
7634 }
7635 case 2336:
7636 case 3981:
7637 {
7640 {
7641 if (flag &&
flag3 && Main.rand.Next(20) == 0)
7642 {
7644 if (Main.netMode == 1)
7645 {
7646 NetMessage.SendData(21, -1, -1,
null,
number13, 1f);
7647 }
7649 }
7650 if (
flag3 && Main.rand.Next(8) == 0)
7651 {
7655 if (Main.netMode == 1)
7656 {
7657 NetMessage.SendData(21, -1, -1,
null,
number14, 1f);
7658 }
7660 }
7661 if (
flag3 && Main.rand.Next(10) == 0)
7662 {
7666 if (Main.netMode == 1)
7667 {
7668 NetMessage.SendData(21, -1, -1,
null,
number15, 1f);
7669 }
7671 }
7672 if (Main.rand.Next(3) == 0)
7673 {
7675 int stack13 = Main.rand.Next(8, 21);
7677 if (Main.netMode == 1)
7678 {
7679 NetMessage.SendData(21, -1, -1,
null,
number16, 1f);
7680 }
7682 }
7683 if (Main.rand.Next(5) == 0)
7684 {
7685 int num6 = Main.rand.Next(4);
7687 {
7688 case 0:
7690 break;
7691 case 1:
7693 break;
7694 case 2:
7696 break;
7697 case 3:
7699 break;
7700 }
7701 if (Main.rand.Next(2) == 0 && flag)
7702 {
7703 num6 = Main.rand.Next(4);
7705 {
7706 case 0:
7708 break;
7709 case 1:
7711 break;
7712 case 2:
7714 break;
7715 case 3:
7717 break;
7718 }
7719 }
7720 int stack14 = Main.rand.Next(25, 35);
7722 if (Main.netMode == 1)
7723 {
7724 NetMessage.SendData(21, -1, -1,
null,
number17, 1f);
7725 }
7727 }
7728 else
7729 {
7730 if (Main.rand.Next(3) != 0)
7731 {
7732 continue;
7733 }
7734 int num7 = Main.rand.Next(4);
7736 {
7737 case 0:
7739 break;
7740 case 1:
7742 break;
7743 case 2:
7745 break;
7746 case 3:
7748 break;
7749 }
7750 if (Main.rand.Next(3) != 0 && flag)
7751 {
7752 num7 = Main.rand.Next(4);
7754 {
7755 case 0:
7757 break;
7758 case 1:
7760 break;
7761 case 2:
7763 break;
7764 case 3:
7766 break;
7767 }
7768 }
7769 int stack15 = Main.rand.Next(8, 12);
7771 if (Main.netMode == 1)
7772 {
7773 NetMessage.SendData(21, -1, -1,
null,
number18, 1f);
7774 }
7776 }
7777 }
7778 if (Main.rand.Next(3) == 0)
7779 {
7780 int num8 = Main.rand.Next(5);
7782 {
7783 case 0:
7785 break;
7786 case 1:
7788 break;
7789 case 2:
7791 break;
7792 case 3:
7794 break;
7795 case 4:
7797 break;
7798 }
7799 int stack16 = Main.rand.Next(2, 6);
7801 if (Main.netMode == 1)
7802 {
7803 NetMessage.SendData(21, -1, -1,
null,
number19, 1f);
7804 }
7805 }
7806 if (Main.rand.Next(2) == 0)
7807 {
7808 int type10 = Main.rand.Next(188, 190);
7809 int stack17 = Main.rand.Next(5, 21);
7811 if (Main.netMode == 1)
7812 {
7813 NetMessage.SendData(21, -1, -1,
null,
number20, 1f);
7814 }
7815 }
7816 if (Main.rand.Next(3) != 0)
7817 {
7819 int stack18 = Main.rand.Next(3, 8);
7821 if (Main.netMode == 1)
7822 {
7823 NetMessage.SendData(21, -1, -1,
null,
number21, 1f);
7824 }
7825 }
7826 if (Main.rand.Next(30) == 0 && !flag)
7827 {
7829 if (Main.netMode == 1)
7830 {
7831 NetMessage.SendData(21, -1, -1,
null,
number22, 1f);
7832 }
7833 }
7834 if (Main.rand.Next(15) == 0 && flag)
7835 {
7837 if (Main.netMode == 1)
7838 {
7839 NetMessage.SendData(21, -1, -1,
null,
number23, 1f);
7840 }
7841 }
7842 return;
7843 }
7844 }
7848 {
7850 {
7851 int num13 = Main.rand.Next(4);
7853 {
7854 0 => 186,
7855 1 => 4404,
7856 2 => 277,
7859 if (Main.netMode == 1)
7860 {
7861 NetMessage.SendData(21, -1, -1,
null,
number36, 1f);
7862 }
7864 }
7866 {
7867 int num14 = Main.rand.Next(5);
7869 {
7870 0 => 162,
7871 1 => 111,
7872 2 => 96,
7873 3 => 115,
7874 _ => 64,
7876 if (Main.netMode == 1)
7877 {
7878 NetMessage.SendData(21, -1, -1,
null,
number37, 1f);
7879 }
7881 }
7883 {
7884 int num15 = Main.rand.Next(5);
7886 {
7887 0 => 800,
7888 1 => 802,
7889 2 => 1256,
7890 3 => 1290,
7891 _ => 3062,
7893 if (Main.netMode == 1)
7894 {
7895 NetMessage.SendData(21, -1, -1,
null,
number38, 1f);
7896 }
7898 }
7900 {
7903 if (Main.netMode == 1)
7904 {
7905 NetMessage.SendData(21, -1, -1,
null,
number39, 1f);
7906 }
7908 if (Main.rand.Next(2) == 0)
7909 {
7911 if (Main.netMode == 1)
7912 {
7913 NetMessage.SendData(21, -1, -1,
null,
number39, 1f);
7914 }
7915 }
7916 }
7918 {
7919 int num16 = Main.rand.Next(4);
7921 {
7922 0 => 158,
7923 1 => 65,
7924 2 => 159,
7925 _ => 2219,
7927 if (Main.netMode == 1)
7928 {
7929 NetMessage.SendData(21, -1, -1,
null,
number40, 1f);
7930 }
7932 }
7934 {
7935 if (Main.rand.Next(20) == 0)
7936 {
7937 int num17 = Main.rand.Next(5);
7940 if (Main.netMode == 1)
7941 {
7942 NetMessage.SendData(21, -1, -1,
null,
number41, 1f);
7943 }
7945 }
7946 else
7947 {
7948 int num18 = Main.rand.Next(5);
7950 {
7951 0 => 212,
7952 1 => 964,
7953 2 => 211,
7954 3 => 213,
7955 _ => 2292,
7957 if (Main.netMode == 1)
7958 {
7959 NetMessage.SendData(21, -1, -1,
null,
number42, 1f);
7960 }
7962 }
7963 }
7965 {
7967 {
7968 0 => 670,
7969 1 => 724,
7970 2 => 950,
7971 3 => (!Main.remixWorld) ? 1319 : 725,
7972 4 => 987,
7975 if (Main.netMode == 1)
7976 {
7977 NetMessage.SendData(21, -1, -1,
null,
number43, 1f);
7978 }
7980 }
7982 {
7984 {
7985 int num19 = Main.rand.Next(8);
7987 {
7988 0 => 4056,
7989 1 => 4442,
7990 2 => 4055,
7991 3 => 4061,
7992 4 => 4062,
7993 5 => 4276,
7994 6 => 4262,
7995 _ => 4263,
7997 if (Main.netMode == 1)
7998 {
7999 NetMessage.SendData(21, -1, -1,
null,
number44, 1f);
8000 }
8002 }
8003 if (Main.rand.Next(4) == 0)
8004 {
8006 int stack29 = Main.rand.Next(4, 7);
8008 if (Main.netMode == 1)
8009 {
8010 NetMessage.SendData(21, -1, -1,
null,
number45, 1f);
8011 }
8013 }
8014 if (Main.rand.Next(2) == 0)
8015 {
8017 int stack30 = Main.rand.Next(10, 17);
8019 if (Main.netMode == 1)
8020 {
8021 NetMessage.SendData(21, -1, -1,
null,
number46, 1f);
8022 }
8024 }
8025 if (Main.rand.Next(35) == 0)
8026 {
8029 if (Main.netMode == 1)
8030 {
8031 NetMessage.SendData(21, -1, -1,
null,
number47, 1f);
8032 }
8034 }
8035 }
8037 {
8039 {
8040 if (Main.rand.Next(20) == 0)
8041 {
8042 int num20 = Main.rand.Next(5);
8045 if (Main.netMode == 1)
8046 {
8047 NetMessage.SendData(21, -1, -1,
null,
number48, 1f);
8048 }
8050 }
8051 else
8052 {
8053 int num21 = Main.rand.Next(5);
8055 {
8056 0 => 4822,
8057 1 => 4828,
8058 2 => 4880,
8059 3 => 4881,
8060 _ => 4868,
8062 if (Main.netMode == 1)
8063 {
8064 NetMessage.SendData(21, -1, -1,
null,
number49, 1f);
8065 }
8067 }
8068 if (Main.rand.Next(4) == 0)
8069 {
8073 if (Main.netMode == 1)
8074 {
8075 NetMessage.SendData(21, -1, -1,
null,
number50, 1f);
8076 }
8078 }
8079 }
8082 if (Main.netMode == 1)
8083 {
8084 NetMessage.SendData(21, -1, -1,
null,
number51, 1f);
8085 }
8087 if (Main.rand.Next(3) == 0)
8088 {
8090 int stack32 = Main.rand.Next(7, 11);
8092 if (Main.netMode == 1)
8093 {
8094 NetMessage.SendData(21, -1, -1,
null,
number52, 1f);
8095 }
8097 }
8098 if (Main.rand.Next(2) == 0)
8099 {
8100 int num22 = Main.rand.Next(5);
8102 {
8103 case 0:
8105 break;
8106 case 1:
8108 break;
8109 case 2:
8111 break;
8112 case 3:
8114 break;
8115 case 4:
8117 break;
8118 }
8120 if (Main.netMode == 1)
8121 {
8122 NetMessage.SendData(21, -1, -1,
null,
number53, 1f);
8123 }
8125 }
8126 }
8127 if (Main.rand.Next(4) == 0)
8128 {
8130 int stack33 = Main.rand.Next(5, 13);
8132 if (Main.netMode == 1)
8133 {
8134 NetMessage.SendData(21, -1, -1,
null,
number54, 1f);
8135 }
8137 }
8138 if (Main.rand.Next(7) == 0)
8139 {
8140 int num23 = Main.rand.Next(8);
8142 {
8143 case 0:
8145 break;
8146 case 1:
8148 break;
8149 case 2:
8151 break;
8152 case 3:
8154 break;
8155 case 4:
8157 break;
8158 case 5:
8160 break;
8161 case 6:
8163 break;
8164 case 7:
8166 break;
8167 }
8168 if (Main.rand.Next(2) == 0 && flag)
8169 {
8170 num23 = Main.rand.Next(6);
8172 {
8173 case 0:
8175 break;
8176 case 1:
8178 break;
8179 case 2:
8181 break;
8182 case 3:
8184 break;
8185 case 4:
8187 break;
8188 case 5:
8190 break;
8191 }
8192 }
8193 int stack34 = Main.rand.Next(20, 36);
8195 if (Main.netMode == 1)
8196 {
8197 NetMessage.SendData(21, -1, -1,
null,
number55, 1f);
8198 }
8200 }
8201 if (Main.rand.Next(4) != 0)
8202 {
8203 continue;
8204 }
8205 int num24 = Main.rand.Next(6);
8207 {
8208 case 0:
8210 break;
8211 case 1:
8213 break;
8214 case 2:
8216 break;
8217 case 3:
8219 break;
8220 case 4:
8222 break;
8223 case 5:
8225 break;
8226 }
8227 int num25 = Main.rand.Next(6, 17);
8228 if (Main.rand.Next(3) != 0 && flag)
8229 {
8230 num24 = Main.rand.Next(6);
8232 {
8233 case 0:
8235 break;
8236 case 1:
8238 break;
8239 case 2:
8241 break;
8242 case 3:
8244 break;
8245 case 4:
8247 break;
8248 case 5:
8250 break;
8251 }
8252 num25 -= Main.rand.Next(2);
8253 }
8255 if (Main.netMode == 1)
8256 {
8257 NetMessage.SendData(21, -1, -1,
null,
number56, 1f);
8258 }
8260 }
8261 if (Main.rand.Next(4) == 0)
8262 {
8263 int num26 = Main.rand.Next(6);
8265 {
8266 case 0:
8268 break;
8269 case 1:
8271 break;
8272 case 2:
8274 break;
8275 case 3:
8277 break;
8278 case 4:
8280 break;
8281 case 5:
8283 break;
8284 }
8285 int stack35 = Main.rand.Next(2, 5);
8287 if (Main.netMode == 1)
8288 {
8289 NetMessage.SendData(21, -1, -1,
null,
number57, 1f);
8290 }
8292 }
8293 if (Main.rand.Next(2) == 0)
8294 {
8295 int type30 = Main.rand.Next(188, 190);
8296 int stack36 = Main.rand.Next(5, 18);
8298 if (Main.netMode == 1)
8299 {
8300 NetMessage.SendData(21, -1, -1,
null,
number58, 1f);
8301 }
8302 }
8303 if (Main.rand.Next(2) == 0)
8304 {
8305 int type31 = ((Main.rand.Next(2) != 0) ? 2675 : 2676);
8306 int stack37 = Main.rand.Next(2, 7);
8308 if (Main.netMode == 1)
8309 {
8310 NetMessage.SendData(21, -1, -1,
null,
number59, 1f);
8311 }
8312 }
8314 {
8315 if (Main.rand.Next(3) == 0)
8316 {
8318 int stack38 = Main.rand.Next(20, 51);
8320 if (Main.netMode == 1)
8321 {
8322 NetMessage.SendData(21, -1, -1,
null,
number60, 1f);
8323 }
8324 }
8325 if (Main.rand.Next(10) == 0)
8326 {
8329 if (Main.netMode == 1)
8330 {
8331 NetMessage.SendData(21, -1, -1,
null,
number61, 1f);
8332 }
8333 }
8334 if (Main.rand.Next(10) == 0)
8335 {
8338 if (Main.netMode == 1)
8339 {
8340 NetMessage.SendData(21, -1, -1,
null,
number62, 1f);
8341 }
8342 }
8343 }
8345 {
8346 if (Main.rand.Next(3) == 0)
8347 {
8349 int stack39 = Main.rand.Next(20, 51);
8351 if (Main.netMode == 1)
8352 {
8353 NetMessage.SendData(21, -1, -1,
null,
number63, 1f);
8354 }
8355 }
8356 if (Main.rand.Next(20) == 0)
8357 {
8360 if (Main.netMode == 1)
8361 {
8362 NetMessage.SendData(21, -1, -1,
null,
number64, 1f);
8363 }
8364 }
8365 }
8367 {
8370 if (Main.netMode == 1)
8371 {
8372 NetMessage.SendData(21, -1, -1,
null,
number65, 1f);
8373 }
8374 }
8376 {
8377 if (Main.rand.Next(2) == 0)
8378 {
8380 int stack40 = Main.rand.Next(50, 101);
8382 if (Main.netMode == 1)
8383 {
8384 NetMessage.SendData(21, -1, -1,
null,
number66, 1f);
8385 }
8386 }
8387 if (Main.rand.Next(2) == 0)
8388 {
8389 int num27 = Main.rand.Next(6);
8391 {
8392 case 0:
8394 break;
8395 case 1:
8397 break;
8398 case 2:
8400 break;
8401 case 3:
8403 break;
8404 case 4:
8406 break;
8407 case 5:
8409 break;
8410 }
8412 if (Main.netMode == 1)
8413 {
8414 NetMessage.SendData(21, -1, -1,
null,
num27, 1f);
8415 }
8416 }
8417 if (Main.rand.Next(40) == 0)
8418 {
8421 if (Main.netMode == 1)
8422 {
8423 NetMessage.SendData(21, -1, -1,
null,
number67, 1f);
8424 }
8425 }
8426 }
8428 {
8429 if (Main.rand.Next(20) == 0)
8430 {
8433 if (Main.netMode == 1)
8434 {
8435 NetMessage.SendData(21, -1, -1,
null,
number68, 1f);
8436 }
8437 }
8438 if (Main.rand.Next(20) == 0)
8439 {
8442 if (Main.netMode == 1)
8443 {
8444 NetMessage.SendData(21, -1, -1,
null,
number69, 1f);
8445 }
8446 }
8447 if (Main.rand.Next(20) == 0)
8448 {
8451 if (Main.netMode == 1)
8452 {
8453 NetMessage.SendData(21, -1, -1,
null,
number70, 1f);
8454 }
8455 }
8456 }
8458 {
8459 return;
8460 }
8461 if (Main.rand.Next(2) == 0)
8462 {
8465 {
8467 }
8468 int stack41 = Main.rand.Next(2, 6);
8470 if (Main.netMode == 1)
8471 {
8472 NetMessage.SendData(21, -1, -1,
null,
number71, 1f);
8473 }
8474 }
8475 if (Main.rand.Next(2) == 0)
8476 {
8478 int stack42 = Main.rand.Next(2, 6);
8480 {
8481 case 3983:
8483 break;
8484 case 3986:
8486 stack42 = Main.rand.Next(4, 11);
8487 break;
8488 }
8490 if (Main.netMode == 1)
8491 {
8492 NetMessage.SendData(21, -1, -1,
null,
number72, 1f);
8493 }
8494 }
8495 }
static bool[] IsFishingCrateHardmode
IEntitySource GetItemSource_OpenItem(int itemType)