78387 {
78388
78389
78390
78392 {
78393 return;
78394 }
78396 {
78398 bool flag = true;
78400 {
78401 case 38:
78403 break;
78404 case 207:
78406 break;
78407 case 17:
78409 break;
78410 case 18:
78412 break;
78413 case 227:
78415 break;
78416 case 229:
78418 {
78420 }
78421 break;
78422 case 142:
78424 break;
78425 case 453:
78427 break;
78428 case 178:
78430 break;
78431 case 353:
78433 break;
78434 case 368:
78436 break;
78437 case 108:
78439 break;
78440 case 588:
78442 break;
78443 default:
78444 flag = false;
78445 break;
78446 }
78447 if (flag)
78448 {
78449 int num = 926;
78451 {
78453 num = 940;
78454 break;
78456 num = 939;
78457 break;
78459 num = 941;
78460 break;
78462 num = 942;
78463 break;
78464 }
78466 }
78467 }
78469 {
78471 for (
int i = 0;
i < 20;
i++)
78472 {
78473 int num2 = Utils.SelectRandom<
int>(Main.rand, 6, 259, 158);
78475 Main.dust[
num3].alpha = 200;
78476 Dust dust = Main.dust[
num3];
78477 dust.velocity *= 1.4f;
78478 dust = Main.dust[
num3];
78479 dust.scale += Main.rand.NextFloat();
78480 }
78481 if (Main.netMode != 1)
78482 {
78483 for (
int j = 0;
j < 200;
j++)
78484 {
78486 if (
nPC.active && !
nPC.buffImmune[189] &&
Distance(
nPC.Center) < 100f && !nPC.dontTakeDamage && nPC.lifeMax > 5 && !nPC.friendly && !
nPC.townNPC)
78487 {
78488 nPC.AddBuff(189, 300);
78489 }
78490 }
78491 }
78492 }
78494 {
78497 for (
int k = 0;
k < 3;
k++)
78498 {
78500 Gore gore = Gore.NewGorePerfect(
vector2, Main.rand.NextVector2Circular(2f, 2f),
num4 + Main.rand.Next(3));
78501 gore.velocity.Y -= Main.rand.NextFloat();
78503 gore2.velocity *= 4f;
78504 }
78505 for (
int l = 0;
l < 1;
l++)
78506 {
78507 Vector2 vector3 = base.Bottom + (-Vector2.UnitY * 50f).RotatedBy(
rotation) + Main.rand.NextVector2Circular(5f, 5f);
78508 Gore
gore3 = Gore.NewGorePerfect(
vector3, Main.rand.NextVector2Circular(2f, 2f), 1146);
78509 gore3.velocity.Y -= Main.rand.NextFloat();
78511 gore2.velocity *= 4f;
78512 }
78513 if (Main.netMode != 1)
78514 {
78522 {
78524 if (Main.netMode == 2)
78525 {
78526 NetMessage.SendData(7);
78527 }
78528 }
78529 }
78530 }
78532 {
78534 num5 += (int)(
ai[2] - 1f) * 3;
78536 for (
int m = 0;
m < 3;
m++)
78537 {
78539 Gore
gore4 = Gore.NewGorePerfect(
vector7, Main.rand.NextVector2Circular(2f, 2f),
num5 + Main.rand.Next(3));
78540 gore4.velocity.Y -= Main.rand.NextFloat();
78542 gore2.velocity *= 4f;
78543 }
78544 for (
int n = 0;
n < 1;
n++)
78545 {
78546 Vector2 vector8 = base.Bottom + (-Vector2.UnitY * 50f).RotatedBy(
rotation) + Main.rand.NextVector2Circular(5f, 5f);
78547 Gore
gore5 = Gore.NewGorePerfect(
vector8, Main.rand.NextVector2Circular(2f, 2f), 1146);
78548 gore5.velocity.Y -= Main.rand.NextFloat();
78550 gore2.velocity *= 4f;
78551 }
78554 {
78556 nPC2.position.Y -= 10f;
78557 nPC2.netUpdate = true;
78558 }
78559 }
78561 {
78563 {
78565 {
78566 if (Main.rand.Next(5) == 0)
78567 {
78571 Main.dust[
num8].position = base.Center + Main.rand.NextVector2Circular(
width,
height);
78572 Main.dust[
num8].velocity = Main.dust[
num8].position -
base.Center;
78573 Main.dust[
num8].noGravity =
true;
78574 Main.dust[
num8].fadeIn = 0.6f + Main.rand.NextFloat() * 0.7f * (float)
num7;
78575 Main.dust[
num8].scale = 0.35f;
78577 {
78580 dust.scale /= 2f;
78582 dust.fadeIn *= 0.85f;
78583 dust2.color =
new Color(255, 255, 255, 255) * 0.5f;
78584 }
78585 }
78586 }
78587 }
78588 else
78589 {
78591 {
78592 if (Main.rand.Next(5) == 0)
78593 {
78597 Main.dust[
num11].position = base.Center + Main.rand.NextVector2Circular(
width,
height);
78598 Main.dust[
num11].velocity = (Main.dust[
num11].position -
base.Center) * 0.6f;
78599 Main.dust[
num11].noGravity =
true;
78600 Main.dust[
num11].fadeIn = 0.7f + Main.rand.NextFloat() * 1.1f * (float)
num10;
78601 Main.dust[
num11].scale = 0.35f;
78603 {
78606 dust.scale /= 2f;
78608 dust.fadeIn *= 0.85f;
78609 dust3.color =
new Color(255, 255, 255, 255) * 0.5f;
78610 }
78611 }
78612 }
78613 }
78614 }
78616 {
78618 {
78620 {
78622 dust4.noGravity = true;
78624 dust.velocity *= 5f;
78625 }
78626 }
78627 else
78628 {
78630 {
78632 dust5.noGravity = true;
78634 dust.velocity *= 5f;
78635 }
78636 }
78637 }
78639 {
78641 {
78643 {
78645 }
78646 }
78647 else
78648 {
78652 {
78654 Main.dust[
num17].velocity = Main.rand.NextVector2Circular(4f, 4f);
78655 }
78664 }
78665 }
78667 {
78669 {
78671 {
78672 if (Main.rand.Next(2) == 0)
78673 {
78675 }
78676 else
78677 {
78679 }
78680 }
78681 }
78682 else
78683 {
78685 {
78686 if (Main.rand.Next(2) == 0)
78687 {
78689 }
78690 else
78691 {
78693 }
78694 }
78705 }
78706 }
78708 {
78710 {
78716 {
78718 newColor3.A = 200;
78720 Dust dust = Main.dust[
num22];
78721 dust.velocity *= 0.65f;
78722 dust = Main.dust[
num22];
78724 if (Main.rand.Next(5) == 0)
78725 {
78726 Main.dust[
num22].noGravity =
true;
78727 dust = Main.dust[
num22];
78728 dust.scale *= 1.2f;
78729 }
78730 }
78731 }
78732 else
78733 {
78735 {
78737 newColor4.A = 150;
78739 Dust dust = Main.dust[
num24];
78740 dust.velocity *= 0.3f;
78741 dust = Main.dust[
num24];
78743 if (Main.rand.Next(3) == 0)
78744 {
78745 Main.dust[
num24].noGravity =
true;
78746 dust = Main.dust[
num24];
78747 dust.scale *= 1.2f;
78748 }
78749 }
78750 }
78751 }
78753 {
78759 {
78762 }
78764 {
78766 }
78768 {
78772 {
78775 }
78776 }
78778 {
78780 if (Main.rand.Next(3) != 0)
78781 {
78782 Main.dust[
num29].noGravity =
true;
78783 }
78784 }
78785 }
78787 {
78789 float num31 = 1.1f;
78793 {
78797 {
78799 Main.gore[
num34].velocity =
new Vector2((
float)Main.rand.Next(1, 10) * 0.3f * 2.5f * (
float)
hitDirection, 0f - (3f + (
float)Main.rand.Next(4) * 0.3f));
78800 }
78801 }
78802 else
78803 {
78805 {
78807 Main.gore[
num36].velocity =
new Vector2((
float)Main.rand.Next(1, 10) * 0.3f * 2f * (
float)
hitDirection, 0f - (2.5f + (
float)Main.rand.Next(4) * 0.3f));
78808 }
78809 }
78811 {
78813 if (Main.rand.Next(3) != 0)
78814 {
78815 Main.dust[
num38].noGravity =
true;
78816 }
78817 }
78818 }
78820 {
78822 float num40 = 1.1f;
78825 {
78828 }
78830 {
78832 if (Main.rand.Next(3) != 0)
78833 {
78834 dust6.noGravity = true;
78835 }
78837 dust.velocity *= 1.5f;
78840 }
78841 }
78843 {
78845 {
78847 {
78849 }
78850 }
78851 else
78852 {
78854 {
78856 }
78859 {
78861 }
78862 else if (
type == 554)
78863 {
78865 }
78871 }
78872 }
78874 {
78876 {
78878 {
78880 }
78881 }
78882 else
78883 {
78885 {
78887 }
78890 {
78892 }
78893 else if (
type == 563)
78894 {
78896 }
78904 }
78905 }
78907 {
78909 {
78911 {
78913 }
78914 }
78915 else
78916 {
78919 {
78921 }
78923 {
78925 }
78927 {
78929 }
78933 }
78934 }
78935 else if (
type == 551)
78936 {
78940 {
78942 }
78944 {
78946 {
78948 }
78949 }
78950 else
78951 {
78953 {
78955 }
78957 {
78968 }
78969 else
78970 {
78981 }
78982 }
78983 }
78984 else if (
type == 572 ||
type == 573)
78985 {
78987 {
78989 {
78991 }
78992 }
78993 else
78994 {
78998 {
79000 }
79007 }
79008 }
79009 else if (
type == 574 ||
type == 575)
79010 {
79012 {
79014 {
79016 }
79017 }
79018 else
79019 {
79022 {
79024 }
79032 }
79033 }
79034 else if (
type == 570 ||
type == 571)
79035 {
79037 {
79039 {
79041 }
79042 }
79043 else
79044 {
79046 {
79048 }
79049 int num63 = ((
type == 570) ? 1075 : 979);
79055 }
79056 }
79057 else if (
type == 568 ||
type == 569)
79058 {
79060 {
79062 {
79064 }
79065 }
79066 else
79067 {
79069 {
79071 }
79077 }
79078 }
79080 {
79082 {
79084 {
79086 }
79087 }
79088 else
79089 {
79091 {
79093 }
79096 {
79098 }
79100 {
79102 }
79110 }
79111 }
79112 else if (
type == 566 ||
type == 567)
79113 {
79115 {
79117 {
79119 }
79120 }
79121 else
79122 {
79124 {
79126 }
79128 if (Main.rand.Next(2) == 0)
79129 {
79131 }
79132 if (Main.rand.Next(2) == 0)
79133 {
79135 }
79136 if (Main.rand.Next(2) == 0)
79137 {
79139 }
79140 if (Main.rand.Next(2) == 0)
79141 {
79143 }
79144 if (Main.rand.Next(2) == 0)
79145 {
79147 }
79148 if (Main.rand.Next(2) == 0)
79149 {
79151 }
79152 }
79153 }
79154 else if (
type == 576 ||
type == 577)
79155 {
79157 {
79159 {
79161 }
79162 }
79163 else
79164 {
79166 {
79168 }
79170 {
79179 }
79180 else
79181 {
79188 }
79189 }
79190 }
79191 else if (
type == 564 ||
type == 565)
79192 {
79194 {
79196 {
79198 }
79199 }
79200 else
79201 {
79203 {
79205 }
79218 }
79219 }
79220 else if (
type == 578)
79221 {
79223 {
79225 {
79227 }
79228 }
79229 else
79230 {
79232 {
79234 }
79239 }
79240 }
79241 else if (
type == 620)
79242 {
79244 {
79246 {
79249 dust.velocity *= 2.5f;
79250 dust7.scale = 1.7f;
79251 }
79252 }
79253 else
79254 {
79256 {
79259 dust.velocity *= 2.5f;
79260 dust8.scale = 1.7f;
79261 }
79267 }
79268 }
79269 else if (
type == 619)
79270 {
79272 {
79274 {
79277 dust.velocity *= 2.5f;
79278 dust9.fadeIn = 1.7f;
79279 }
79280 }
79281 else
79282 {
79284 {
79287 dust.velocity *= 2.5f;
79288 dust10.fadeIn = 1.7f;
79289 }
79295 }
79296 }
79297 else if (
type == 618)
79298 {
79300 {
79302 {
79305 dust.velocity *= 2.5f;
79306 dust11.scale = 2f;
79307 }
79308 }
79309 else
79310 {
79312 {
79315 dust.velocity *= 2.5f;
79316 dust12.scale = 2.5f;
79317 }
79331 }
79332 }
79333 else if (
type == 541)
79334 {
79337 {
79339 {
79341 dust13.color =
color;
79342 dust13.noGravity = true;
79343 dust13.scale = 1.5f;
79344 dust13.fadeIn = 0.7f;
79346 dust.velocity *= 3f;
79348 dust13.color =
color;
79349 dust13.noGravity = true;
79350 dust13.scale = 1.5f;
79351 dust13.fadeIn = 0.7f;
79353 dust.velocity *= 3f;
79354 }
79355 }
79356 else
79357 {
79359 {
79361 dust14.color =
color;
79362 dust14.noGravity = true;
79363 dust14.scale = 1.5f;
79364 dust14.fadeIn = 0.7f;
79366 dust.velocity *= 3f;
79368 dust14.color =
color;
79369 dust14.noGravity = true;
79370 dust14.scale = 1.5f;
79371 dust14.fadeIn = 0.7f;
79373 dust.velocity *= 3f;
79374 }
79379 }
79380 }
79381 else if (
type == 546)
79382 {
79385 {
79387 {
79390 dust15.noGravity = true;
79391 dust15.scale = 1.5f;
79392 dust15.fadeIn = 0.7f;
79394 dust.velocity *= 3f;
79397 dust15.noGravity = true;
79398 dust15.scale = 1.5f;
79399 dust15.fadeIn = 0.7f;
79401 dust.velocity *= 3f;
79402 }
79403 }
79404 else
79405 {
79407 {
79410 dust16.noGravity = true;
79411 dust16.scale = 1.5f;
79412 dust16.fadeIn = 0.7f;
79414 dust.velocity *= 3f;
79417 dust16.noGravity = true;
79418 dust16.scale = 1.5f;
79419 dust16.fadeIn = 0.7f;
79421 dust.velocity *= 3f;
79422 }
79424 {
79426 Dust dust = Main.dust[
num93];
79427 dust.velocity *= 2f;
79428 Main.dust[
num93].noGravity =
true;
79429 }
79433 }
79434 }
79436 {
79438 {
79440 {
79442 }
79443 }
79444 else
79445 {
79447 {
79449 }
79450 }
79451 }
79452 if (
type == 437 &&
dmg == 9999.0)
79453 {
79455 {
79457 }
79458 }
79459 if (
type == 398 &&
dmg == 1337.0 && Main.netMode != 2)
79460 {
79462 }
79464 {
79467 {
79469 }
79471 {
79473 }
79475 }
79477 {
79482 {
79485 }
79487 {
79490 }
79492 {
79494 {
79495 Dust
dust17 = Dust.NewDustDirect(
base.Center -
new Vector2(
num98) * 0.5f,
num98 + 4,
num98 + 4, 278, 0f, 0f, 200,
Color.
Lerp(
value,
value2, Main.rand.NextFloat()), 0.65f);
79496 dust17.noGravity = true;
79497 }
79498 }
79499 else
79500 {
79502 {
79503 Dust
dust18 = Dust.NewDustDirect(
base.Center -
new Vector2(
num98) * 0.5f,
num98 + 4,
num98 + 4, 278, 0f, 0f, 200,
Color.
Lerp(
value,
value2, Main.rand.NextFloat()), 0.65f);
79505 dust.velocity *= 1.5f;
79506 dust18.noGravity = true;
79507 }
79508 }
79509 }
79510 else if (
type >= 513 &&
type <= 515)
79511 {
79513 {
79515 {
79517 }
79518 }
79519 else
79520 {
79522 {
79524 }
79527 }
79528 }
79529 else if (
type >= 510 &&
type <= 512)
79530 {
79532 {
79534 {
79536 }
79537 }
79538 else
79539 {
79541 {
79543 }
79546 }
79547 }
79548 else if (
type >= 621 &&
type <= 623)
79549 {
79551 {
79553 {
79555 }
79556 }
79557 else
79558 {
79560 {
79562 }
79565 }
79566 }
79567 else if (
type == 518 ||
type == 416)
79568 {
79570 {
79572 {
79574 if (Main.rand.Next(4) == 0)
79575 {
79577 dust19.noGravity = true;
79578 dust19.scale = 1.5f;
79579 dust19.fadeIn = 1f;
79581 dust.velocity *= 3f;
79582 }
79583 }
79584 }
79585 else
79586 {
79588 {
79590 if (Main.rand.Next(3) == 0)
79591 {
79593 dust20.noGravity = true;
79594 dust20.scale = 1.5f;
79595 dust20.fadeIn = 1f;
79597 dust.velocity *= 3f;
79598 }
79599 }
79605 }
79606 }
79607 else if (
type == 419)
79608 {
79610 {
79612 {
79614 if (Main.rand.Next(4) == 0)
79615 {
79617 dust21.noGravity = true;
79618 dust21.scale = 1.5f;
79619 dust21.fadeIn = 1f;
79621 dust.velocity *= 3f;
79622 }
79623 }
79624 }
79625 else
79626 {
79628 {
79630 if (Main.rand.Next(3) == 0)
79631 {
79633 dust22.noGravity = true;
79634 dust22.scale = 1.5f;
79635 dust22.fadeIn = 1f;
79637 dust.velocity *= 3f;
79638 }
79639 }
79646 }
79647 }
79649 {
79651 {
79653 {
79655 }
79656 }
79657 else
79658 {
79660 {
79662 }
79664 {
79666 }
79668 }
79669 }
79670 else if (
type == 415)
79671 {
79673 {
79675 {
79677 if (Main.rand.Next(4) == 0)
79678 {
79680 dust23.noGravity = true;
79681 dust23.scale = 1.5f;
79682 dust23.fadeIn = 1f;
79684 dust.velocity *= 3f;
79685 }
79686 }
79687 }
79688 else
79689 {
79691 {
79694 dust24.noGravity = true;
79695 dust24.scale = 1.5f;
79696 dust24.fadeIn = 1f;
79698 dust.velocity *= 3f;
79699 }
79704 }
79705 }
79706 else if (
type == 417)
79707 {
79709 {
79711 {
79713 if (Main.rand.Next(4) == 0)
79714 {
79716 dust25.noGravity = true;
79717 dust25.scale = 1.5f;
79718 dust25.fadeIn = 1f;
79720 dust.velocity *= 3f;
79721 }
79722 }
79723 }
79724 else
79725 {
79727 {
79729 if (Main.rand.Next(2) == 0)
79730 {
79732 dust26.noGravity = true;
79733 dust26.scale = 1.5f;
79734 dust26.fadeIn = 1f;
79736 dust.velocity *= 3f;
79737 }
79738 }
79747 }
79748 }
79749 else if (
type == 418)
79750 {
79752 {
79754 {
79756 if (Main.rand.Next(2) == 0)
79757 {
79759 dust27.noGravity = true;
79760 dust27.scale = 1.5f;
79761 dust27.fadeIn = 1f;
79763 dust.velocity *= 3f;
79764 }
79765 }
79766 }
79767 else
79768 {
79770 {
79773 dust28.noGravity = true;
79774 dust28.scale = 1.5f;
79775 dust28.fadeIn = 1f;
79777 dust.velocity *= 3f;
79778 }
79784 }
79785 }
79787 {
79789 {
79791 Dust dust = Main.dust[
num124];
79792 dust.velocity *= 3f;
79793 dust = Main.dust[
num124];
79794 dust.scale += Main.rand.NextFloat();
79795 if (Main.rand.Next(2) == 0)
79796 {
79798 Main.dust[
num124].noGravity =
true;
79799 }
79800 }
79801 }
79803 {
79806 {
79810 {
79811 int num127 = Utils.SelectRandom<
int>(Main.rand, 6, 259, 158);
79813 Main.dust[
num128].alpha = 200;
79814 Dust dust = Main.dust[
num128];
79815 dust.velocity *= 2.4f;
79816 dust = Main.dust[
num128];
79817 dust.scale += Main.rand.NextFloat();
79818 }
79819 }
79820 }
79822 {
79827 {
79832 Main.dust[
num131].noGravity =
true;
79833 Dust dust = Main.dust[
num131];
79834 dust.scale += 0.5f + Main.rand.NextFloat();
79835 }
79836 }
79837 else if (
type == 426)
79838 {
79840 {
79842 {
79844 if (Main.rand.Next(4) == 0)
79845 {
79847 dust29.noGravity = true;
79848 dust29.scale = 1.5f;
79849 dust29.fadeIn = 1f;
79851 dust.velocity *= 3f;
79852 }
79853 }
79854 }
79855 else
79856 {
79858 {
79860 }
79862 {
79863 int num135 = Utils.SelectRandom<
int>(Main.rand, 229, 240, 161);
79865 dust30.noGravity = true;
79866 dust30.scale = 1.25f + Main.rand.NextFloat();
79867 dust30.fadeIn = 0.25f;
79869 dust.velocity *= 2f;
79870 dust30.noLight = true;
79871 }
79875 if (Main.netMode != 1)
79876 {
79880 {
79882 {
79884 Main.npc[
num139].velocity = -
Vector2.
UnitY.RotatedByRandom(6.2831854820251465) * Main.rand.Next(3, 6) - Vector2.UnitY * 2f;
79885 Main.npc[
num139].netUpdate =
true;
79886 }
79887 }
79888 }
79889 }
79890 }
79891 else if (
type == 427)
79892 {
79894 {
79896 {
79898 if (Main.rand.Next(2) == 0)
79899 {
79901 dust31.noGravity = true;
79902 dust31.scale = 1.5f;
79903 dust31.fadeIn = 1f;
79905 dust.velocity *= 3f;
79906 }
79907 }
79908 }
79909 else
79910 {
79912 {
79914 }
79916 {
79917 int num143 = Utils.SelectRandom<
int>(Main.rand, 229, 229, 240);
79919 dust32.noGravity = true;
79920 dust32.scale = 1.25f + Main.rand.NextFloat();
79921 dust32.fadeIn = 0.25f;
79923 dust.velocity *= 3f;
79924 dust32.noLight = true;
79925 }
79930 }
79931 }
79932 else if (
type == 429)
79933 {
79935 {
79937 {
79939 if (Main.rand.Next(4) == 0)
79940 {
79942 dust33.noGravity = true;
79943 dust33.scale = 1.5f;
79944 dust33.fadeIn = 1f;
79946 dust.velocity *= 3f;
79947 }
79948 }
79949 }
79950 else
79951 {
79953 {
79955 if (Main.rand.Next(3) == 0)
79956 {
79958 dust34.noGravity = true;
79959 dust34.scale = 1.5f;
79960 dust34.fadeIn = 1f;
79962 dust.velocity *= 3f;
79963 }
79964 }
79970 if (Main.netMode != 1)
79971 {
79972 Point point =
base.Center.ToTileCoordinates();
79980 bool flag2 =
false;
79982 {
79984 }
79986 {
79991 {
79994 {
79996 }
79998 {
80000 }
80001 if (
flag3 && !Collision.CanHitLine(
base.Center, 0, 0, Main.player[
target].Center, 0, 0))
80002 {
80004 }
80006 {
80009 break;
80010 }
80011 }
80012 }
80013 }
80014 }
80015 }
80016 else if (
type == 425)
80017 {
80019 {
80021 {
80023 if (Main.rand.Next(4) == 0)
80024 {
80026 dust35.noGravity = true;
80027 dust35.scale = 1.5f;
80028 dust35.fadeIn = 1f;
80030 dust.velocity *= 3f;
80031 }
80032 }
80033 }
80034 else
80035 {
80037 {
80039 if (Main.rand.Next(3) == 0)
80040 {
80042 dust36.noGravity = true;
80043 dust36.scale = 1.5f;
80044 dust36.fadeIn = 1f;
80046 dust.velocity *= 3f;
80047 }
80048 }
80056 }
80057 }
80058 else if (
type == 428)
80059 {
80061 {
80063 {
80065 }
80066 }
80067 else
80068 {
80070 {
80072 if (Main.rand.Next(2) == 0)
80073 {
80075 }
80076 else
80077 {
80079 }
80080 }
80083 }
80084 }
80085 else if (
type == 424)
80086 {
80088 {
80090 {
80092 if (Main.rand.Next(4) == 0)
80093 {
80095 dust37.noGravity = true;
80096 dust37.scale = 1.5f;
80097 dust37.fadeIn = 1f;
80099 dust.velocity *= 3f;
80100 }
80101 }
80102 }
80103 else
80104 {
80106 {
80108 if (Main.rand.Next(3) == 0)
80109 {
80111 dust38.noGravity = true;
80112 dust38.scale = 1.5f;
80113 dust38.fadeIn = 1f;
80115 dust.velocity *= 3f;
80116 }
80117 }
80123 }
80124 }
80125 else if (
type == 423)
80126 {
80128 {
80130 {
80132 if (Main.rand.Next(4) == 0)
80133 {
80135 dust39.noGravity = true;
80136 dust39.scale = 1.5f;
80137 dust39.fadeIn = 1f;
80139 dust.velocity *= 3f;
80140 }
80141 }
80142 }
80143 else
80144 {
80146 {
80149 dust40.noGravity = true;
80150 dust40.scale = 1.5f;
80151 dust40.fadeIn = 1f;
80153 dust.velocity *= 3f;
80154 }
80158 }
80159 }
80160 else if (
type == 421)
80161 {
80163 {
80165 {
80167 if (Main.rand.Next(2) == 0)
80168 {
80170 dust41.noGravity = true;
80171 dust41.scale = 1.5f;
80172 dust41.fadeIn = 1f;
80174 dust.velocity *= 3f;
80175 }
80176 }
80177 }
80178 else
80179 {
80181 {
80184 dust42.noGravity = true;
80185 dust42.scale = 1.5f;
80186 dust42.fadeIn = 1f;
80188 dust.velocity *= 3f;
80189 }
80193 }
80194 }
80195 else if (
type == 420)
80196 {
80198 {
80200 {
80202 if (Main.rand.Next(2) == 0)
80203 {
80205 dust43.noGravity = true;
80206 dust43.scale = 1.5f;
80207 dust43.fadeIn = 1f;
80209 dust.velocity *= 3f;
80210 }
80211 }
80212 }
80213 else
80214 {
80216 {
80219 dust44.noGravity = true;
80220 dust44.scale = 1.5f;
80221 dust44.fadeIn = 1f;
80223 dust.velocity *= 3f;
80224 }
80228 }
80229 }
80230 else if (
type == 406 ||
type == 405)
80231 {
80233 {
80235 {
80237 Vector2 vector16 = ((float)Main.rand.NextDouble() * ((float)
Math.
PI * 2f)).ToRotationVector2() * Main.rand.Next(24, 41) / 8f;
80243 {
80245 }
80246 else
80247 {
80248 dust45.velocity = 2f *
vector17 * Main.rand.Next(45, 91) / 10f;
80249 }
80250 dust45.noGravity = true;
80251 dust45.scale = 0.7f + Main.rand.NextFloat();
80252 }
80253 }
80254 else
80255 {
80257 {
80259 Vector2 vector18 = ((float)Main.rand.NextDouble() * ((float)
Math.
PI * 2f)).ToRotationVector2() * Main.rand.Next(24, 41) / 8f;
80265 {
80267 }
80268 else
80269 {
80270 dust46.velocity = 2f *
vector19 * Main.rand.Next(45, 91) / 10f;
80271 }
80272 dust46.noGravity = true;
80273 dust46.scale = 0.7f;
80274 }
80276 {
80280 {
80282 }
80284 {
80286 }
80288 {
80290 }
80292 {
80296 }
80297 }
80298 }
80299 }
80300 else if (
type == 409)
80301 {
80303 {
80305 {
80307 if (Main.rand.Next(4) == 0)
80308 {
80310 dust47.noGravity = true;
80311 }
80312 }
80313 }
80314 else
80315 {
80317 {
80320 dust48.noGravity = true;
80322 dust.velocity *= 3f;
80323 }
80327 }
80328 }
80329 else if (
type == 410)
80330 {
80332 {
80334 {
80336 if (Main.rand.Next(4) == 0)
80337 {
80339 dust49.noGravity = true;
80340 }
80341 }
80342 }
80343 else
80344 {
80346 {
80349 dust50.noGravity = true;
80351 dust.velocity *= 3f;
80352 }
80353 }
80354 }
80355 else if (
type == 407)
80356 {
80358 {
80360 {
80362 if (Main.rand.Next(2) == 0)
80363 {
80365 dust51.noGravity = true;
80366 }
80367 }
80368 }
80369 else
80370 {
80372 {
80373 if (Main.rand.Next(3) != 0)
80374 {
80376 }
80378 dust52.noGravity = true;
80380 dust.velocity *= 3f;
80381 }
80388 }
80389 }
80390 else if (
type == 402)
80391 {
80393 {
80395 {
80396 if (Main.rand.Next(3) == 0)
80397 {
80399 }
80400 if (Main.rand.Next(2) == 0)
80401 {
80403 dust53.noGravity = true;
80404 }
80406 {
80407 if (Main.rand.Next(4) == 0)
80408 {
80410 {
80411 break;
80412 }
80413 if (Main.rand.Next(3) == 0)
80414 {
80416 }
80417 if (Main.rand.Next(2) == 0)
80418 {
80420 dust54.noGravity = true;
80421 }
80422 }
80423 }
80424 }
80425 }
80426 else
80427 {
80429 {
80430 if (Main.rand.Next(3) == 0)
80431 {
80433 }
80435 dust55.noGravity = true;
80437 dust.velocity *= 3f;
80438 }
80440 {
80441 if (Main.rand.Next(4) != 0)
80442 {
80443 continue;
80444 }
80446 {
80447 break;
80448 }
80450 {
80451 if (Main.rand.Next(3) == 0)
80452 {
80454 }
80456 dust56.noGravity = true;
80458 dust.velocity *= 3f;
80459 }
80460 }
80461 }
80462 }
80463 else if (
type == 411)
80464 {
80466 {
80468 {
80470 if (Main.rand.Next(4) == 0)
80471 {
80473 dust57.noGravity = true;
80474 }
80475 }
80476 }
80477 else
80478 {
80480 {
80482 if (Main.rand.Next(2) == 0)
80483 {
80485 dust58.noGravity = true;
80486 }
80487 }
80493 }
80494 }
80495 else if (
type == 491)
80496 {
80498 {
80504 {
80508 }
80510 {
80516 }
80518 {
80521 }
80523 {
80527 }
80529 {
80530 int num193 = Main.rand.Next(861, 863);
80532 Main.gore[
num194].alpha = 100;
80535 }
80537 {
80539 Main.dust[
num196].noGravity =
true;
80540 Dust dust = Main.dust[
num196];
80541 dust.velocity *= 5f;
80543 dust = Main.dust[
num196];
80544 dust.velocity *= 4f;
80545 Main.dust[
num196].noGravity =
true;
80546 }
80547 if (Main.netMode != 1)
80548 {
80550 {
80551 float num198 = (float)(
num197 < 2).ToDirectionInt() * ((float)
Math.
PI / 8f + (
float)Math.PI / 4f * Main.rand.NextFloat());
80554 }
80555 }
80556 }
80557 }
80558 else if (
type == 492)
80559 {
80561 {
80563 {
80565 Dust dust = Main.dust[
num200];
80566 dust.velocity *= 1.4f;
80567 }
80569 {
80570 int num202 = Main.rand.Next(61, 64);
80572 Main.gore[
num203].alpha = 100;
80574 }
80575 }
80576 }
80577 else if (
type >= 524 &&
type <= 527)
80578 {
80583 {
80586 }
80587 else if (
type == 526)
80588 {
80591 }
80592 else if (
type == 527)
80593 {
80596 }
80598 {
80600 {
80602 if (Main.rand.Next(4) == 0 &&
num204 > 0)
80603 {
80605 dust59.noGravity = true;
80606 dust59.scale = 1.5f;
80607 dust59.fadeIn = 1f;
80609 dust.velocity *= 3f;
80610 }
80611 }
80612 }
80613 else
80614 {
80616 {
80618 if (Main.rand.Next(3) == 0 &&
num204 > 0)
80619 {
80621 dust60.noGravity = true;
80622 dust60.scale = 1.5f;
80623 dust60.fadeIn = 1f;
80625 dust.velocity *= 3f;
80626 }
80627 }
80634 }
80635 }
80636 else if (
type >= 528 &&
type <= 529)
80637 {
80641 {
80643 }
80645 {
80647 {
80649 }
80650 }
80651 else
80652 {
80654 {
80656 }
80661 }
80662 }
80663 else if (
type == 530 ||
type == 531)
80664 {
80666 {
80668 {
80670 }
80671 }
80672 else
80673 {
80675 {
80677 }
80683 }
80684 }
80685 else if (
type == 532)
80686 {
80688 {
80690 {
80692 }
80693 }
80694 else
80695 {
80697 {
80699 }
80704 }
80705 }
80706 else if (
type == 533)
80707 {
80709 {
80711 {
80713 Dust dust = Main.dust[
num218];
80714 dust.velocity *= 2f;
80715 Main.dust[
num218].noGravity =
true;
80716 }
80717 }
80718 else
80719 {
80721 {
80723 Dust dust = Main.dust[
num220];
80724 dust.velocity *= 2f;
80725 Main.dust[
num220].noGravity =
true;
80726 Main.dust[
num220].fadeIn = 1f;
80727 }
80728 }
80729 }
80730 else if (
type == 460)
80731 {
80733 {
80735 {
80737 }
80738 }
80739 else
80740 {
80742 {
80744 }
80750 }
80751 }
80752 else if (
type == 477)
80753 {
80755 {
80757 {
80759 }
80760 }
80761 else
80762 {
80764 {
80766 }
80772 }
80773 }
80774 else if (
type == 479)
80775 {
80777 {
80779 {
80781 }
80782 }
80783 else
80784 {
80786 {
80788 }
80792 }
80793 }
80794 else if (
type == 478)
80795 {
80797 {
80799 {
80801 Main.dust[
num228].noGravity =
true;
80802 }
80803 }
80804 else
80805 {
80807 {
80809 }
80814 }
80815 }
80816 else if (
type == 466)
80817 {
80819 {
80821 {
80823 }
80824 }
80825 else
80826 {
80828 {
80830 }
80836 }
80837 }
80838 else if (
type == 468)
80839 {
80841 {
80843 {
80845 }
80846 }
80847 else
80848 {
80850 {
80852 }
80858 }
80859 }
80860 else if (
type == 469)
80861 {
80863 {
80865 {
80867 }
80868 }
80869 else
80870 {
80872 {
80874 }
80880 }
80881 }
80882 else if (
type == 463)
80883 {
80885 {
80887 {
80889 }
80890 }
80891 else
80892 {
80894 {
80896 }
80902 }
80903 }
80904 else if (
type == 461)
80905 {
80907 {
80909 {
80911 }
80912 }
80913 else
80914 {
80916 {
80918 }
80924 }
80925 }
80926 else if (
type == 462)
80927 {
80929 {
80931 {
80933 }
80934 }
80935 else
80936 {
80938 {
80940 }
80946 }
80947 }
80948 else if (
type == 379 ||
type == 438)
80949 {
80951 {
80953 {
80955 }
80956 }
80957 else
80958 {
80960 {
80962 }
80966 }
80967 }
80968 else if (
type == 439)
80969 {
80971 {
80973 {
80975 Dust dust = Main.dust[
num245];
80976 dust.velocity *= 1.5f;
80977 Main.dust[
num245].noGravity =
true;
80978 }
80979 }
80980 else
80981 {
80983 {
80985 }
80987 {
80989 Dust dust = Main.dust[
num248];
80990 dust.velocity *= 2f;
80991 Main.dust[
num248].noGravity =
true;
80992 }
80993 int num249 = Main.rand.Next(1, 4);
80995 {
80998 gore2.velocity *= 0.8f;
80999 }
81004 }
81005 }
81006 else if (
type == 440)
81007 {
81009 {
81011 {
81013 Dust dust = Main.dust[
num253];
81014 dust.velocity *= 2f;
81015 Main.dust[
num253].noGravity =
true;
81016 }
81017 int num254 = Main.rand.Next(1, 4);
81019 {
81022 gore2.velocity *= 0.8f;
81023 }
81024 }
81025 }
81026 else if (
type >= 454 &&
type <= 459)
81027 {
81029 {
81031 {
81033 Dust dust = Main.dust[
num258];
81034 dust.velocity *= 1.5f;
81035 Main.dust[
num258].noGravity =
true;
81036 }
81037 }
81038 else
81039 {
81041 {
81043 Dust dust = Main.dust[
num260];
81044 dust.velocity *= 2f;
81045 Main.dust[
num260].noGravity =
true;
81046 }
81047 int num261 = Main.rand.Next(1, 4);
81049 {
81052 gore2.velocity *= 0.8f;
81053 }
81054 }
81055 }
81057 {
81059 {
81061 {
81063 }
81064 }
81065 else
81066 {
81068 {
81070 Dust dust = Main.dust[
num266];
81071 dust.velocity /= 2f;
81072 }
81077 }
81078 }
81080 {
81083 {
81086 {
81088 Vector2 vector24 = ((float)Main.rand.NextDouble() * ((float)
Math.
PI * 2f)).ToRotationVector2() * Main.rand.Next(24, 41) / 8f;
81094 {
81096 }
81097 else
81098 {
81099 dust61.velocity =
vector25 * Main.rand.Next(45, 91) / 10f;
81100 }
81101 dust61.color = Main.hslToRgb((float)(0.4000000059604645 + Main.rand.NextDouble() * 0.20000000298023224), 0.9f, 0.5f);
81103 dust61.noGravity = true;
81104 dust61.scale = 0.7f;
81105 }
81106 }
81107 }
81109 {
81111 {
81113 {
81115 }
81116 }
81117 else
81118 {
81120 {
81122 }
81129 }
81130 }
81131 else if (
type == 381)
81132 {
81134 {
81136 {
81138 }
81139 }
81140 else
81141 {
81143 {
81145 }
81150 }
81151 }
81152 else if (
type == 382 ||
type == 390)
81153 {
81155 {
81157 {
81159 }
81160 }
81161 else
81162 {
81164 {
81166 }
81170 }
81171 }
81172 else if (
type == 383)
81173 {
81175 {
81177 {
81179 }
81180 }
81181 else
81182 {
81184 {
81186 }
81190 }
81191 }
81192 else if (
type == 384)
81193 {
81195 {
81197 {
81200 Main.dust[
num279].scale = 0.5f;
81201 }
81202 }
81203 else
81204 {
81206 {
81208 Main.dust[
num281].scale = 0.5f;
81209 }
81210 }
81211 }
81212 else if (
type == 385)
81213 {
81215 {
81217 {
81219 }
81220 }
81221 else
81222 {
81224 {
81226 }
81230 }
81231 }
81232 else if (
type == 386)
81233 {
81235 {
81237 {
81239 }
81240 }
81241 else
81242 {
81244 {
81246 }
81250 }
81251 }
81253 {
81255 {
81257 {
81260 Main.dust[
num287].scale = 0.5f;
81261 }
81262 }
81263 else
81264 {
81266 {
81268 Main.dust[
num289].scale = 0.5f;
81269 }
81273 }
81274 }
81276 {
81278 {
81280 {
81283 Main.dust[
num291].scale = 0.5f;
81284 }
81285 }
81286 else
81287 {
81289 {
81291 Main.dust[
num293].scale = 0.5f;
81292 }
81298 }
81299 }
81300 else if (
type == 389)
81301 {
81303 {
81305 {
81307 }
81308 }
81309 else
81310 {
81312 {
81314 }
81318 }
81319 }
81320 else if (
type == 388)
81321 {
81323 {
81325 {
81328 Main.dust[
num297].scale = 0.5f;
81329 }
81330 }
81331 else
81332 {
81334 {
81336 Main.dust[
num299].scale = 0.5f;
81337 }
81340 {
81343 {
81344 vector26.X *= -1f;
81345 }
81347 }
81350 }
81351 }
81352 else if (
type == 399)
81353 {
81355 {
81357 {
81360 Main.dust[
num301].scale = 0.5f;
81361 }
81362 }
81363 else
81364 {
81366 {
81368 Main.dust[
num303].scale = 0.5f;
81369 }
81372 {
81375 {
81376 vector27.X *= -1f;
81377 }
81379 }
81382 }
81383 }
81384 else if (
type == 391)
81385 {
81387 {
81389 {
81391 }
81392 }
81393 else
81394 {
81396 {
81398 }
81402 }
81403 }
81405 {
81407 {
81409 {
81412 Main.dust[
num307].scale = 0.5f;
81413 }
81414 }
81415 else
81416 {
81418 {
81420 Main.dust[
num309].scale = 0.5f;
81421 }
81424 {
81431 }
81433 {
81435 }
81437 {
81439 }
81440 }
81441 }
81442 else if (
type == 482 ||
type == 483)
81443 {
81445 {
81447 {
81449 }
81450 }
81451 else
81452 {
81454 {
81456 }
81458 {
81463 }
81464 }
81465 }
81466 else if (
type == 631)
81467 {
81469 {
81471 {
81473 }
81474 }
81475 else
81476 {
81478 {
81480 }
81485 }
81486 }
81488 {
81490 {
81492 {
81494 }
81495 }
81496 else
81497 {
81499 {
81501 }
81502 }
81503 }
81505 {
81507 {
81509 if (Main.rand.Next(2) == 0)
81510 {
81511 Main.dust[
num317].noGravity =
true;
81513 }
81514 else
81515 {
81517 }
81518 }
81519 }
81521 {
81524 {
81526 }
81528 {
81530 }
81532 {
81534 }
81536 {
81538 }
81540 {
81542 {
81544 }
81545 }
81546 else
81547 {
81549 {
81551 }
81552 }
81553 }
81555 {
81557 {
81559 {
81561 }
81562 }
81563 else
81564 {
81566 {
81568 }
81569 }
81570 }
81572 {
81574 {
81576 {
81578 }
81579 }
81580 else
81581 {
81583 {
81585 }
81586 if (Main.netMode != 1 &&
type == 16)
81587 {
81588 int num324 = Main.rand.Next(2) + 2;
81590 {
81592 Main.npc[
num326].SetDefaults(-5);
81593 Main.npc[
num326].velocity.X = velocity.X * 2f;
81595 Main.npc[
num326].velocity.X += (float)Main.rand.Next(-20, 20) * 0.1f + (float)(
num325 *
direction) * 0.3f;
81596 Main.npc[
num326].velocity.Y -= (float)Main.rand.Next(0, 10) * 0.1f + (float)
num325;
81597 Main.npc[
num326].ai[0] = -1000 * Main.rand.Next(3);
81598 if (Main.netMode == 2 &&
num326 < 200)
81599 {
81600 NetMessage.SendData(23, -1, -1,
null,
num326);
81601 }
81602 }
81603 }
81604 }
81605 }
81607 {
81609 {
81611 {
81613 Main.dust[
num328].noGravity =
true;
81614 }
81615 }
81616 else
81617 {
81619 {
81621 Main.dust[
num330].noGravity =
true;
81622 }
81623 }
81624 }
81626 {
81628 {
81630 {
81632 }
81633 }
81634 else
81635 {
81637 {
81639 }
81645 }
81646 }
81648 {
81650 {
81652 {
81654 }
81655 }
81656 else
81657 {
81659 {
81661 }
81663 {
81665 }
81666 }
81667 }
81669 {
81671 {
81673 {
81675 }
81676 }
81677 else
81678 {
81680 {
81682 }
81684 {
81686 }
81687 }
81688 }
81690 {
81696 }
81698 {
81700 {
81702 {
81704 }
81705 }
81706 else
81707 {
81709 {
81711 }
81713 {
81715 }
81717 {
81719 }
81720 }
81721 }
81723 {
81725 {
81727 {
81729 }
81730 }
81731 else
81732 {
81734 {
81736 }
81737 }
81738 }
81740 {
81742 {
81744 {
81746 }
81747 }
81748 else
81749 {
81751 {
81753 }
81754 }
81755 }
81757 {
81759 {
81761 {
81762 Dust.NewDust(
position,
width,
height, 192,
hitDirection, -1f, 100,
new Color(100, 100, 100, 100));
81763 }
81764 }
81765 else
81766 {
81768 {
81769 Dust.NewDust(
position,
width,
height, 192, 2 *
hitDirection, -2f, 100,
new Color(100, 100, 100, 100));
81770 }
81772 }
81773 }
81775 {
81777 {
81779 {
81781 }
81782 }
81783 else if (
type == 246)
81784 {
81785 if (Main.netMode != 1)
81786 {
81788 }
81789 }
81790 else
81791 {
81793 {
81795 }
81797 {
81811 }
81812 else if (
type == 249)
81813 {
81821 }
81822 else
81823 {
81827 }
81828 }
81829 }
81831 {
81833 {
81835 Dust dust = Main.dust[
num352];
81836 dust.velocity *= 2f;
81837 Main.dust[
num352].noGravity =
true;
81838 Main.dust[
num352].scale = 1.4f;
81839 }
81840 }
81842 {
81844 {
81846 {
81848 }
81849 }
81850 else
81851 {
81853 {
81855 }
81856 }
81857 }
81859 {
81861 {
81863 {
81864 Dust.NewDust(
position,
width,
height, 4,
hitDirection, -1f, 100,
new Color(0, 80, 255, 100));
81865 }
81866 }
81867 else
81868 {
81870 {
81871 Dust.NewDust(
position,
width,
height, 4, 2 *
hitDirection, -2f, 100,
new Color(0, 80, 255, 100));
81872 }
81874 }
81875 }
81877 {
81879 {
81881 {
81883 }
81884 }
81885 else
81886 {
81888 {
81890 }
81892 }
81893 }
81895 {
81897 {
81899 if (Main.rand.Next(2) == 0)
81900 {
81901 Main.dust[
num360].noGravity =
true;
81902 Main.dust[
num360].scale = 1.5f;
81903 }
81904 else
81905 {
81906 Main.dust[
num360].scale = 0.8f;
81907 }
81908 }
81909 }
81911 {
81913 {
81915 if (Main.rand.Next(2) == 0)
81916 {
81917 Main.dust[
num362].noGravity =
true;
81919 }
81920 else
81921 {
81923 }
81924 }
81925 }
81927 {
81929 {
81930 PositionInWorld =
base.Center,
81932 });
81934 {
81936 if (Main.rand.Next(2) == 0)
81937 {
81938 Main.dust[
num364].noGravity =
true;
81940 }
81941 else
81942 {
81944 }
81945 }
81946 }
81948 {
81950 {
81952 if (Main.rand.Next(2) == 0)
81953 {
81954 Main.dust[
num366].noGravity =
true;
81956 }
81957 else
81958 {
81960 }
81961 }
81962 if (Main.rand.Next(2) == 0)
81963 {
81965 }
81966 if (Main.rand.Next(2) == 0)
81967 {
81969 }
81970 }
81972 {
81974 {
81976 if (Main.rand.Next(2) == 0)
81977 {
81978 Main.dust[
num368].noGravity =
true;
81980 }
81981 else
81982 {
81984 }
81985 }
81986 if (Main.rand.Next(2) == 0)
81987 {
81989 }
81990 if (Main.rand.Next(2) == 0)
81991 {
81993 }
81994 }
81996 {
81998 {
82000 if (Main.rand.Next(2) == 0)
82001 {
82002 Main.dust[
num370].noGravity =
true;
82004 }
82005 else
82006 {
82008 }
82009 }
82010 }
82012 {
82014 {
82016 if (Main.rand.Next(2) == 0)
82017 {
82018 Main.dust[
num372].noGravity =
true;
82020 }
82021 else
82022 {
82024 }
82025 }
82026 }
82028 {
82030 {
82032 if (Main.rand.Next(2) == 0)
82033 {
82034 Main.dust[
num374].noGravity =
true;
82036 }
82037 else
82038 {
82040 }
82041 }
82042 }
82044 {
82046 {
82048 if (Main.rand.Next(2) == 0)
82049 {
82050 Main.dust[
num376].noGravity =
true;
82052 }
82053 else
82054 {
82056 }
82057 }
82058 }
82060 {
82062 {
82064 if (Main.rand.Next(2) == 0)
82065 {
82066 Main.dust[
num378].noGravity =
true;
82068 }
82069 else
82070 {
82072 }
82073 }
82074 }
82076 {
82078 {
82080 Dust dust = Main.dust[
num380];
82081 dust.velocity *= 2f;
82082 Main.dust[
num380].noGravity =
true;
82083 }
82084 }
82086 {
82088 {
82090 {
82092 if (Main.rand.Next(2) == 0)
82093 {
82094 Main.dust[
num382].noGravity =
true;
82096 }
82097 else
82098 {
82100 }
82101 }
82102 }
82105 }
82107 {
82109 {
82111 {
82113 if (Main.rand.Next(2) == 0)
82114 {
82115 Main.dust[
num384].noGravity =
true;
82117 }
82118 else
82119 {
82121 }
82122 }
82123 }
82126 }
82128 {
82130 {
82132 {
82134 if (Main.rand.Next(2) == 0)
82135 {
82136 Main.dust[
num386].noGravity =
true;
82138 }
82139 else
82140 {
82142 }
82143 }
82144 }
82146 }
82148 {
82150 {
82152 {
82154 Main.dust[
num388].noGravity =
true;
82155 Dust dust = Main.dust[
num388];
82156 dust.velocity *= 0.2f;
82157 }
82158 }
82159 else
82160 {
82162 {
82164 Main.dust[
num390].noGravity =
true;
82165 Dust dust = Main.dust[
num390];
82166 dust.velocity *= 0.2f;
82167 }
82169 }
82170 }
82172 {
82174 {
82176 {
82178 Main.dust[
num392].noGravity =
true;
82179 Dust.NewDust(
position,
width,
height, 4,
hitDirection, -1f, 100,
new Color(97, 200, 255, 100));
82180 }
82181 }
82182 else
82183 {
82185 {
82187 Main.dust[
num394].noGravity =
true;
82188 Dust.NewDust(
position,
width,
height, 4,
hitDirection, -2f, 100,
new Color(97, 200, 255, 100));
82189 }
82190 }
82191 }
82193 {
82195 {
82197 {
82199 Main.dust[
num396].noGravity =
true;
82200 }
82201 }
82202 else
82203 {
82205 {
82207 Main.dust[
num398].noGravity =
true;
82208 Dust dust = Main.dust[
num398];
82209 dust.scale *= 1.2f;
82210 }
82211 }
82212 }
82214 {
82216 {
82218 {
82220 }
82221 }
82222 else
82223 {
82225 {
82227 }
82228 }
82229 }
82231 {
82233 {
82235 if (Main.rand.Next(2) == 0)
82236 {
82237 Dust dust = Main.dust[
num402];
82238 dust.scale *= 0.6f;
82239 }
82240 else
82241 {
82242 Dust dust = Main.dust[
num402];
82243 dust.velocity *= 1.4f;
82244 Main.dust[
num402].noGravity =
true;
82245 }
82246 }
82247 }
82249 {
82251 {
82253 {
82255 }
82256 }
82257 else
82258 {
82260 {
82262 Dust dust = Main.dust[
num405];
82263 dust.velocity *= 2f;
82264 }
82265 }
82266 }
82268 {
82270 {
82272 {
82274 }
82275 }
82276 else
82277 {
82279 {
82281 Dust dust = Main.dust[
num408];
82282 dust.velocity *= 2f;
82283 }
82284 if (Main.netMode != 1)
82285 {
82287 {
82289 Main.npc[
num409].SetDefaults(-2);
82293 if (Main.netMode == 2 &&
num409 < 200)
82294 {
82295 NetMessage.SendData(23, -1, -1,
null,
num409);
82296 }
82297 }
82298 else if (
scale >= 1f)
82299 {
82300 int num410 = Main.rand.Next(2) + 2;
82302 {
82304 Main.npc[
num412].SetDefaults(-1);
82305 Main.npc[
num412].velocity.X = velocity.X * 3f;
82307 Main.npc[
num412].velocity.X += (float)Main.rand.Next(-10, 10) * 0.1f + (float)(
num411 *
direction) * 0.3f;
82308 Main.npc[
num412].velocity.Y -= (float)Main.rand.Next(0, 10) * 0.1f + (float)
num411;
82310 if (Main.netMode == 2 &&
num412 < 200)
82311 {
82312 NetMessage.SendData(23, -1, -1,
null,
num412);
82313 }
82314 }
82315 }
82316 }
82317 }
82318 }
82320 {
82322 {
82324 {
82326 Dust dust = Main.dust[
num414];
82327 dust.velocity *= 1.5f;
82328 }
82329 }
82330 else
82331 {
82333 {
82335 Dust dust = Main.dust[
num416];
82336 dust.velocity *= 1.5f;
82337 }
82338 }
82339 }
82341 {
82343 {
82345 {
82347 Dust dust = Main.dust[
num418];
82348 dust.velocity *= 1.5f;
82349 }
82350 }
82351 else
82352 {
82354 {
82356 Dust dust = Main.dust[
num420];
82357 dust.velocity *= 1.5f;
82358 }
82359 }
82360 }
82362 {
82364 {
82366 {
82368 }
82369 }
82370 else
82371 {
82373 {
82375 Dust dust = Main.dust[
num423];
82376 dust.velocity *= 2f;
82377 }
82378 }
82379 }
82381 {
82384 {
82386 }
82388 {
82390 }
82392 {
82394 {
82396 }
82397 }
82398 else
82399 {
82401 {
82403 }
82404 }
82405 }
82406 else
82407 {
82409 {
82411 {
82413 {
82415 if (Main.rand.Next(8) != 0)
82416 {
82417 Main.dust[
num427].noGravity =
true;
82418 }
82419 }
82420 return;
82421 }
82423 {
82425 if (Main.rand.Next(8) != 0)
82426 {
82427 Main.dust[
num429].noGravity =
true;
82428 }
82429 }
82430 if (Main.expertMode &&
type == 59 && Main.netMode != 1 && !Main.remixWorld)
82431 {
82432 try
82433 {
82437 {
82438 Main.tile[
num430,
num431].liquid = (byte)Main.rand.Next(50, 150);
82442 }
82443 }
82444 catch
82445 {
82446 }
82447 }
82448 if ((
type != 151 &&
type != 60) || Main.netMode == 1 || !Main.remixWorld || !Main.getGoodWorld)
82449 {
82450 return;
82451 }
82452 try
82453 {
82457 {
82458 Main.tile[
num432,
num433].liquid = (byte)Main.rand.Next(50, 150);
82462 }
82463 return;
82464 }
82465 catch
82466 {
82467 return;
82468 }
82469 }
82471 {
82473 {
82475 {
82476 Dust.NewDust(
position,
width,
height, 4,
hitDirection, -1f, 175,
new Color(0, 80, 255, 100));
82477 }
82478 return;
82479 }
82481 {
82482 Dust.NewDust(
position,
width,
height, 4, 2 *
hitDirection, -2f, 175,
new Color(0, 80, 255, 100));
82483 }
82485 if (Main.netMode == 1)
82486 {
82487 return;
82488 }
82489 int num436 = Main.rand.Next(4) + 4;
82491 {
82495 Main.npc[
num438].SetDefaults(1);
82496 Main.npc[
num438].velocity.X = (float)Main.rand.Next(-15, 16) * 0.1f;
82497 Main.npc[
num438].velocity.Y = (float)Main.rand.Next(-30, 1) * 0.1f;
82498 Main.npc[
num438].ai[0] = -1000 * Main.rand.Next(3);
82499 Main.npc[
num438].ai[1] = 0f;
82500 if (Main.netMode == 2 &&
num438 < 200)
82501 {
82502 NetMessage.SendData(23, -1, -1,
null,
num438);
82503 }
82504 }
82505 }
82506 else if (
type == 153)
82507 {
82509 {
82511 {
82513 }
82514 return;
82515 }
82517 {
82519 }
82524 }
82525 else if (
type == 177)
82526 {
82528 {
82530 {
82532 }
82533 return;
82534 }
82536 {
82538 }
82543 }
82544 else if (
type >= 494 &&
type <= 495)
82545 {
82547 {
82549 {
82551 }
82552 return;
82553 }
82555 {
82557 }
82561 }
82562 else if (
type >= 496 &&
type <= 497)
82563 {
82565 {
82567 {
82569 }
82570 return;
82571 }
82573 {
82575 }
82578 }
82579 else if (
type >= 498 &&
type <= 506)
82580 {
82582 {
82584 {
82586 }
82587 return;
82588 }
82590 {
82592 }
82597 }
82599 {
82601 {
82603 {
82605 }
82606 return;
82607 }
82609 {
82611 }
82613 {
82615 }
82616 else if (
type == 93)
82617 {
82619 }
82620 else if (
type == 150)
82621 {
82624 }
82625 else if (
type == 152)
82626 {
82630 }
82631 else if (
type == 226)
82632 {
82637 }
82638 else
82639 {
82641 }
82642 }
82643 else if (
type == 611)
82644 {
82646 {
82648 {
82650 }
82651 return;
82652 }
82654 {
82656 }
82660 }
82661 else if (
type == 624)
82662 {
82664 {
82666 {
82668 }
82669 return;
82670 }
82672 {
82674 }
82679 }
82680 else if (
type == 628)
82681 {
82683 {
82685 {
82687 }
82688 return;
82689 }
82691 {
82693 }
82698 }
82699 else if (
type >= 646 &&
type <= 652)
82700 {
82703 {
82705 }
82707 {
82709 {
82711 }
82712 return;
82713 }
82715 {
82717 }
82721 }
82722 else if (
type >= 639 &&
type <= 645)
82723 {
82726 {
82728 }
82730 {
82732 {
82734 }
82735 return;
82736 }
82738 {
82740 }
82742 }
82744 {
82746 {
82748 {
82750 }
82751 return;
82752 }
82754 {
82756 }
82758 {
82762 {
82764 {
82766 }
82767 }
82769 {
82771 }
82772 }
82773 else if (
type == 67)
82774 {
82778 }
82779 else if (
type == 55 ||
type == 230)
82780 {
82783 }
82784 else if (
type == 615)
82785 {
82790 }
82791 else if (
type == 74)
82792 {
82794 }
82795 else if (
type == 297)
82796 {
82798 }
82799 else if (
type == 298)
82800 {
82802 }
82803 else if (
type == 671)
82804 {
82808 }
82809 else if (
type == 672)
82810 {
82814 }
82815 else if (
type == 673)
82816 {
82820 }
82821 else if (
type == 674)
82822 {
82826 }
82827 else if (
type == 675)
82828 {
82832 }
82833 else if (
type == 299)
82834 {
82836 }
82837 else if (
type == 538)
82838 {
82840 }
82841 else if (
type == 300)
82842 {
82844 }
82845 else if (
type == 610)
82846 {
82848 }
82849 else if (
type == 626)
82850 {
82852 }
82853 else if (
type == 102)
82854 {
82856 }
82857 else if (
type == 224)
82858 {
82861 }
82862 else if (
type == 587)
82863 {
82865 {
82867 }
82870 }
82871 else if (
type == 616)
82872 {
82877 }
82878 else if (
type == 617)
82879 {
82884 }
82885 else if (
type == 625)
82886 {
82891 }
82892 }
82894 {
82896 {
82898 {
82900 }
82901 return;
82902 }
82904 {
82906 }
82908 {
82911 }
82912 else if (
type == 149)
82913 {
82916 }
82917 else if (
type == 168)
82918 {
82921 }
82922 else if (
type == 470)
82923 {
82927 }
82928 }
82929 else if (
type == 361)
82930 {
82932 {
82934 {
82936 }
82937 return;
82938 }
82940 {
82942 }
82945 }
82946 else if (
type == 687)
82947 {
82949 {
82951 {
82953 }
82954 }
82955 else
82956 {
82959 }
82960 }
82961 else if (
type == 685)
82962 {
82964 {
82966 {
82968 }
82969 }
82970 else
82971 {
82974 }
82975 }
82976 else if (
type == 607)
82977 {
82979 {
82981 {
82983 }
82984 return;
82985 }
82987 {
82989 }
82992 }
82993 else if (
type == 366 ||
type == 367)
82994 {
82996 {
82998 {
83000 }
83001 return;
83002 }
83004 {
83006 }
83008 {
83012 }
83013 else
83014 {
83018 }
83019 }
83020 else if (
type >= 362 &&
type <= 365)
83021 {
83023 {
83025 {
83027 }
83028 return;
83029 }
83031 {
83033 }
83035 {
83039 }
83040 else
83041 {
83045 }
83046 }
83047 else if (
type == 602 ||
type == 603)
83048 {
83050 {
83052 {
83054 }
83055 return;
83056 }
83058 {
83060 }
83062 {
83065 }
83066 }
83067 else if (
type == 608 ||
type == 609)
83068 {
83070 {
83072 {
83074 }
83075 return;
83076 }
83078 {
83080 }
83082 {
83086 }
83087 }
83088 else if (
type == 348 ||
type == 349)
83089 {
83091 {
83093 {
83095 }
83096 return;
83097 }
83099 {
83101 }
83107 }
83108 else if (
type == 351)
83109 {
83111 {
83113 {
83115 }
83116 return;
83117 }
83119 {
83121 }
83127 }
83128 else if (
type == 350)
83129 {
83131 {
83133 {
83135 }
83136 return;
83137 }
83139 {
83141 }
83146 }
83148 {
83150 {
83152 {
83154 }
83155 return;
83156 }
83158 {
83160 }
83162 {
83164 }
83165 else if (
type == 58)
83166 {
83168 }
83169 else if (
type == 464)
83170 {
83173 }
83174 else if (
type == 465)
83175 {
83178 }
83179 else
83180 {
83183 }
83184 }
83186 {
83188 {
83190 {
83192 }
83193 return;
83194 }
83196 {
83198 }
83200 {
83203 }
83204 else if (
type == 174)
83205 {
83208 }
83209 else if (
type == 181)
83210 {
83212 }
83213 else if (
type == 182)
83214 {
83217 }
83218 else if (
type == 268)
83219 {
83223 }
83224 }
83226 {
83228 {
83230 {
83232 }
83233 return;
83234 }
83236 {
83238 }
83240 {
83243 }
83244 else if (
type == 191)
83245 {
83248 }
83249 else if (
type == 192)
83250 {
83253 }
83254 else if (
type == 193)
83255 {
83258 }
83259 else if (
type == 194)
83260 {
83263 }
83264 else if (
type == 317)
83265 {
83268 }
83269 else if (
type == 318)
83270 {
83273 }
83274 else
83275 {
83278 }
83279 }
83280 else if (
type == 157)
83281 {
83283 {
83285 {
83287 }
83288 return;
83289 }
83291 {
83293 }
83296 }
83297 else if (
type == 133)
83298 {
83300 {
83302 {
83304 }
83306 {
83309 }
83310 }
83311 else
83312 {
83314 {
83316 }
83319 }
83320 }
83322 {
83326 {
83329 }
83331 {
83333 {
83335 }
83336 return;
83337 }
83339 {
83341 }
83343 {
83346 }
83347 else if (
type == 580)
83348 {
83353 }
83354 else if (
type == 581)
83355 {
83361 }
83362 else if (
type == 508)
83363 {
83368 }
83369 else if (
type == 509)
83370 {
83376 }
83377 else if (
type == 582)
83378 {
83381 }
83382 }
83383 else if (
type == 61)
83384 {
83386 {
83388 {
83390 }
83391 return;
83392 }
83394 {
83396 }
83400 }
83401 else if (
type == 301)
83402 {
83404 {
83406 {
83408 }
83409 return;
83410 }
83412 {
83414 }
83417 }
83418 else if (
type == 252)
83419 {
83421 {
83423 {
83425 }
83426 return;
83427 }
83429 {
83431 }
83434 }
83435 else if (
type == 489 ||
type == 586)
83436 {
83438 {
83440 {
83442 }
83443 return;
83444 }
83446 {
83448 }
83450 {
83456 }
83458 {
83464 }
83465 }
83466 else if (
type == 534)
83467 {
83469 {
83471 {
83473 }
83474 return;
83475 }
83477 {
83479 }
83485 }
83486 else if (
type == 490)
83487 {
83489 {
83491 {
83493 }
83494 return;
83495 }
83497 {
83499 }
83505 }
83507 {
83509 {
83511 {
83513 }
83514 return;
83515 }
83517 {
83519 }
83521 {
83526 }
83528 {
83533 }
83535 {
83540 }
83542 {
83547 }
83549 {
83554 }
83555 }
83556 else if (
type == 195 ||
type == 196)
83557 {
83559 {
83561 {
83563 }
83564 return;
83565 }
83567 {
83569 }
83575 }
83576 else if (
type == 198 ||
type == 199)
83577 {
83579 {
83581 {
83583 }
83584 return;
83585 }
83587 {
83589 }
83596 }
83597 else if (
type == 206)
83598 {
83600 {
83602 {
83604 }
83605 return;
83606 }
83608 {
83610 }
83616 }
83617 else if (
type == 342)
83618 {
83620 {
83622 {
83624 }
83625 return;
83626 }
83628 {
83630 }
83636 }
83637 else if (
type >= 338 &&
type <= 340)
83638 {
83640 {
83642 {
83644 }
83645 return;
83646 }
83648 {
83650 }
83652 {
83654 }
83656 {
83658 }
83660 {
83662 }
83666 }
83667 else if (
type == 343)
83668 {
83670 {
83672 {
83674 }
83675 return;
83676 }
83678 {
83680 }
83685 }
83687 {
83689 {
83691 {
83693 }
83694 if (
type == 186 && Main.rand.Next(5) == 0)
83695 {
83697 }
83698 if (
type == 632 && Main.rand.Next(5) == 0)
83699 {
83701 }
83703 {
83705 {
83706 Dust.NewDust(
position,
width, 24, 4,
hitDirection, -1f, 125,
new Color(0, 80, 255, 100));
83707 }
83708 }
83710 {
83712 {
83713 Dust.NewDust(
position,
width, 24, 6,
hitDirection, -1f, 125,
new Color(0, 80, 255, 100));
83714 }
83715 }
83716 return;
83717 }
83719 {
83721 }
83723 {
83725 {
83726 Dust.NewDust(
position,
width, 24, 4,
hitDirection, -1f, 125,
new Color(0, 80, 255, 100));
83727 }
83728 }
83730 {
83736 return;
83737 }
83739 {
83745 if (Main.netMode != 1)
83746 {
83747 int num538 = Main.rand.Next(2) + 2;
83749 {
83750 Vector2 vector30 =
new Vector2((
float)Main.rand.Next(-10, 10) * 0.2f, -3.5f - (
float)Main.rand.Next(5, 10) * 0.3f - (
float)
num539 * 0.5f);
83753 Main.npc[
num540].netUpdate =
true;
83754 }
83755 }
83756 return;
83757 }
83759 {
83765 return;
83766 }
83768 {
83774 return;
83775 }
83777 {
83784 return;
83785 }
83787 {
83793 return;
83794 }
83796 {
83802 return;
83803 }
83805 {
83811 return;
83812 }
83814 {
83820 return;
83821 }
83823 {
83829 return;
83830 }
83832 {
83837 return;
83838 }
83840 {
83846 return;
83847 }
83849 {
83855 return;
83856 }
83858 {
83860 }
83861 else if (
type == 186 ||
type == 432)
83862 {
83864 }
83865 else if (
type == 189 ||
type == 435)
83866 {
83868 }
83869 else if (
type == 251)
83870 {
83872 }
83873 else if (
type != 187 &&
type != 433)
83874 {
83876 }
83882 {
83884 }
83885 if ((
type == 186 ||
type == 432) && Main.rand.Next(2) == 0)
83886 {
83888 }
83889 }
83891 {
83893 {
83895 {
83897 Main.dust[
num542].noGravity =
true;
83898 }
83899 return;
83900 }
83902 {
83904 Dust dust = Main.dust[
num544];
83905 dust.velocity *= 2f;
83906 Main.dust[
num544].noGravity =
true;
83907 }
83910 gore2.velocity *= 0.5f;
83913 gore2.velocity *= 0.5f;
83916 gore2.velocity *= 0.5f;
83917 }
83919 {
83921 {
83923 {
83925 {
83927 }
83928 else if (
type == 265 && Main.rand.Next(3) != 0)
83929 {
83931 }
83932 else
83933 {
83935 }
83936 }
83937 return;
83938 }
83940 {
83941 if (
type == 265 && Main.rand.Next(3) != 0)
83942 {
83944 }
83945 else
83946 {
83948 }
83949 }
83951 {
83961 }
83963 {
83966 }
83968 {
83971 }
83972 }
83973 else if (
type == 265)
83974 {
83976 {
83977 return;
83978 }
83980 {
83981 if (Main.rand.Next(3) != 0)
83982 {
83984 }
83985 else
83986 {
83988 }
83989 }
83990 }
83991 else if (
type == 266)
83992 {
83994 {
83996 {
83998 }
83999 return;
84000 }
84002 {
84004 }
84005 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 396);
84006 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 397);
84007 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 398);
84008 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 399);
84009 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 400);
84010 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 401);
84011 }
84012 else if (
type == 267)
84013 {
84015 {
84017 {
84019 }
84020 return;
84021 }
84023 {
84025 }
84027 }
84029 {
84031 {
84033 {
84035 }
84036 return;
84037 }
84039 {
84041 }
84043 {
84044 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 2);
84045 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 7);
84046 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 9);
84048 {
84049 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (
float)Main.rand.Next(-30, 31) * 0.2f), 10);
84051 }
84052 else if (
type == 125)
84053 {
84054 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (float)Main.rand.Next(-30, 31) * 0.2f), 146);
84055 }
84056 else if (
type == 126)
84057 {
84058 Gore.NewGore(
position,
new Vector2((
float)Main.rand.Next(-30, 31) * 0.2f, (float)Main.rand.Next(-30, 31) * 0.2f), 145);
84059 }
84060 }
84062 {
84064 {
84066 Dust dust = Main.dust[
num557];
84067 dust.velocity *= 1.4f;
84068 }
84070 {
84072 Main.dust[
num559].noGravity =
true;
84073 Dust dust = Main.dust[
num559];
84074 dust.velocity *= 5f;
84076 dust = Main.dust[
num559];
84077 dust.velocity *= 3f;
84078 }
84081 gore2.velocity *= 0.4f;
84082 Main.gore[
num560].velocity.X += 1f;
84083 Main.gore[
num560].velocity.Y += 1f;
84086 gore2.velocity *= 0.4f;
84087 Main.gore[
num560].velocity.X -= 1f;
84088 Main.gore[
num560].velocity.Y += 1f;
84091 gore2.velocity *= 0.4f;
84092 Main.gore[
num560].velocity.X += 1f;
84093 Main.gore[
num560].velocity.Y -= 1f;
84096 gore2.velocity *= 0.4f;
84097 Main.gore[
num560].velocity.X -= 1f;
84098 Main.gore[
num560].velocity.Y -= 1f;
84099 }
84100 }
84101 else if (
type == 5)
84102 {
84104 {
84106 {
84108 }
84109 return;
84110 }
84112 {
84114 }
84117 }
84118 else if (
type == 113 ||
type == 114)
84119 {
84121 {
84123 {
84125 }
84126 return;
84127 }
84129 {
84131 }
84133 {
84138 return;
84139 }
84144 if (!(Main.player[Main.myPlayer].position.Y / 16f > (float)(Main.maxTilesY - 250)))
84145 {
84146 return;
84147 }
84148 int num565 = (int)Main.screenPosition.Y;
84152 {
84154 }
84158 {
84160 {
84162 {
84163 Dust.NewDust(
new Vector2(
num569,
num570), 32, 32, 5, (
float)Main.rand.Next(-60, 61) * 0.1f, (
float)Main.rand.Next(-60, 61) * 0.1f);
84164 }
84166 }
84168 }
84169 }
84170 else if (
type == 115 ||
type == 116)
84171 {
84173 {
84175 {
84177 }
84178 return;
84179 }
84180 if (
type == 115 && Main.netMode != 1)
84181 {
84184 {
84186 }
84187 return;
84188 }
84190 {
84192 }
84195 }
84196 else if (
type >= 117 &&
type <= 119)
84197 {
84199 {
84201 {
84203 }
84204 return;
84205 }
84207 {
84209 }
84211 }
84213 {
84215 {
84217 {
84219 }
84220 return;
84221 }
84223 {
84225 }
84227 {
84230 }
84232 {
84235 }
84237 {
84239 }
84240 }
84241 else if (
type == 222)
84242 {
84244 {
84246 {
84248 }
84249 return;
84250 }
84252 {
84254 }
84261 }
84263 {
84265 {
84267 {
84269 }
84270 return;
84271 }
84273 {
84275 }
84277 {
84282 }
84283 else if (
type == 166)
84284 {
84288 }
84289 else
84290 {
84295 }
84296 }
84297 else if (
type == 101)
84298 {
84300 {
84302 {
84304 }
84305 return;
84306 }
84308 {
84310 }
84315 }
84317 {
84319 {
84321 {
84323 }
84324 return;
84325 }
84327 {
84329 }
84332 }
84334 {
84336 {
84338 {
84340 }
84341 return;
84342 }
84344 {
84346 }
84349 }
84351 {
84353 {
84355 {
84357 }
84358 return;
84359 }
84361 {
84363 }
84365 }
84367 {
84369 {
84371 {
84373 }
84374 return;
84375 }
84377 {
84379 }
84381 }
84383 {
84385 {
84387 {
84389 }
84390 return;
84391 }
84393 {
84395 }
84397 {
84400 }
84401 else if (
type == 14)
84402 {
84405 }
84406 else
84407 {
84410 }
84411 }
84412 else if (
type == 17)
84413 {
84415 {
84417 {
84419 }
84420 return;
84421 }
84423 {
84425 }
84427 {
84429 }
84434 }
84435 else if (
type == 441)
84436 {
84438 {
84440 {
84442 }
84443 return;
84444 }
84446 {
84448 }
84454 }
84455 else if (
type == 86)
84456 {
84458 {
84460 {
84462 }
84463 return;
84464 }
84466 {
84468 }
84476 }
84477 else if (
type == 155)
84478 {
84480 {
84482 {
84484 }
84485 return;
84486 }
84488 {
84490 }
84494 }
84495 else if (
type == 329)
84496 {
84498 {
84500 {
84502 }
84503 return;
84504 }
84506 {
84508 }
84512 }
84513 else if (
type == 163 ||
type == 238)
84514 {
84516 {
84518 {
84520 }
84521 return;
84522 }
84524 {
84526 }
84532 }
84533 else if (
type == 164 ||
type == 165)
84534 {
84536 {
84538 {
84540 }
84541 return;
84542 }
84544 {
84546 }
84552 }
84553 else if (
type == 239 ||
type == 240)
84554 {
84556 {
84558 {
84560 }
84561 return;
84562 }
84564 {
84566 }
84572 }
84573 else if (
type == 236 ||
type == 237)
84574 {
84576 {
84578 {
84580 }
84581 return;
84582 }
84584 {
84586 }
84592 }
84593 else if (
type == 241)
84594 {
84596 {
84598 {
84600 }
84601 return;
84602 }
84604 {
84606 }
84609 }
84610 else if (
type == 242)
84611 {
84613 {
84615 {
84617 }
84618 return;
84619 }
84621 {
84623 }
84629 }
84630 else if (
type >= 105 &&
type <= 108)
84631 {
84633 {
84635 {
84637 }
84638 return;
84639 }
84641 {
84643 }
84645 {
84651 return;
84652 }
84654 {
84656 }
84661 }
84662 else if (
type == 123 ||
type == 124)
84663 {
84665 {
84667 {
84669 }
84670 return;
84671 }
84673 {
84675 }
84681 }
84682 else if (
type == 22)
84683 {
84685 {
84687 {
84689 }
84690 return;
84691 }
84693 {
84695 }
84701 }
84702 else if (
type == 550)
84703 {
84705 {
84707 {
84709 }
84710 return;
84711 }
84713 {
84715 }
84721 }
84722 else if (
type == 588 ||
type == 589)
84723 {
84725 {
84727 {
84729 }
84730 return;
84731 }
84733 {
84735 }
84737 {
84739 }
84744 }
84745 else if (
type == 633)
84746 {
84748 {
84750 {
84752 }
84753 return;
84754 }
84756 {
84758 }
84762 {
84765 }
84767 {
84771 {
84774 }
84775 }
84782 }
84783 else if (
type == 368)
84784 {
84786 {
84788 {
84790 }
84791 return;
84792 }
84794 {
84796 }
84798 {
84800 }
84805 }
84807 {
84809 {
84811 {
84813 Dust dust = Main.dust[
num639];
84814 dust.velocity *= 1.4f;
84815 Main.dust[
num639].noLight =
true;
84816 Main.dust[
num639].noGravity =
true;
84817 }
84820 Main.gore[
num640].scale = 1f;
84821 Main.gore[
num640].velocity.X += 1f;
84822 Main.gore[
num640].velocity.Y += 1f;
84824 Main.gore[
num640].scale = 1f;
84825 Main.gore[
num640].velocity.X -= 1f;
84826 Main.gore[
num640].velocity.Y += 1f;
84828 Main.gore[
num640].scale = 1f;
84829 Main.gore[
num640].velocity.X += 1f;
84830 Main.gore[
num640].velocity.Y -= 1f;
84832 Main.gore[
num640].scale = 1f;
84833 Main.gore[
num640].velocity.X -= 1f;
84834 Main.gore[
num640].velocity.Y -= 1f;
84835 }
84836 }
84837 else if (
type == 227)
84838 {
84840 {
84842 {
84844 }
84845 return;
84846 }
84848 {
84850 }
84852 {
84854 }
84859 }
84860 else if (
type == 228)
84861 {
84863 {
84865 {
84867 }
84868 return;
84869 }
84871 {
84873 }
84879 }
84880 else if (
type == 229)
84881 {
84883 {
84885 {
84887 }
84888 return;
84889 }
84891 {
84893 {
84895 Dust dust = Main.dust[
num647];
84896 dust.velocity *= 2f;
84897 Main.dust[
num647].noGravity =
true;
84898 Main.dust[
num647].scale = 1.4f;
84899 }
84900 return;
84901 }
84903 {
84905 }
84907 {
84909 }
84914 }
84915 else if (
type == 142)
84916 {
84918 {
84920 {
84922 }
84923 return;
84924 }
84926 {
84928 }
84930 {
84932 }
84937 }
84938 else if (
type == 178)
84939 {
84941 {
84943 {
84945 }
84946 return;
84947 }
84949 {
84951 }
84953 {
84955 }
84959 }
84960 else if (
type == 353 ||
type == 354)
84961 {
84963 {
84965 {
84967 }
84968 return;
84969 }
84971 {
84973 }
84975 {
84977 }
84979 {
84981 }
84986 }
84987 else if (
type == 37)
84988 {
84990 {
84992 {
84994 }
84995 return;
84996 }
84998 {
85000 }
85006 }
85007 else if (
type == 54)
85008 {
85010 {
85012 {
85014 }
85015 return;
85016 }
85018 {
85020 }
85026 }
85027 else if (
type == 160)
85028 {
85030 {
85032 {
85034 }
85035 return;
85036 }
85038 {
85040 }
85046 }
85047 else if (
type == 18)
85048 {
85050 {
85052 {
85054 }
85055 return;
85056 }
85058 {
85060 }
85062 {
85064 }
85069 }
85070 else if (
type == 19)
85071 {
85073 {
85075 {
85077 }
85078 return;
85079 }
85081 {
85083 }
85089 }
85090 else if (
type == 38)
85091 {
85093 {
85095 {
85097 }
85098 return;
85099 }
85101 {
85103 }
85105 {
85107 }
85112 }
85113 else if (
type == 20)
85114 {
85116 {
85118 {
85120 }
85121 return;
85122 }
85124 {
85126 }
85132 }
85133 else if (
type == 207)
85134 {
85136 {
85138 {
85140 }
85141 return;
85142 }
85144 {
85146 }
85148 {
85150 }
85155 }
85156 else if (
type == 208)
85157 {
85159 {
85161 {
85163 }
85164 return;
85165 }
85167 {
85169 }
85175 }
85176 else if (
type == 663)
85177 {
85179 {
85181 {
85183 }
85184 }
85185 else
85186 {
85188 {
85190 }
85191 }
85192 }
85193 else if (
type == 209)
85194 {
85196 {
85198 {
85200 }
85201 return;
85202 }
85204 {
85206 }
85212 }
85213 else if (
type >= 212 &&
type <= 216)
85214 {
85216 {
85218 {
85220 }
85221 return;
85222 }
85224 {
85226 }
85228 {
85234 }
85235 else if (
type == 213)
85236 {
85242 }
85243 else if (
type == 214)
85244 {
85250 }
85251 else if (
type == 215)
85252 {
85258 }
85259 else if (
type == 216)
85260 {
85266 }
85267 }
85268 else if (
type == 220 ||
type == 221)
85269 {
85271 {
85273 {
85275 }
85276 return;
85277 }
85279 {
85281 }
85283 {
85286 }
85287 else
85288 {
85290 }
85291 }
85293 {
85295 {
85297 {
85299 }
85300 return;
85301 }
85303 {
85305 }
85307 {
85314 return;
85315 }
85317 {
85323 return;
85324 }
85326 {
85332 return;
85333 }
85335 {
85342 return;
85343 }
85345 {
85351 return;
85352 }
85354 {
85360 return;
85361 }
85363 {
85369 return;
85370 }
85372 {
85377 return;
85378 }
85380 {
85386 return;
85387 }
85390 {
85392 }
85394 {
85396 }
85400 {
85402 }
85405 }
85406 else if (
type == 453)
85407 {
85409 {
85411 {
85413 }
85414 return;
85415 }
85417 {
85419 }
85421 {
85423 }
85428 }
85430 {
85432 {
85434 {
85436 }
85437 return;
85438 }
85440 {
85442 }
85449 {
85451 }
85453 {
85455 }
85457 {
85459 }
85461 {
85463 }
85465 {
85467 }
85468 }
85469 else if (
type >= 277 &&
type <= 280)
85470 {
85472 {
85474 {
85476 Main.dust[
num688].scale = 1.1f;
85477 Main.dust[
num688].noGravity =
true;
85478 }
85479 return;
85480 }
85482 {
85484 Dust dust = Main.dust[
num690];
85485 dust.velocity *= 2f;
85486 Main.dust[
num690].scale = 1.4f;
85487 Main.dust[
num690].noGravity =
true;
85488 }
85489 }
85490 else if (
type == 341)
85491 {
85494 {
85496 {
85498 }
85499 return;
85500 }
85502 {
85504 }
85507 gore2.velocity *= 0.3f;
85510 gore2.velocity *= 0.3f;
85513 gore2.velocity *= 0.3f;
85514 }
85515 else if (
type == 85 ||
type == 629)
85516 {
85519 {
85521 }
85523 {
85525 }
85527 {
85529 {
85531 }
85532 return;
85533 }
85535 {
85537 }
85540 gore2.velocity *= 0.3f;
85543 gore2.velocity *= 0.3f;
85546 gore2.velocity *= 0.3f;
85547 }
85549 {
85552 {
85554 {
85556 }
85557 return;
85558 }
85560 {
85562 }
85565 gore2.velocity *= 0.3f;
85568 gore2.velocity *= 0.3f;
85571 gore2.velocity *= 0.3f;
85572 }
85573 else if (
type == 169)
85574 {
85576 {
85578 {
85580 Dust dust = Main.dust[
num704];
85581 dust.velocity *= 1.5f;
85582 Main.dust[
num704].noGravity =
true;
85583 }
85584 return;
85585 }
85587 {
85589 Main.dust[
num706].scale = 1.5f;
85590 Dust dust = Main.dust[
num706];
85591 dust.velocity *= 2f;
85592 Main.dust[
num706].noGravity =
true;
85593 }
85594 }
85595 else if (
type == 170 ||
type == 180)
85596 {
85598 {
85600 {
85602 Dust dust = Main.dust[
num708];
85603 dust.velocity *= 1.5f;
85604 Main.dust[
num708].noGravity =
true;
85605 }
85606 return;
85607 }
85609 {
85611 Dust dust = Main.dust[
num710];
85612 dust.velocity *= 2f;
85613 Main.dust[
num710].noGravity =
true;
85614 }
85616 {
85619 gore2.velocity *= 0.3f;
85620 }
85621 }
85622 else if (
type == 171)
85623 {
85625 {
85627 {
85629 Dust dust = Main.dust[
num714];
85630 dust.velocity *= 1.5f;
85631 Main.dust[
num714].noGravity =
true;
85632 }
85633 return;
85634 }
85636 {
85638 Dust dust = Main.dust[
num716];
85639 dust.velocity *= 2f;
85640 Main.dust[
num716].noGravity =
true;
85641 }
85643 {
85646 {
85647 num718 = Main.rand.Next(11, 14);
85648 }
85651 gore2.velocity *= 0.3f;
85652 }
85653 }
85654 else if (
type == 290)
85655 {
85657 {
85659 {
85661 Dust dust = Main.dust[
num721];
85662 dust.velocity *= 2f;
85663 Main.dust[
num721].noGravity =
true;
85664 }
85667 gore2.velocity *= 0.5f;
85670 gore2.velocity *= 0.5f;
85673 gore2.velocity *= 0.5f;
85674 }
85675 }
85676 else if (
type >= 87 &&
type <= 92)
85677 {
85679 {
85681 {
85683 Dust dust = Main.dust[
num724];
85684 dust.velocity *= 1.5f;
85685 Main.dust[
num724].noGravity =
true;
85686 }
85687 return;
85688 }
85690 {
85692 Dust dust = Main.dust[
num726];
85693 dust.velocity *= 2f;
85694 Main.dust[
num726].noGravity =
true;
85695 }
85696 int num727 = Main.rand.Next(1, 4);
85698 {
85701 gore2.velocity *= 0.8f;
85702 }
85703 }
85705 {
85707 {
85709 {
85711 Dust dust = Main.dust[
num731];
85712 dust.velocity *= 2f;
85713 Main.dust[
num731].noGravity =
true;
85714 }
85715 return;
85716 }
85718 {
85720 Dust dust = Main.dust[
num733];
85721 dust.velocity *= 2f;
85722 Main.dust[
num733].noGravity =
true;
85723 }
85726 gore2.velocity *= 0.3f;
85729 gore2.velocity *= 0.3f;
85732 gore2.velocity *= 0.3f;
85733 }
85735 {
85737 {
85739 {
85741 Dust dust = Main.dust[
num736];
85742 dust.velocity *= 2f;
85743 Main.dust[
num736].noGravity =
true;
85744 }
85745 return;
85746 }
85748 {
85750 Dust dust = Main.dust[
num738];
85751 dust.velocity *= 2f;
85752 Main.dust[
num738].noGravity =
true;
85753 }
85756 gore2.velocity *= 0.3f;
85759 gore2.velocity *= 0.3f;
85762 gore2.velocity *= 0.3f;
85763 }
85764 else if (
type == 316 ||
type == 330)
85765 {
85767 {
85769 {
85770 int num741 = Dust.NewDust(
position,
width,
height, 192,
hitDirection, -1f, 100,
new Color(100, 100, 100, 100));
85771 Main.dust[
num741].noGravity =
true;
85772 }
85773 }
85774 else
85775 {
85777 {
85778 int num743 = Dust.NewDust(
position,
width,
height, 192, 2 *
hitDirection, -2f, 100,
new Color(100, 100, 100, 100));
85779 Main.dust[
num743].noGravity =
true;
85780 }
85781 }
85782 }
85783 else if (
type == 662)
85784 {
85786 {
85788 {
85790 Dust dust = Main.dust[
num745];
85791 dust.velocity *= 2f;
85792 Main.dust[
num745].noGravity =
true;
85793 Main.dust[
num745].scale = 1.4f;
85794 }
85795 }
85796 else
85797 {
85799 {
85801 Dust dust = Main.dust[
num747];
85802 dust.velocity *= 2f;
85803 Main.dust[
num747].noGravity =
true;
85804 Main.dust[
num747].scale = 1.4f;
85805 }
85806 }
85807 }
85808 else if (
type == 315)
85809 {
85811 {
85813 {
85815 Dust dust = Main.dust[
num749];
85816 dust.velocity *= 2f;
85817 Main.dust[
num749].noGravity =
true;
85818 }
85819 return;
85820 }
85822 {
85824 Dust dust = Main.dust[
num751];
85825 dust.velocity *= 2f;
85826 Main.dust[
num751].noGravity =
true;
85827 }
85830 gore2.velocity *= 0.3f;
85833 gore2.velocity *= 0.3f;
85836 gore2.velocity *= 0.3f;
85839 gore2.velocity *= 0.1f;
85840 }
85842 {
85844 {
85846 {
85848 Dust dust = Main.dust[
num754];
85849 dust.velocity *= 2f;
85850 Main.dust[
num754].noGravity =
true;
85851 }
85852 return;
85853 }
85855 {
85857 Dust dust = Main.dust[
num756];
85858 dust.velocity *= 2f;
85859 Main.dust[
num756].noGravity =
true;
85860 }
85862 {
85865 gore2.velocity *= 0.3f;
85868 gore2.velocity *= 0.3f;
85871 gore2.velocity *= 0.3f;
85872 }
85873 }
85874 else if (
type == 140)
85875 {
85877 {
85879 {
85881 Dust dust = Main.dust[
num759];
85882 dust.velocity *= 2f;
85883 Main.dust[
num759].noGravity =
true;
85884 }
85887 gore2.velocity *= 0.3f;
85890 gore2.velocity *= 0.3f;
85893 gore2.velocity *= 0.3f;
85894 }
85895 }
85897 {
85899 {
85901 {
85903 }
85904 return;
85905 }
85907 {
85909 }
85911 }
85912 else if (
type == 34)
85913 {
85915 {
85917 {
85919 Main.dust[
num764].noLight =
true;
85920 Main.dust[
num764].noGravity =
true;
85921 Dust dust = Main.dust[
num764];
85922 dust.velocity *= 1.3f;
85924 Main.dust[
num764].noLight =
true;
85925 dust = Main.dust[
num764];
85926 dust.velocity *= 1.3f;
85927 }
85928 }
85929 else
85930 {
85932 {
85934 Main.dust[
num766].noLight =
true;
85935 Main.dust[
num766].noGravity =
true;
85936 Dust dust = Main.dust[
num766];
85937 dust.velocity *= 1.3f;
85939 Main.dust[
num766].noLight =
true;
85940 dust = Main.dust[
num766];
85941 dust.velocity *= 1.3f;
85942 }
85943 }
85944 }
85945 else if (
type == 289)
85946 {
85948 {
85950 {
85952 Main.dust[
num768].noLight =
true;
85953 Main.dust[
num768].noGravity =
true;
85954 Dust dust = Main.dust[
num768];
85955 dust.velocity *= 1.3f;
85956 }
85957 }
85958 else
85959 {
85961 {
85963 Main.dust[
num770].noLight =
true;
85964 Main.dust[
num770].noGravity =
true;
85965 Dust dust = Main.dust[
num770];
85966 dust.velocity *= 1.3f;
85967 }
85968 }
85969 }
85970 else if (
type == 35 ||
type == 36)
85971 {
85973 {
85975 {
85977 }
85978 return;
85979 }
85981 {
85983 }
85985 {
85988 return;
85989 }
85994 }
85995 else if (
type == 139)
85996 {
85998 {
86000 {
86002 Dust dust = Main.dust[
num774];
86003 dust.velocity *= 1.4f;
86004 }
86006 {
86008 Main.dust[
num776].noGravity =
true;
86009 Dust dust = Main.dust[
num776];
86010 dust.velocity *= 5f;
86012 dust = Main.dust[
num776];
86013 dust.velocity *= 3f;
86014 }
86017 gore2.velocity *= 0.4f;
86018 Main.gore[
num777].velocity.X += 1f;
86019 Main.gore[
num777].velocity.Y += 1f;
86022 gore2.velocity *= 0.4f;
86023 Main.gore[
num777].velocity.X -= 1f;
86024 Main.gore[
num777].velocity.Y += 1f;
86027 gore2.velocity *= 0.4f;
86028 Main.gore[
num777].velocity.X += 1f;
86029 Main.gore[
num777].velocity.Y -= 1f;
86032 gore2.velocity *= 0.4f;
86033 Main.gore[
num777].velocity.X -= 1f;
86034 Main.gore[
num777].velocity.Y -= 1f;
86035 }
86036 }
86037 else if (
type == 467)
86038 {
86040 {
86042 {
86044 Dust dust = Main.dust[
num779];
86045 dust.velocity *= 1.4f;
86046 }
86048 {
86050 Main.dust[
num781].noGravity =
true;
86051 Dust dust = Main.dust[
num781];
86052 dust.velocity *= 5f;
86054 dust = Main.dust[
num781];
86055 dust.velocity *= 3f;
86056 }
86059 }
86060 }
86061 else if (
type >= 134 &&
type <= 136)
86062 {
86063 if (
type == 135 &&
life > 0 && Main.netMode != 1)
86064 {
86067 {
86069 }
86070 if (
ai[2] == 0f && Main.rand.Next(
maxValue) == 0)
86071 {
86074 if (Main.netMode == 2 &&
num782 < 200)
86075 {
86076 NetMessage.SendData(23, -1, -1,
null,
num782);
86077 }
86079 }
86080 }
86082 {
86083 return;
86084 }
86086 if (Main.rand.Next(2) == 0)
86087 {
86089 {
86091 Dust dust = Main.dust[
num784];
86092 dust.velocity *= 1.4f;
86093 }
86095 {
86097 Main.dust[
num786].noGravity =
true;
86098 Dust dust = Main.dust[
num786];
86099 dust.velocity *= 5f;
86101 dust = Main.dust[
num786];
86102 dust.velocity *= 3f;
86103 }
86106 gore2.velocity *= 0.4f;
86107 Main.gore[
num787].velocity.X += 1f;
86108 Main.gore[
num787].velocity.Y += 1f;
86111 gore2.velocity *= 0.4f;
86112 Main.gore[
num787].velocity.X -= 1f;
86113 Main.gore[
num787].velocity.Y += 1f;
86116 gore2.velocity *= 0.4f;
86117 Main.gore[
num787].velocity.X += 1f;
86118 Main.gore[
num787].velocity.Y -= 1f;
86121 gore2.velocity *= 0.4f;
86122 Main.gore[
num787].velocity.X -= 1f;
86123 Main.gore[
num787].velocity.Y -= 1f;
86124 }
86125 }
86126 else if (
type == 347)
86127 {
86129 {
86135 {
86137 Dust dust = Main.dust[
num789];
86138 dust.velocity *= 1.4f;
86139 }
86141 {
86143 Main.dust[
num791].noGravity =
true;
86144 Dust dust = Main.dust[
num791];
86145 dust.velocity *= 5f;
86147 dust = Main.dust[
num791];
86148 dust.velocity *= 3f;
86149 }
86152 gore2.velocity *= 0.4f;
86153 Main.gore[
num792].velocity.X += 1f;
86154 Main.gore[
num792].velocity.Y += 1f;
86157 gore2.velocity *= 0.4f;
86158 Main.gore[
num792].velocity.X -= 1f;
86159 Main.gore[
num792].velocity.Y -= 1f;
86160 }
86161 }
86162 else if (
type == 346)
86163 {
86165 {
86173 {
86175 Dust dust = Main.dust[
num794];
86176 dust.velocity *= 1.4f;
86177 }
86179 {
86181 Main.dust[
num796].noGravity =
true;
86182 Dust dust = Main.dust[
num796];
86183 dust.velocity *= 5f;
86185 dust = Main.dust[
num796];
86186 dust.velocity *= 3f;
86187 }
86190 gore2.velocity *= 0.4f;
86191 Main.gore[
num797].velocity.X += 1f;
86192 Main.gore[
num797].velocity.Y += 1f;
86195 gore2.velocity *= 0.4f;
86196 Main.gore[
num797].velocity.X -= 1f;
86197 Main.gore[
num797].velocity.Y += 1f;
86200 gore2.velocity *= 0.4f;
86201 Main.gore[
num797].velocity.X += 1f;
86202 Main.gore[
num797].velocity.Y -= 1f;
86205 gore2.velocity *= 0.4f;
86206 Main.gore[
num797].velocity.X -= 1f;
86207 Main.gore[
num797].velocity.Y -= 1f;
86208 }
86209 }
86210 else if (
type == 127)
86211 {
86213 {
86217 {
86219 Dust dust = Main.dust[
num799];
86220 dust.velocity *= 1.4f;
86221 }
86223 {
86225 Main.dust[
num801].noGravity =
true;
86226 Dust dust = Main.dust[
num801];
86227 dust.velocity *= 5f;
86229 dust = Main.dust[
num801];
86230 dust.velocity *= 3f;
86231 }
86234 gore2.velocity *= 0.4f;
86235 Main.gore[
num802].velocity.X += 1f;
86236 Main.gore[
num802].velocity.Y += 1f;
86239 gore2.velocity *= 0.4f;
86240 Main.gore[
num802].velocity.X -= 1f;
86241 Main.gore[
num802].velocity.Y += 1f;
86244 gore2.velocity *= 0.4f;
86245 Main.gore[
num802].velocity.X += 1f;
86246 Main.gore[
num802].velocity.Y -= 1f;
86249 gore2.velocity *= 0.4f;
86250 Main.gore[
num802].velocity.X -= 1f;
86251 Main.gore[
num802].velocity.Y -= 1f;
86252 }
86253 }
86254 else if (
type >= 128 &&
type <= 131)
86255 {
86257 {
86261 {
86263 Dust dust = Main.dust[
num804];
86264 dust.velocity *= 1.4f;
86265 }
86267 {
86269 Main.dust[
num806].noGravity =
true;
86270 Dust dust = Main.dust[
num806];
86271 dust.velocity *= 5f;
86273 dust = Main.dust[
num806];
86274 dust.velocity *= 3f;
86275 }
86278 gore2.velocity *= 0.4f;
86279 Main.gore[
num807].velocity.X += 1f;
86280 Main.gore[
num807].velocity.Y += 1f;
86283 gore2.velocity *= 0.4f;
86284 Main.gore[
num807].velocity.X -= 1f;
86285 Main.gore[
num807].velocity.Y += 1f;
86288 gore2.velocity *= 0.4f;
86289 Main.gore[
num807].velocity.X += 1f;
86290 Main.gore[
num807].velocity.Y -= 1f;
86293 gore2.velocity *= 0.4f;
86294 Main.gore[
num807].velocity.X -= 1f;
86295 Main.gore[
num807].velocity.Y -= 1f;
86296 }
86297 }
86298 else if (
type == 23)
86299 {
86301 {
86303 {
86305 if (Main.rand.Next(2) == 0)
86306 {
86308 }
86311 Main.dust[
num810].noGravity =
true;
86312 }
86313 return;
86314 }
86316 {
86318 if (Main.rand.Next(2) == 0)
86319 {
86321 }
86323 }
86325 {
86327 Dust dust = Main.dust[
num814];
86328 dust.velocity *= 6f;
86329 Main.dust[
num814].noGravity =
true;
86330 }
86331 }
86332 else if (
type == 24)
86333 {
86335 {
86337 {
86339 Main.dust[
num816].noGravity =
true;
86340 }
86341 return;
86342 }
86344 {
86346 Main.dust[
num818].noGravity =
true;
86347 Dust dust = Main.dust[
num818];
86348 dust.velocity *= 2f;
86349 }
86355 }
86356 else if (
type == 25)
86357 {
86360 {
86362 Main.dust[
num820].noGravity =
true;
86363 Dust dust = Main.dust[
num820];
86364 dust.velocity *= 2f;
86366 dust = Main.dust[
num820];
86367 dust.velocity *= 2f;
86368 }
86369 }
86370 else if (
type == 33)
86371 {
86374 {
86376 Main.dust[
num822].noGravity =
true;
86377 Dust dust = Main.dust[
num822];
86378 dust.velocity *= 2f;
86380 dust = Main.dust[
num822];
86381 dust.velocity *= 2f;
86382 }
86383 }
86385 {
86387 {
86389 {
86391 }
86392 return;
86393 }
86395 {
86397 }
86402 {
86406 }
86407 else if (
type == 26)
86408 {
86412 }
86413 else if (
type == 73)
86414 {
86418 }
86419 else if (
type == 27)
86420 {
86424 }
86425 else if (
type == 28)
86426 {
86430 }
86435 {
86437 }
86440 }
86441 else if (
type == 471)
86442 {
86444 {
86446 {
86448 }
86449 return;
86450 }
86452 {
86454 }
86460 }
86461 else if (
type == 472)
86462 {
86464 {
86466 {
86468 if (Main.rand.Next(3) != 0)
86469 {
86470 Main.dust[
num831].noGravity =
true;
86471 }
86472 Main.dust[
num831].alpha = 100;
86473 }
86474 return;
86475 }
86477 {
86479 if (Main.rand.Next(3) != 0)
86480 {
86481 Main.dust[
num833].noGravity =
true;
86482 }
86483 Main.dust[
num833].alpha = 100;
86484 }
86487 }
86488 else if (
type == 480)
86489 {
86491 {
86493 {
86495 }
86496 return;
86497 }
86499 {
86501 }
86507 }
86508 else if (
type == 185)
86509 {
86511 {
86513 {
86515 }
86516 return;
86517 }
86519 {
86521 }
86523 }
86524 else if (
type == 30 ||
type == 665)
86525 {
86528 {
86530 Main.dust[
num839].noGravity =
true;
86531 Dust dust = Main.dust[
num839];
86532 dust.velocity *= 2f;
86534 dust = Main.dust[
num839];
86535 dust.velocity *= 2f;
86536 }
86537 }
86539 {
86541 {
86543 {
86545 }
86546 return;
86547 }
86549 {
86551 }
86553 {
86558 }
86559 else if (
type == 176)
86560 {
86563 }
86564 else
86565 {
86568 }
86569 }
86570 else if (
type == 43 ||
type == 56)
86571 {
86573 {
86575 {
86577 }
86578 return;
86579 }
86581 {
86583 }
86586 }
86587 else if (
type == 175)
86588 {
86590 {
86592 {
86594 }
86595 return;
86596 }
86598 {
86600 }
86603 }
86604 else if (
type == 48)
86605 {
86607 {
86609 {
86611 }
86612 return;
86613 }
86615 {
86617 }
86620 }
86621 else if (
type == 62 ||
type == 66)
86622 {
86624 {
86626 {
86628 }
86629 return;
86630 }
86632 {
86634 }
86638 }
86639 else
86640 {
86642 {
86643 return;
86644 }
86646 {
86648 {
86650 }
86651 return;
86652 }
86654 {
86656 }
86660 }
86661 }
86662 }
static double Abs(double value)
static void PlaySound(int type, Vector2 position, int style=1)
static ActiveSound GetActiveSound(SlotId id)
float Distance(Vector2 Other)
static void RequestParticleSpawn(bool clientOnly, ParticleOrchestraType type, ParticleOrchestraSettings settings, int? overrideInvokingPlayerIndex=null)
static void CheckProgress(int slainMonsterID)
static void ThrowPieces(Vector2 MoonlordCoreCenter, int DramaSeed)
static readonly LegacySoundStyle Item10
static int CountNPCS(int Type)
static bool unlockedSlimePurpleSpawn
IEntitySource GetSpawnSource_NPCHurt()
static Color AI_121_QueenSlime_GetDustColor()
static bool IsMechQueenUp
static int NewNPC(IEntitySource source, int X, int Y, int Type, int Start=0, float ai0=0f, float ai1=0f, float ai2=0f, float ai3=0f, int Target=255)
void Transform(int newType)
IEntitySource GetSpawnSource_ForProjectile()
PartyHatColor GetPartyHatColor()
NPC AI_113_WindyBalloon_GetSlaveNPC()
static Color LightSeaGreen
static Color Lerp(Color value1, Color value2, float amount)
static Matrix CreateRotationZ(float radians)
static Vector2 Transform(Vector2 position, Matrix matrix)
static Vector2 Lerp(Vector2 value1, Vector2 value2, float amount)
static SlotId FromFloat(float value)