63284 {
63285
63286
63287
63288
63289
63290
63291
63292
63293
63294
63295
63296
63297
63298
63299
63300
63301
63302
63303
63304
63305
63306
63307
63308
63309
63310
63311
63312
63313
63314
63315
63316
63317
63318
63319
63320
63321
63322
63323
63324
63325
63326
63327
63328
63329
63330
63331
63332
63333
63334
63335
63336
63337
63338
63339
63340
63341
63342
63343
63344
63345
63346
63347
63348
63349
63350
63351
63352
63353
63354
63355
63356
63357
63358
63359
63360
63361
63362
63363
63364
63365
63366
63367
63368
63369
63370
63371
63372
63373
63374
63375
63376
63377
63378
63379
63380
63381
63382
63383
63384
63385
63386
63387
63388
63389
63390
63391
63392
63393
63394
63395
63396
63397
63398
63399
63400
63401
63402
63403
63404
63405
63406
63407
63408
63409
63410
63411
63412
63413
63414
63415
63416
63417
63418
63419
63420
63421
63422
63423
63424
63425
63426
63427
63428
63429
63430
63431
63432
63433
63434
63435
63436
63437
63438
63439
63440
63441
63442
63443
63444
63445
63446
63447
63448
63449
63450
63451
63452
63453
63454
63455
63456
63457
63458
63459
63460
63461
63462
63463
63464
63465
63466
63467
63468
63469
63470
63471
63472
63473
63474
63475
63476
63477
63478
63479
63480
63481
63482
63483
63484
63485
63486
63487
63488
63489
63490
63491
63492
63493
63494
63495
63496
63497
63498
63499
63500
63501
63502
63503
63504
63505
63506
63507
63508
63509
63510
63511
63512
63513
63514
63515
63516
63517
63518
63519
63520
63521
63522
63523
63524
63525
63526
63527
63528
63529
63530
63531
63532
63533
63534
63535
63536
63537
63538
63539
63540
63541
63542
63543
63544
63545
63546
63547
63548
63549
63550
63551
63552
63553
63554
63555
63556
63557
63558
63559
63560
63561
63562
63563
63564
63565
63566
63567
63568
63569
63570
63571
63572
63573
63574
63575
63576
63577
63578
63579
63580
63581
63582
63583
63584
63585
63586
63587
63588
63589
63590
63591
63592
63593
63594
63595
63596
63597
63598
63599
63600
63601
63602
63603
63604
63605
63606
63607
63608
63609
63610
63611
63612
63613
63614
63615
63616
63617
63618
63619
63620
63621
63622
63623
63624
63625
63626
63627
63628
63629
63630
63631
63632
63633
63634
63635
63636
63637
63638
63639
63640
63641
63642
63643
63644
63645
63646
63647
63648
63649
63650
63651
63652
63653
63654
63655
63656
63657
63658
63659
63660
63661
63662
63663
63664
63665
63666
63667
63668
63669
63670
63671
63672
63673
63674
63675
63676
63677
63678
63679
63680
63681
63682
63683
63684
63685
63686
63687
63688
63689
63690
63691
63692
63693
63694
63695
63696
63697
63698
63699
63700
63701
63702
63703
63704
63705
63706
63707
63708
63709
63710
63711
63712
63713
63714
63715
63716
63717
63718
63719
63720
63721
63722
63723
63724
63725
63726
63727
63728
63729
63730
63731
63732
63733
63734
63735
63736
63737
63738
63739
63740
63741
63742
63743
63744
63745
63746
63747
63748
63749
63750
63751
63752
63753
63754
63755
63756
63757
63758
63759
63760
63761
63762
63763
63764
63765
63766 if (!Main.player[
owner].active)
63767 {
63769 return;
63770 }
63772 bool flag9 =
false;
63779 {
63781 }
63783 {
63785 }
63787 {
63789 }
63791 {
63792 case 816:
63793 case 821:
63794 case 825:
63795 case 854:
63796 case 858:
63797 case 859:
63798 case 860:
63799 case 885:
63800 case 889:
63801 case 891:
63802 case 897:
63803 case 899:
63804 case 900:
63805 case 934:
63807 break;
63808 case 884:
63809 case 890:
63811 break;
63812 case 881:
63814 if (Main.player[
owner].ownedProjectileCounts[881] > 0)
63815 {
63817 }
63818 break;
63819 }
63821 {
63822 Main.CurrentFrameFlags.HadAnActiveInteractibleProjectile = true;
63824 }
63826 {
63828 {
63831 }
63833 }
63834 else if (
type == 266)
63835 {
63837 }
63842 {
63843 if (Main.player[
owner].dead)
63844 {
63845 Main.player[
owner].bunny =
false;
63846 }
63847 if (Main.player[
owner].bunny)
63848 {
63850 }
63851 }
63853 {
63854 if (Main.player[
owner].dead)
63855 {
63856 Main.player[
owner].penguin =
false;
63857 }
63858 if (Main.player[
owner].penguin)
63859 {
63861 }
63862 }
63864 {
63865 if (Main.player[
owner].dead)
63866 {
63867 Main.player[
owner].puppy =
false;
63868 }
63869 if (Main.player[
owner].puppy)
63870 {
63872 }
63873 }
63875 {
63876 if (Main.player[
owner].dead)
63877 {
63878 Main.player[
owner].grinch =
false;
63879 }
63880 if (Main.player[
owner].grinch)
63881 {
63883 }
63884 }
63886 {
63887 if (Main.player[
owner].dead)
63888 {
63889 Main.player[
owner].turtle =
false;
63890 }
63891 if (Main.player[
owner].turtle)
63892 {
63894 }
63895 }
63897 {
63898 if (Main.player[
owner].dead)
63899 {
63900 Main.player[
owner].eater =
false;
63901 }
63902 if (Main.player[
owner].eater)
63903 {
63905 }
63906 }
63908 {
63909 if (Main.player[
owner].dead)
63910 {
63911 Main.player[
owner].skeletron =
false;
63912 }
63913 if (Main.player[
owner].skeletron)
63914 {
63916 }
63917 }
63919 {
63920 if (Main.player[
owner].dead)
63921 {
63922 Main.player[
owner].hornet =
false;
63923 }
63924 if (Main.player[
owner].hornet)
63925 {
63927 }
63928 }
63930 {
63931 if (Main.player[
owner].dead)
63932 {
63933 Main.player[
owner].tiki =
false;
63934 }
63935 if (Main.player[
owner].tiki)
63936 {
63938 }
63939 }
63941 {
63942 if (Main.player[
owner].dead)
63943 {
63944 Main.player[
owner].lizard =
false;
63945 }
63946 if (Main.player[
owner].lizard)
63947 {
63949 }
63950 }
63952 {
63953 if (Main.player[
owner].dead)
63954 {
63955 Main.player[
owner].parrot =
false;
63956 }
63957 if (Main.player[
owner].parrot)
63958 {
63960 }
63961 }
63963 {
63964 if (Main.player[
owner].dead)
63965 {
63966 Main.player[
owner].truffle =
false;
63967 }
63968 if (Main.player[
owner].truffle)
63969 {
63971 }
63972 }
63974 {
63975 if (Main.player[
owner].dead)
63976 {
63977 Main.player[
owner].sapling =
false;
63978 }
63979 if (Main.player[
owner].sapling)
63980 {
63982 }
63983 }
63985 {
63986 if (Main.player[
owner].dead)
63987 {
63988 Main.player[
owner].cSapling =
false;
63989 }
63990 if (Main.player[
owner].cSapling)
63991 {
63993 }
63994 }
63996 {
63997 if (Main.player[
owner].dead)
63998 {
63999 Main.player[
owner].spider =
false;
64000 }
64001 if (Main.player[
owner].spider)
64002 {
64004 }
64005 }
64007 {
64008 if (Main.player[
owner].dead)
64009 {
64010 Main.player[
owner].squashling =
false;
64011 }
64012 if (Main.player[
owner].squashling)
64013 {
64015 }
64016 }
64018 {
64019 if (Main.player[
owner].dead)
64020 {
64021 Main.player[
owner].wisp =
false;
64022 }
64023 if (Main.player[
owner].wisp)
64024 {
64026 }
64027 }
64029 {
64030 if (Main.player[
owner].dead)
64031 {
64032 Main.player[
owner].dino =
false;
64033 }
64034 if (Main.player[
owner].dino)
64035 {
64037 }
64038 }
64040 {
64041 if (Main.player[
owner].dead)
64042 {
64043 Main.player[
owner].babyFaceMonster =
false;
64044 }
64045 if (Main.player[
owner].babyFaceMonster)
64046 {
64048 }
64049 }
64051 {
64052 if (Main.player[
owner].dead)
64053 {
64054 Main.player[
owner].petFlagSugarGlider =
false;
64055 }
64056 if (Main.player[
owner].petFlagSugarGlider)
64057 {
64059 }
64060 }
64062 {
64063 if (Main.player[
owner].dead)
64064 {
64065 Main.player[
owner].slime =
false;
64066 }
64067 if (Main.player[
owner].slime)
64068 {
64070 }
64071 }
64073 {
64074 if (Main.player[
owner].dead)
64075 {
64076 Main.player[
owner].eyeSpring =
false;
64077 }
64078 if (Main.player[
owner].eyeSpring)
64079 {
64081 }
64082 }
64084 {
64085 if (Main.player[
owner].dead)
64086 {
64087 Main.player[
owner].snowman =
false;
64088 }
64089 if (Main.player[
owner].snowman)
64090 {
64092 }
64093 }
64095 {
64096 if (Main.player[
owner].dead)
64097 {
64098 Main.player[
owner].blackCat =
false;
64099 }
64100 if (Main.player[
owner].blackCat)
64101 {
64103 }
64104 }
64106 {
64107 if (Main.player[
owner].dead)
64108 {
64109 Main.player[
owner].zephyrfish =
false;
64110 }
64111 if (Main.player[
owner].zephyrfish)
64112 {
64114 }
64115 }
64117 {
64118 if (Main.player[
owner].dead)
64119 {
64120 Main.player[
owner].petFlagBabyShark =
false;
64121 }
64122 if (Main.player[
owner].petFlagBabyShark)
64123 {
64125 }
64126 }
64128 {
64129 if (Main.player[
owner].dead)
64130 {
64131 Main.player[
owner].petFlagLilHarpy =
false;
64132 }
64133 if (Main.player[
owner].petFlagLilHarpy)
64134 {
64136 }
64137 }
64139 {
64140 if (Main.player[
owner].dead)
64141 {
64142 Main.player[
owner].petFlagFennecFox =
false;
64143 }
64144 if (Main.player[
owner].petFlagFennecFox)
64145 {
64147 }
64148 }
64150 {
64151 if (Main.player[
owner].dead)
64152 {
64153 Main.player[
owner].petFlagGlitteryButterfly =
false;
64154 }
64155 if (Main.player[
owner].petFlagGlitteryButterfly)
64156 {
64158 }
64159 }
64161 {
64162 if (Main.player[
owner].dead)
64163 {
64164 Main.player[
owner].petFlagBabyImp =
false;
64165 }
64166 if (Main.player[
owner].petFlagBabyImp)
64167 {
64169 }
64170 }
64172 {
64173 if (Main.player[
owner].dead)
64174 {
64175 Main.player[
owner].petFlagBabyRedPanda =
false;
64176 }
64177 if (Main.player[
owner].petFlagBabyRedPanda)
64178 {
64180 }
64181 }
64183 {
64184 if (Main.player[
owner].dead)
64185 {
64186 Main.player[
owner].petFlagPlantero =
false;
64187 }
64188 if (Main.player[
owner].petFlagPlantero)
64189 {
64191 }
64192 }
64194 {
64195 if (Main.player[
owner].dead)
64196 {
64197 Main.player[
owner].petFlagDynamiteKitten =
false;
64198 }
64199 if (Main.player[
owner].petFlagDynamiteKitten)
64200 {
64202 }
64203 }
64205 {
64206 if (Main.player[
owner].dead)
64207 {
64208 Main.player[
owner].petFlagBabyWerewolf =
false;
64209 }
64210 if (Main.player[
owner].petFlagBabyWerewolf)
64211 {
64213 }
64214 }
64216 {
64217 if (Main.player[
owner].dead)
64218 {
64219 Main.player[
owner].petFlagShadowMimic =
false;
64220 }
64221 if (Main.player[
owner].petFlagShadowMimic)
64222 {
64224 }
64225 }
64227 {
64228 if (Main.player[
owner].dead)
64229 {
64230 Main.player[
owner].petFlagVoltBunny =
false;
64231 }
64232 if (Main.player[
owner].petFlagVoltBunny)
64233 {
64235 }
64236 }
64238 {
64239 if (Main.player[
owner].dead)
64240 {
64241 Main.player[
owner].petFlagKingSlimePet =
false;
64242 }
64243 if (Main.player[
owner].petFlagKingSlimePet)
64244 {
64246 }
64247 }
64249 {
64250 if (Main.player[
owner].dead)
64251 {
64252 Main.player[
owner].petFlagBrainOfCthulhuPet =
false;
64253 }
64254 if (Main.player[
owner].petFlagBrainOfCthulhuPet)
64255 {
64257 }
64258 }
64260 {
64261 if (Main.player[
owner].dead)
64262 {
64263 Main.player[
owner].petFlagSkeletronPet =
false;
64264 }
64265 if (Main.player[
owner].petFlagSkeletronPet)
64266 {
64268 }
64269 }
64271 {
64272 if (Main.player[
owner].dead)
64273 {
64274 Main.player[
owner].petFlagQueenBeePet =
false;
64275 }
64276 if (Main.player[
owner].petFlagQueenBeePet)
64277 {
64279 }
64280 }
64282 {
64283 if (Main.player[
owner].dead)
64284 {
64285 Main.player[
owner].petFlagSkeletronPrimePet =
false;
64286 }
64287 if (Main.player[
owner].petFlagSkeletronPrimePet)
64288 {
64290 }
64291 }
64293 {
64294 if (Main.player[
owner].dead)
64295 {
64296 Main.player[
owner].petFlagPlanteraPet =
false;
64297 }
64298 if (Main.player[
owner].petFlagPlanteraPet)
64299 {
64301 }
64302 }
64304 {
64305 if (Main.player[
owner].dead)
64306 {
64307 Main.player[
owner].petFlagGolemPet =
false;
64308 }
64309 if (Main.player[
owner].petFlagGolemPet)
64310 {
64312 }
64313 }
64315 {
64316 if (Main.player[
owner].dead)
64317 {
64318 Main.player[
owner].petFlagDukeFishronPet =
false;
64319 }
64320 if (Main.player[
owner].petFlagDukeFishronPet)
64321 {
64323 }
64324 }
64326 {
64327 if (Main.player[
owner].dead)
64328 {
64329 Main.player[
owner].petFlagMoonLordPet =
false;
64330 }
64331 if (Main.player[
owner].petFlagMoonLordPet)
64332 {
64334 }
64335 }
64337 {
64338 if (Main.player[
owner].dead)
64339 {
64340 Main.player[
owner].petFlagEverscreamPet =
false;
64341 }
64342 if (Main.player[
owner].petFlagEverscreamPet)
64343 {
64345 }
64346 }
64348 {
64349 if (Main.player[
owner].dead)
64350 {
64351 Main.player[
owner].petFlagMartianPet =
false;
64352 }
64353 if (Main.player[
owner].petFlagMartianPet)
64354 {
64356 }
64357 }
64359 {
64360 if (Main.player[
owner].dead)
64361 {
64362 Main.player[
owner].petFlagDD2OgrePet =
false;
64363 }
64364 if (Main.player[
owner].petFlagDD2OgrePet)
64365 {
64367 }
64368 }
64370 {
64371 if (Main.player[
owner].dead)
64372 {
64373 Main.player[
owner].petFlagDD2BetsyPet =
false;
64374 }
64375 if (Main.player[
owner].petFlagDD2BetsyPet)
64376 {
64378 }
64379 }
64381 {
64382 if (Main.player[
owner].dead)
64383 {
64384 Main.player[
owner].petFlagQueenSlimePet =
false;
64385 }
64386 if (Main.player[
owner].petFlagQueenSlimePet)
64387 {
64389 }
64390 }
64392 {
64393 if (Main.player[
owner].dead)
64394 {
64395 Main.player[
owner].petFlagBerniePet =
false;
64396 }
64397 if (Main.player[
owner].petFlagBerniePet)
64398 {
64400 }
64401 }
64403 {
64404 if (Main.player[
owner].dead)
64405 {
64406 Main.player[
owner].petFlagDeerclopsPet =
false;
64407 }
64408 if (Main.player[
owner].petFlagDeerclopsPet)
64409 {
64411 }
64412 }
64414 {
64415 if (Main.player[
owner].dead)
64416 {
64417 Main.player[
owner].petFlagPigPet =
false;
64418 }
64419 if (Main.player[
owner].petFlagPigPet)
64420 {
64422 }
64423 }
64425 {
64426 if (Main.player[
owner].dead)
64427 {
64428 Main.player[
owner].petFlagChesterPet =
false;
64429 }
64430 if (Main.player[
owner].petFlagChesterPet)
64431 {
64433 }
64434 }
64436 {
64437 if (Main.player[
owner].dead)
64438 {
64439 Main.player[
owner].petFlagJunimoPet =
false;
64440 }
64441 if (Main.player[
owner].petFlagJunimoPet)
64442 {
64444 }
64445 }
64447 {
64448 if (Main.player[
owner].dead)
64449 {
64450 Main.player[
owner].petFlagBlueChickenPet =
false;
64451 }
64452 if (Main.player[
owner].petFlagBlueChickenPet)
64453 {
64455 }
64456 }
64458 {
64459 if (Main.player[
owner].dead)
64460 {
64461 Main.player[
owner].petFlagSpiffo =
false;
64462 }
64463 if (Main.player[
owner].petFlagSpiffo)
64464 {
64466 }
64467 }
64469 {
64470 if (Main.player[
owner].dead)
64471 {
64472 Main.player[
owner].petFlagCaveling =
false;
64473 }
64474 if (Main.player[
owner].petFlagCaveling)
64475 {
64477 }
64478 }
64480 {
64481 if (Main.player[
owner].dead)
64482 {
64483 Main.player[
owner].pygmy =
false;
64484 }
64485 if (Main.player[
owner].pygmy)
64486 {
64488 }
64489 }
64491 {
64492 if (Main.player[
owner].dead)
64493 {
64494 Main.player[
owner].spiderMinion =
false;
64495 }
64496 if (Main.player[
owner].spiderMinion)
64497 {
64499 }
64500 }
64502 {
64503 if (Main.player[
owner].dead)
64504 {
64505 Main.player[
owner].miniMinotaur =
false;
64506 }
64507 if (Main.player[
owner].miniMinotaur)
64508 {
64510 }
64511 }
64513 {
64515 }
64517 {
64521 {
64523 }
64525 {
64527 }
64528 }
64529 else if (
type == 891)
64530 {
64532 float num138 = -50 * -Main.player[
owner].direction;
64535 {
64537 }
64539 {
64541 }
64542 }
64544 {
64547 int num160 = ((player.Center.X - base.Center.X > 0
f) ? 1 : (-1));
64548 if (player.velocity.X != 0
f)
64549 {
64550 num160 = player.direction;
64551 }
64555 {
64557 }
64559 {
64561 }
64562 }
64563 else if (Main.player[
owner].position.X + (
float)(Main.player[
owner].width / 2) <
position.X + (
float)(
width / 2) - (
float)
num)
64564 {
64566 }
64567 else if (Main.player[
owner].position.X + (
float)(Main.player[
owner].width / 2) >
position.X + (
float)(
width / 2) + (
float)
num)
64568 {
64570 }
64572 {
64576 }
64578 {
64581 }
64583 {
64587 Vector2
vector =
default(Vector2);
64592 {
64594 }
64600 {
64603 {
64605 }
64606 }
64608 {
64610 {
64612 }
64615 {
64617 }
64619 {
64621 }
64623 {
64625 }
64627 {
64629 }
64630 }
64631 else
64632 {
64634 {
64636 }
64640 }
64642 {
64644 for (int i = 0; i < 12; i++)
64645 {
64646 float speedX = 1
f - Main.rand.NextFloat() * 2
f;
64647 float speedY = 1
f - Main.rand.NextFloat() * 2
f;
64649 Main.dust[
num89].noLightEmittence =
true;
64650 Main.dust[
num89].noGravity =
true;
64651 }
64652 base.Center = Main.player[
owner].Center;
64654 if (Main.myPlayer ==
owner)
64655 {
64657 }
64658 }
64660 {
64662 {
64665 {
64667 }
64668 }
64670 {
64673 {
64675 }
64676 }
64677 }
64679 {
64681 {
64684 {
64686 }
64687 }
64689 {
64692 {
64694 }
64695 }
64696 }
64700 {
64703 }
64705 {
64707 }
64708 return;
64709 }
64711 {
64715 Vector2
vector7 =
default(Vector2);
64720 {
64722 }
64726 {
64728 }
64730 {
64732 }
64736 {
64739 {
64741 }
64742 }
64744 {
64746 {
64748 }
64751 {
64753 }
64755 {
64757 }
64759 {
64761 }
64763 {
64765 }
64766 }
64767 else
64768 {
64770 {
64772 }
64776 }
64778 {
64780 for (
int j = 0;
j < 12;
j++)
64781 {
64782 float speedX2 = 1
f - Main.rand.NextFloat() * 2
f;
64783 float speedY2 = 1
f - Main.rand.NextFloat() * 2
f;
64785 Main.dust[
num125].noLightEmittence =
true;
64786 Main.dust[
num125].noGravity =
true;
64787 }
64788 base.Center = Main.player[
owner].Center;
64790 if (Main.myPlayer ==
owner)
64791 {
64793 }
64794 }
64796 {
64799 {
64801 }
64802 }
64804 {
64807 {
64809 }
64810 }
64812 {
64815 {
64817 }
64818 }
64820 {
64823 {
64825 }
64826 }
64827 localAI[0] += Main.rand.Next(10);
64829 {
64831 {
64833 {
64835 }
64836 else
64837 {
64839 }
64840 }
64843 {
64845 }
64846 }
64847 else
64848 {
64850 float num126 = velocity.X * 0.1f;
64852 {
64855 {
64857 }
64858 }
64860 {
64863 {
64865 }
64866 }
64867 }
64869 {
64871 }
64873 {
64875 }
64876 return;
64877 }
64880 {
64883 {
64885 }
64887 {
64889 }
64897 Vector2
vector8 =
default(Vector2);
64902 {
64904 float num136 = (float)
Math.Sin((
float)Math.PI * 2
f * ((float)Main.player[
owner].miscCounter / 60
f));
64908 {
64911 }
64913 num134 += (float)(70 * -Main.player[
owner].direction);
64914 }
64915 else
64916 {
64918 {
64919 num135 += (float)Main.rand.Next(-10, 21);
64920 num134 += (float)Main.rand.Next(-10, 21);
64921 }
64922 num134 += (float)(60 * -Main.player[
owner].direction);
64924 }
64925 Vector2
vector9 =
default(Vector2);
64928 {
64930 }
64935 {
64937 }
64939 {
64941 }
64943 {
64945 {
64947 }
64949 }
64951 {
64953 }
64955 {
64958 {
64960 }
64961 }
64963 {
64965 {
64967 {
64969 }
64970 else
64971 {
64973 }
64974 }
64976 }
64977 else
64978 {
64980 {
64982 {
64984 }
64986 {
64988 }
64990 {
64992 }
64994 {
64996 }
64997 }
64998 else if (
type == 815 ||
type == 817)
64999 {
65001 {
65003 }
65005 {
65007 }
65009 {
65011 }
65012 }
65013 else if (
type == 380)
65014 {
65016 {
65018 }
65020 {
65022 }
65024 {
65026 }
65027 }
65028 else if (
type == 198 ||
type == 886)
65029 {
65031 {
65033 }
65035 {
65037 }
65039 {
65041 }
65042 }
65043 else if (
type == 774)
65044 {
65046 {
65048 }
65050 {
65052 }
65054 {
65056 }
65057 }
65061 }
65063 {
65066 {
65068 }
65069 }
65071 {
65074 {
65076 }
65077 }
65079 {
65082 {
65084 }
65085 }
65087 {
65090 {
65092 }
65093 }
65094 if ((double)velocity.X > 0.25)
65095 {
65097 }
65098 else if ((double)velocity.X < -0.25)
65099 {
65101 }
65105 {
65108 {
65110 }
65112 {
65114 }
65116 {
65118 }
65119 for (
int k = 0;
k < 12;
k++)
65120 {
65121 float speedX3 = 1
f - Main.rand.NextFloat() * 2
f;
65122 float speedY3 = 1
f - Main.rand.NextFloat() * 2
f;
65124 Main.dust[
num143].noLightEmittence =
true;
65125 Main.dust[
num143].noGravity =
true;
65126 }
65127 base.Center = Main.player[
owner].Center;
65129 if (Main.myPlayer ==
owner)
65130 {
65132 }
65133 }
65134 bool flag2 =
false;
65139 {
65141 }
65143 {
65148 {
65151 }
65152 }
65154 {
65159 }
65161 {
65166 {
65170 }
65171 }
65173 {
65177 }
65179 {
65183 }
65185 {
65186 if (((Vector2)(
ref Main.player[
owner].velocity)).Length() < 2
f && ((Vector2)(
ref vector9)).Length() < 10
f)
65187 {
65190 }
65193 {
65196 }
65198 }
65200 {
65204 {
65206 }
65209 {
65211 }
65213 }
65215 {
65219 {
65221 }
65222 }
65223 return;
65224 }
65226 {
65230 Vector2
vector10 =
default(Vector2);
65234 if (Main.player[
owner].controlLeft)
65235 {
65237 }
65238 else if (Main.player[
owner].controlRight)
65239 {
65241 }
65242 if (Main.player[
owner].controlDown)
65243 {
65245 }
65246 else
65247 {
65248 if (Main.player[
owner].controlUp)
65249 {
65251 }
65253 }
65256 {
65259 }
65261 {
65263 {
65266 {
65268 }
65269 }
65272 {
65275 }
65276 else
65277 {
65281 }
65282 if ((double)velocity.X > 0.5)
65283 {
65285 }
65286 else if ((double)velocity.X < -0.5)
65287 {
65289 }
65294 {
65297 }
65299 {
65301 }
65303 {
65305 }
65306 for (
int l = 0;
l < 2;
l++)
65307 {
65310 obj.velocity *= 0.2f;
65311 Main.dust[
num154].noGravity =
true;
65312 Main.dust[
num154].scale = 1.25f;
65314 }
65315 return;
65316 }
65318 {
65320 }
65321 if ((double)velocity.X > 0.5)
65322 {
65324 }
65325 else if ((double)velocity.X < -0.5)
65326 {
65328 }
65331 {
65336 {
65340 }
65342 }
65347 {
65350 {
65351 velocity.X *= 0.99f;
65352 }
65353 }
65355 {
65358 {
65359 velocity.X *= 0.99f;
65360 }
65361 }
65363 {
65366 {
65367 velocity.Y *= 0.99f;
65368 }
65369 }
65371 {
65374 {
65375 velocity.Y *= 0.99f;
65376 }
65377 }
65379 {
65381 }
65384 {
65387 }
65389 {
65391 }
65392 return;
65393 }
65395 {
65399 Vector2
vector11 =
default(Vector2);
65406 {
65408 }
65415 {
65418 {
65420 }
65421 }
65423 {
65427 }
65428 else
65429 {
65431 {
65434 }
65438 }
65440 {
65442 for (
int m = 0;
m < 12;
m++)
65443 {
65444 float speedX4 = 1
f - Main.rand.NextFloat() * 2
f;
65445 float speedY4 = 1
f - Main.rand.NextFloat() * 2
f;
65447 Main.dust[
num165].noLightEmittence =
true;
65448 Main.dust[
num165].noGravity =
true;
65449 }
65450 base.Center = Main.player[
owner].Center;
65452 if (Main.myPlayer ==
owner)
65453 {
65455 }
65456 }
65458 {
65461 {
65463 }
65464 }
65466 {
65469 {
65471 }
65472 }
65474 {
65477 {
65479 }
65480 }
65482 {
65485 {
65487 }
65488 }
65493 {
65496 {
65497 return;
65498 }
65501 {
65503 {
65505 }
65507 {
65509 }
65510 }
65511 else
65512 {
65514 {
65516 }
65518 {
65520 }
65521 }
65522 }
65523 else
65524 {
65527 {
65530 }
65532 {
65534 }
65536 {
65538 }
65539 }
65540 return;
65541 }
65543 {
65559 {
65561 }
65563 {
65566 {
65568 }
65570 }
65571 else
65572 {
65574 {
65577 }
65581 }
65583 {
65586 {
65588 }
65589 for (
int n = 0;
n < 12;
n++)
65590 {
65591 float speedX5 = 1
f - Main.rand.NextFloat() * 2
f;
65592 float speedY5 = 1
f - Main.rand.NextFloat() * 2
f;
65594 Main.dust[
num176].noLightEmittence =
true;
65595 Main.dust[
num176].noGravity =
true;
65596 }
65597 base.Center =
player3.Center;
65599 if (Main.myPlayer ==
owner)
65600 {
65602 }
65603 }
65605 {
65608 {
65610 }
65611 }
65613 {
65616 {
65618 }
65619 }
65621 {
65624 {
65626 }
65627 }
65629 {
65632 {
65634 }
65635 }
65640 {
65643 {
65645 }
65649 {
65651 }
65653 {
65656 {
65658 }
65659 }
65660 return;
65661 }
65664 {
65666 }
65669 {
65671 {
65672 case 10:
65674 break;
65675 case 20:
65677 break;
65678 case 30:
65680 break;
65681 case 40:
65683 break;
65684 }
65685 }
65687 {
65690 {
65692 }
65693 }
65695 {
65698 {
65700 }
65701 }
65703 {
65705 }
65706 return;
65707 }
65710 {
65712 }
65714 {
65717 {
65719 }
65721 {
65723 }
65725 {
65726 case 816:
65727 case 825:
65728 case 854:
65729 case 858:
65730 case 859:
65731 case 860:
65732 case 881:
65733 case 884:
65734 case 890:
65735 case 891:
65736 case 897:
65737 case 900:
65738 case 934:
65740 break;
65741 case 821:
65742 case 899:
65744 break;
65745 }
65747 {
65750 {
65752 }
65754 {
65756 }
65758 {
65760 }
65761 }
65762 if (Main.player[
owner].rocketDelay2 > 0)
65763 {
65765 }
65766 Vector2
vector12 =
default(Vector2);
65772 {
65774 {
65775 position.X = Main.player[
owner].position.X + (float)(Main.player[
owner].width / 2) - (float)(
width / 2);
65776 position.Y = Main.player[
owner].position.Y + (float)(Main.player[
owner].height / 2) - (float)(
height / 2);
65777 }
65779 {
65781 {
65783 {
65785 }
65787 {
65789 }
65790 }
65792 }
65793 }
65794 }
65796 {
65797 if (Main.player[
owner].velocity.Y == 0
f &&
alpha >= 100)
65798 {
65799 position.X = Main.player[
owner].position.X + (float)(Main.player[
owner].width / 2) - (float)(
width / 2);
65800 position.Y = Main.player[
owner].position.Y + (float)Main.player[
owner].height - (
float)
height;
65802 }
65803 else
65804 {
65808 {
65810 Main.dust[
num182].velocity.X += Main.rand.NextFloat() - 0.5f;
65811 Main.dust[
num182].velocity.Y += (Main.rand.NextFloat() + 0.5f) * -1
f;
65812 if (Main.rand.Next(3) != 0)
65813 {
65814 Main.dust[
num182].noGravity =
true;
65815 }
65816 }
65819 {
65821 }
65822 }
65823 }
65825 {
65829 {
65831 }
65833 {
65836 }
65838 {
65841 }
65843 Vector2
vector13 =
default(Vector2);
65847 {
65848 num185 -= (float)(40 * Main.player[
owner].direction);
65851 {
65853 }
65854 bool flag4 =
false;
65857 {
65858 if (!Main.npc[
num188].CanBeChasedBy(
this))
65859 {
65860 continue;
65861 }
65865 {
65867 {
65869 }
65871 break;
65872 }
65873 }
65875 {
65877 }
65879 {
65881 }
65882 }
65885 {
65887 }
65893 {
65895 }
65897 {
65899 }
65901 {
65904 }
65906 {
65908 }
65910 {
65914 {
65916 }
65918 {
65920 }
65921 }
65923 {
65925 }
65927 {
65930 {
65932 }
65933 }
65935 {
65938 }
65939 else
65940 {
65944 }
65946 {
65948 {
65950 {
65952 }
65954 {
65956 }
65957 }
65959 {
65961 {
65963 }
65965 {
65967 }
65968 }
65970 {
65972 {
65974 }
65976 {
65978 }
65979 }
65980 else
65981 {
65983 {
65985 }
65987 {
65989 }
65990 }
65991 velocity.X = (velocity.X * 34
f +
num185) / 35
f;
65992 velocity.Y = (velocity.Y * 34
f +
num192) / 35
f;
65993 }
65994 else if (
type == 875)
65995 {
65997 {
65999 {
66001 }
66003 {
66005 }
66007 {
66009 }
66011 {
66013 }
66014 }
66015 else
66016 {
66018 }
66019 }
66020 else
66021 {
66023 {
66026 {
66027 velocity.X +=
num183 * 1.5f;
66028 }
66029 }
66031 {
66034 {
66035 velocity.X -=
num183 * 1.5f;
66036 }
66037 }
66039 {
66042 {
66043 velocity.Y +=
num183 * 1.5f;
66044 }
66045 }
66047 {
66050 {
66051 velocity.Y -=
num183 * 1.5f;
66052 }
66053 }
66054 }
66056 {
66058 }
66060 {
66061 frame = Main.rand.Next(12, 18);
66063 }
66065 {
66066 if ((double)velocity.X > 0.5)
66067 {
66069 }
66070 else if ((double)velocity.X < -0.5)
66071 {
66073 }
66074 }
66076 {
66079 {
66082 }
66084 {
66088 {
66090 }
66091 }
66093 }
66094 else if (
type == 900)
66095 {
66098 {
66100 }
66103 {
66106 }
66108 {
66112 {
66114 }
66115 }
66117 }
66118 else if (
type == 899)
66119 {
66122 {
66124 }
66127 {
66130 }
66132 {
66136 {
66138 }
66139 }
66144 {
66146 }
66147 }
66148 else if (
type == 897)
66149 {
66153 {
66156 }
66158 {
66162 {
66164 }
66165 }
66169 }
66170 else if (
type == 891)
66171 {
66175 {
66178 }
66180 {
66184 {
66186 }
66187 }
66191 }
66192 else if (
type == 890)
66193 {
66196 {
66198 }
66201 {
66204 }
66206 {
66210 {
66212 }
66213 }
66215 }
66216 else if (
type == 884)
66217 {
66220 {
66222 }
66225 {
66228 }
66230 {
66234 {
66236 }
66237 }
66241 }
66242 else if (
type == 881 ||
type == 934)
66243 {
66246 {
66248 }
66250 {
66252 }
66255 {
66258 }
66260 {
66262 }
66266 }
66267 else if (
type == 875)
66268 {
66270 {
66273 }
66275 {
66277 }
66281 }
66282 else if (
type == 825)
66283 {
66285 {
66288 }
66290 {
66292 }
66294 }
66295 else if (
type == 854)
66296 {
66298 {
66300 }
66302 {
66305 }
66307 {
66309 }
66313 }
66314 else if (
type == 858)
66315 {
66317 {
66320 }
66322 {
66324 }
66328 }
66329 else if (
type == 859)
66330 {
66332 {
66335 }
66337 {
66339 }
66341 }
66342 else if (
type == 860)
66343 {
66345 {
66348 }
66350 {
66353 }
66355 {
66357 }
66361 }
66362 else if (
type == 816)
66363 {
66365 {
66368 }
66370 {
66372 }
66374 }
66375 else if (
type == 821)
66376 {
66378 {
66381 }
66383 {
66385 }
66387 }
66388 else if (
type == 958)
66389 {
66392 {
66394 }
66396 {
66399 }
66401 {
66404 }
66406 {
66408 }
66410 }
66411 else if (
type == 960)
66412 {
66415 {
66417 }
66423 }
66424 else if (
type == 959)
66425 {
66428 {
66430 }
66434 float num198 = Vector2.Dot(
velocity.SafeNormalize(Vector2.UnitX),
new Vector2(0
f, -1
f));
66435 if (
num198 > 0
f && Main.rand.NextFloat() < 0.3f +
num198 * 0.3f)
66436 {
66438 dust.noGravity = true;
66440 dust.velocity.X = velocity.X * 0.3f;
66441 dust.position = base.Top +
new Vector2(0
f, -10
f) +
new Vector2(Main.rand.NextFloatDirection() * 30
f, Main.rand.NextFloatDirection() * 10
f);
66442 dust.velocity *= 0.7f;
66443 dust.position += dust.velocity * 2
f;
66444 }
66445 }
66446 else if (
type == 994)
66447 {
66450 {
66452 }
66455 {
66458 }
66460 {
66462 }
66464 }
66465 else if (
type == 998)
66466 {
66469 {
66471 }
66474 {
66477 }
66479 {
66481 }
66483 }
66484 else if (
type == 1003)
66485 {
66488 {
66490 }
66493 {
66496 }
66498 {
66500 }
66502 }
66503 else if (
type == 1004)
66504 {
66507 {
66509 }
66512 {
66515 }
66517 {
66519 }
66521 }
66522 else if (
type == 112)
66523 {
66525 {
66527 }
66528 else
66529 {
66531 }
66532 }
66533 else if (
type >= 390 &&
type <= 392)
66534 {
66538 {
66542 {
66545 }
66547 {
66549 }
66551 {
66553 }
66554 }
66555 else
66556 {
66559 {
66562 }
66564 {
66566 }
66568 }
66569 }
66570 else if (
type == 334)
66571 {
66574 {
66577 }
66579 {
66581 }
66583 }
66584 else if (
type == 353)
66585 {
66588 {
66591 }
66593 {
66595 }
66597 }
66598 else if (
type == 127)
66599 {
66602 {
66605 }
66607 {
66609 }
66611 }
66612 else if (
type == 269)
66613 {
66615 {
66617 }
66619 {
66622 }
66623 else
66624 {
66627 {
66630 }
66631 }
66633 }
66634 else if (
type == 266)
66635 {
66638 {
66641 }
66643 {
66645 }
66647 }
66648 else if (
type == 324)
66649 {
66652 {
66655 }
66657 {
66659 }
66661 Lighting.AddLight((
int)base.Center.X / 16, (int)
base.Center.Y / 16, 0.9f, 0.6f, 0.2f);
66663 {
66666 Main.dust[
num5].scale *= 1.8f + (float)Main.rand.Next(10) * 0.1f;
66668 obj2.velocity *= 0.2f;
66670 {
66673 }
66674 Main.dust[
num5].noGravity =
true;
66676 Main.dust[
num5].fadeIn = 1
f + (float)Main.rand.Next(5) * 0.1f;
66678 obj4.velocity *= 0.05f;
66680 {
66683 }
66684 }
66685 }
66686 else if (
type == 268)
66687 {
66690 {
66693 }
66695 {
66697 }
66699 }
66700 else if (
type == 200)
66701 {
66704 {
66707 }
66709 {
66711 }
66713 }
66714 else if (
type == 208)
66715 {
66719 {
66722 }
66724 {
66726 }
66728 {
66730 }
66731 }
66732 else if (
type == 236)
66733 {
66736 {
66738 }
66739 else
66740 {
66742 }
66744 {
66747 }
66749 {
66751 }
66753 {
66755 }
66756 }
66757 else if (
type == 499)
66758 {
66761 {
66763 }
66764 else
66765 {
66767 }
66769 {
66772 }
66774 {
66776 }
66778 {
66780 }
66781 }
66782 else if (
type == 765)
66783 {
66787 {
66790 }
66792 {
66794 }
66796 {
66798 }
66799 }
66800 else if (
type == 314)
66801 {
66805 {
66808 }
66810 {
66812 }
66814 {
66816 }
66817 }
66818 else if (
type == 319)
66819 {
66823 {
66826 }
66828 {
66830 }
66832 {
66834 }
66835 }
66836 else if (
type == 210)
66837 {
66841 {
66844 }
66846 {
66848 }
66850 {
66852 }
66853 }
66854 else if (
type == 313)
66855 {
66859 position.X +=
width / 2;
66861 position.X -=
width / 2;
66865 }
66866 else if (
type == 398)
66867 {
66868 if ((double)velocity.X > 0.5)
66869 {
66871 }
66872 else if ((double)velocity.X < -0.5)
66873 {
66875 }
66878 {
66881 }
66883 {
66885 }
66887 }
66889 {
66891 }
66892 else
66893 {
66895 }
66897 {
66899 {
66901 if (Main.rand.Next(4) == 0)
66902 {
66904 }
66906 Main.dust[
num7].velocity.X = Main.dust[
num7].velocity.X * 0.2f;
66907 Main.dust[
num7].velocity.Y = Main.dust[
num7].velocity.Y * 0.2f - 0.2f;
66908 Main.dust[
num7].noGravity =
true;
66909 }
66910 else if (
type == 897)
66911 {
66913 if (Main.rand.Next(4) == 0)
66914 {
66916 }
66918 Main.dust[
num9].velocity.X = Main.dust[
num9].velocity.X * 0.2f;
66919 Main.dust[
num9].velocity.Y = Main.dust[
num9].velocity.Y * 0.2f - 0.2f;
66920 Main.dust[
num9].noGravity =
true;
66921 }
66922 else if (
type == 875)
66923 {
66924 if (Main.rand.Next(3) == 0)
66925 {
66926 Gore.NewGorePerfect(
base.Center +
new Vector2(-10
f + (
float)Main.rand.Next(-20, 20) * 0.5f, -10
f + (float)Main.rand.Next(-20, 20) * 0.5f),
velocity * 0.1
f, 1225, 0.5
f + Main.rand.NextFloat() * 1
f);
66930 Main.dust[
num10].noGravity =
true;
66931 }
66932 }
66933 else if (
type == 860)
66934 {
66936 Main.dust[
num11].velocity.X = Main.dust[
num11].velocity.X * 0.2f;
66937 Main.dust[
num11].velocity.Y = Main.dust[
num11].velocity.Y * 0.2f - 0.2f;
66939 obj6.velocity += new Vector2((float)Main.rand.Next(-10, 10) * 0.4f, (float)Main.rand.Next(-10, 10) * 0.4f) * 0.5f;
66940 Main.dust[
num11].noGravity =
true;
66941 }
66942 else if (
type == 858)
66943 {
66945 if (Main.rand.Next(4) == 0)
66946 {
66948 }
66950 Main.dust[
num14].velocity.X = Main.dust[
num14].velocity.X * 0.2f;
66951 Main.dust[
num14].velocity.Y = Main.dust[
num14].velocity.Y * 0.2f - 0.2f;
66952 Main.dust[
num14].noGravity =
true;
66953 }
66954 else if (
type == 112)
66955 {
66957 if (Main.rand.Next(4) == 0)
66958 {
66960 }
66965 int num16 = Dust.NewDust(
center3 + Utils.RotatedBy(
spinningpoint,
radians,
center2) +
new Vector2(-5
f, -5
f), 10, 10,
num15, (0
f -
velocity.X) * 0.5f,
velocity.Y * 0.5f, 0,
default(Color), 1.3f);
66966 Main.dust[
num16].velocity.X = Main.dust[
num16].velocity.X * 0.2f;
66967 Main.dust[
num16].velocity.Y = Main.dust[
num16].velocity.Y * 0.2f - 0.2f;
66968 Main.dust[
num16].noGravity =
true;
66969 }
66970 else if (
type == 854)
66971 {
66972 if (Main.rand.Next(6) == 0)
66973 {
66974 Vector2
val2 = base.Center / 16
f;
66979 {
66980 Gore gore = Gore.NewGorePerfect(
base.Center +
new Vector2((
float)Main.rand.Next(-30, 30) * 0.5f, (
float)Main.rand.Next(-30, 30) * 0.5f),
velocity * -0.2f, 910);
66981 gore.Frame.CurrentColumn = 0;
66982 gore.timeLeft = 1;
66983 }
66984 }
66985 }
66987 {
66989 Main.dust[
num18].velocity.X = Main.dust[
num18].velocity.X * 0.2f;
66990 Main.dust[
num18].velocity.Y = Main.dust[
num18].velocity.Y * 0.2f;
66991 Main.dust[
num18].noGravity =
true;
66992 }
66993 }
66994 }
66995 else
66996 {
66998 {
67004 {
67006 }
67008 {
67010 }
67011 else
67012 {
67021 {
67026 {
67028 {
67032 }
67034 {
67039 }
67040 }
67041 }
67043 {
67045 {
67046 if (!Main.npc[
num32].CanBeChasedBy(
this))
67047 {
67048 continue;
67049 }
67050 float num33 = Main.npc[
num32].position.X + (float)(Main.npc[
num32].width / 2);
67051 float num34 = Main.npc[
num32].position.Y + (float)(Main.npc[
num32].height / 2);
67054 {
67056 {
67060 }
67062 {
67067 }
67068 }
67069 }
67070 }
67072 {
67074 }
67076 if ((double)position.Y > Main.worldSurface * 16.0)
67077 {
67079 }
67081 {
67084 {
67087 }
67089 {
67092 }
67093 }
67095 {
67099 {
67101 {
67104 }
67106 {
67109 }
67110 }
67111 else if (
owner == Main.myPlayer)
67112 {
67114 Vector2
vector2 =
default(Vector2);
67116 float num40 =
num22 - vector2.X + (float)Main.rand.Next(-20, 21);
67118 num41 =
num41 * (float)Main.rand.Next(0, 100) * 0.001f;
67119 float num42 =
num23 - vector2.Y + (float)Main.rand.Next(-20, 21) -
num41;
67127 Main.projectile[
num47].timeLeft = 300;
67129 {
67131 }
67133 {
67135 }
67137 }
67138 }
67139 }
67140 }
67141 bool flag5 =
false;
67142 Vector2
vector3 = Vector2.Zero;
67143 bool flag6 =
false;
67145 {
67150 {
67152 }
67154 {
67156 }
67157 else
67158 {
67166 {
67171 {
67173 {
67177 }
67179 {
67184 }
67185 }
67186 }
67188 {
67190 {
67191 if (!Main.npc[
num56].CanBeChasedBy(
this))
67192 {
67193 continue;
67194 }
67195 float num58 = Main.npc[
num56].position.X + (float)(Main.npc[
num56].width / 2);
67196 float num59 = Main.npc[
num56].position.Y + (float)(Main.npc[
num56].height / 2);
67199 {
67201 {
67205 }
67207 {
67212 }
67213 }
67214 }
67215 }
67217 {
67219 }
67221 {
67223 }
67224 else if (
num54 >= 0)
67225 {
67229 {
67231 {
67235 {
67237 }
67238 }
67239 Rectangle
rectangle =
default(Rectangle);
67241 Rectangle value = default(Rectangle);
67246 value.Width +=
num63 * 2;
67247 value.Height +=
num63 * 2;
67249 {
67253 {
67254 velocity.Y *= 0.5f;
67255 }
67257 {
67258 velocity.Y *= 0.5f;
67259 }
67261 {
67262 velocity.X *= 0.5f;
67263 }
67265 {
67266 velocity.X *= 0.5f;
67267 }
67269 {
67272 }
67276 {
67278 {
67279 continue;
67280 }
67283 {
67284 float num65 = 0.5f;
67285 if (
base.Center.Y > Main.projectile[
num64].Center.Y)
67286 {
67288 velocity.Y +=
num65;
67289 }
67290 else
67291 {
67293 velocity.Y -=
num65;
67294 }
67295 if (
base.Center.X > Main.projectile[
num64].Center.X)
67296 {
67297 velocity.X +=
num65;
67299 }
67300 else
67301 {
67302 velocity.X -=
num65;
67304 }
67305 }
67306 }
67307 }
67308 }
67309 }
67311 if ((double)position.Y > Main.worldSurface * 16.0)
67312 {
67314 }
67316 {
67318 if ((double)position.Y > Main.worldSurface * 16.0)
67319 {
67321 }
67322 }
67324 {
67327 {
67330 }
67332 {
67335 }
67336 }
67337 bool flag7 =
false;
67339 {
67342 }
67344 {
67349 {
67352 }
67354 {
67357 }
67359 {
67362 {
67364 }
67366 {
67368 }
67370 {
67372 }
67374 {
67376 }
67378 {
67380 }
67381 }
67383 {
67386 {
67388 }
67390 {
67392 }
67393 }
67394 }
67395 else
67396 {
67398 }
67399 }
67400 }
67402 {
67405 }
67407 {
67409 }
67410 else if (
type >= 390 &&
type <= 392)
67411 {
67415 {
67417 }
67418 }
67420 {
67422 {
67424 }
67426 {
67428 }
67429 else
67430 {
67432 }
67433 }
67435 {
67437 }
67439 {
67441 }
67442 float num72 = 0.08f;
67443 float num73 = 6.5f;
67445 {
67448 }
67450 {
67453 }
67455 {
67458 }
67460 {
67463 }
67465 {
67468 }
67470 {
67473 }
67475 {
67479 {
67482 }
67484 {
67486 }
67487 }
67489 {
67493 {
67496 }
67497 }
67499 {
67501 }
67503 {
67505 }
67507 {
67508 if ((double)velocity.X > -3.5)
67509 {
67510 velocity.X -=
num72;
67511 }
67512 else
67513 {
67514 velocity.X -=
num72 * 0.25f;
67515 }
67516 }
67518 {
67519 if ((double)velocity.X < 3.5)
67520 {
67521 velocity.X +=
num72;
67522 }
67523 else
67524 {
67525 velocity.X +=
num72 * 0.25f;
67526 }
67527 }
67528 else
67529 {
67530 velocity.X *= 0.9f;
67532 {
67534 }
67535 }
67537 {
67538 velocity.X *= 0.95f;
67539 if ((
double)velocity.X > -0.1 && (double)
velocity.X < 0.1)
67540 {
67542 }
67545 }
67547 {
67551 {
67553 }
67555 {
67557 }
67559 {
67561 }
67564 {
67566 }
67567 }
67569 {
67571 }
67573 {
67575 }
67577 {
67579 }
67581 {
67583 }
67586 {
67588 {
67592 {
67594 }
67596 {
67598 }
67600 }
67602 {
67606 {
67608 {
67609 velocity.Y = -3.1f;
67610 }
67611 else
67612 {
67613 try
67614 {
67618 {
67620 }
67622 {
67624 }
67627 {
67628 velocity.Y = -5.1f;
67629 }
67631 {
67632 velocity.Y = -7.1f;
67633 }
67635 {
67636 velocity.Y = -11.1f;
67637 }
67639 {
67640 velocity.Y = -10.1f;
67641 }
67642 else
67643 {
67644 velocity.Y = -9.1f;
67645 }
67646 }
67647 catch
67648 {
67649 velocity.Y = -9.1f;
67650 }
67651 }
67653 {
67655 }
67656 }
67657 }
67659 {
67661 }
67662 }
67664 {
67665 velocity.X =
num73;
67666 }
67668 {
67669 velocity.X = 0
f -
num73;
67670 }
67672 {
67674 }
67676 {
67678 }
67680 {
67682 }
67684 {
67686 }
67688 {
67690 {
67692 }
67694 {
67696 }
67697 }
67699 {
67701 }
67702 bool flag8 = position.X - oldPosition.X == 0
f;
67704 {
67706 {
67708 Main.dust[
num79].velocity.X += Main.rand.NextFloat() - 0.5f;
67709 Main.dust[
num79].velocity.Y += (Main.rand.NextFloat() + 0.5f) * -1
f;
67710 if (Main.rand.Next(3) != 0)
67711 {
67712 Main.dust[
num79].noGravity =
true;
67713 }
67716 {
67718 }
67719 }
67721 {
67723 }
67725 {
67727 if (Main.player[
owner].Center.X <
base.Center.X)
67728 {
67730 }
67732 }
67733 else
67734 {
67738 {
67741 }
67743 {
67745 }
67746 }
67747 velocity.Y += 0.4f;
67749 {
67751 }
67752 }
67753 else if (
type == 958)
67754 {
67756 {
67759 }
67761 {
67763 if (Main.player[
owner].Center.X <
base.Center.X)
67764 {
67766 }
67769 {
67772 {
67774 localAI[0] = Main.rand.Next(100);
67775 }
67776 }
67777 else
67778 {
67780 }
67781 }
67782 else
67783 {
67788 {
67791 }
67793 {
67795 }
67796 }
67797 velocity.Y += 0.4f;
67799 {
67801 }
67802 }
67803 else if (
type == 959)
67804 {
67806 {
67807 frame = ((velocity.Y > 0
f) ? 10 : 9);
67808 }
67810 {
67812 if (Main.player[
owner].Center.X <
base.Center.X)
67813 {
67815 }
67817 }
67818 else
67819 {
67823 {
67826 }
67828 {
67830 }
67831 }
67832 velocity.Y += 0.4f;
67834 {
67836 }
67837 }
67838 else if (
type == 998)
67839 {
67841 {
67843 }
67845 {
67847 if (Main.player[
owner].Center.X <
base.Center.X)
67848 {
67850 }
67852 }
67853 else
67854 {
67858 {
67861 }
67863 {
67865 }
67866 }
67867 velocity.Y += 0.4f;
67869 {
67871 }
67872 }
67873 else if (
type == 1003)
67874 {
67876 {
67878 }
67880 {
67882 if (Main.player[
owner].Center.X <
base.Center.X)
67883 {
67885 }
67887 }
67888 else
67889 {
67893 {
67896 }
67898 {
67900 }
67901 }
67902 velocity.Y += 0.4f;
67904 {
67906 }
67907 }
67908 else if (
type == 1004)
67909 {
67911 {
67913 }
67915 {
67917 if (Main.player[
owner].Center.X <
base.Center.X)
67918 {
67920 }
67922 }
67923 else
67924 {
67928 {
67931 }
67933 {
67935 }
67936 }
67937 velocity.Y += 0.4f;
67939 {
67941 }
67942 }
67943 else if (
type == 994)
67944 {
67946 {
67948 }
67950 {
67952 if (Main.player[
owner].Center.X <
base.Center.X)
67953 {
67955 }
67958 {
67961 }
67963 {
67965 }
67966 }
67967 else
67968 {
67972 {
67975 }
67977 {
67979 }
67980 }
67981 velocity.Y += 0.4f;
67983 {
67985 }
67986 }
67987 else if (
type == 960)
67988 {
67991 {
67996 }
67998 {
68000 {
68002 if (Main.player[
owner].Center.X <
base.Center.X)
68003 {
68005 }
68006 }
68008 {
68011 {
68014 }
68016 {
68018 }
68019 }
68021 {
68023 {
68025 {
68028 }
68032 {
68036 }
68037 }
68038 else
68039 {
68042 {
68045 {
68047 }
68049 }
68050 }
68051 }
68052 else
68053 {
68056 {
68059 }
68061 {
68065 {
68068 }
68069 }
68070 else
68071 {
68074 {
68076 }
68078 }
68079 }
68080 }
68081 else
68082 {
68088 {
68091 }
68093 {
68095 }
68096 }
68097 velocity.Y += 0.4f;
68099 {
68101 }
68102 }
68103 else if (
type == 816)
68104 {
68106 {
68108 }
68110 {
68112 if (Main.player[
owner].Center.X <
base.Center.X)
68113 {
68115 }
68117 {
68120 }
68122 {
68124 }
68125 }
68126 else
68127 {
68131 {
68133 }
68135 {
68137 }
68139 {
68142 }
68144 {
68146 }
68147 }
68148 velocity.Y += 0.4f;
68150 {
68152 }
68153 }
68155 {
68157 {
68160 {
68163 }
68165 {
68168 }
68169 }
68171 {
68173 {
68176 {
68180 {
68182 }
68183 }
68186 {
68188 }
68190 {
68192 {
68193 int num91 = Gore.NewGore(
new Vector2(
position.X,
base.Center.Y - 10
f), Vector2.Zero, 1218);
68194 Main.gore[
num91].velocity =
new Vector2((
float)Main.rand.Next(1, 10) * 0.3f * (
float)(-
spriteDirection), 0
f - (2
f + (
float)Main.rand.Next(4) * 0.3f));
68195 }
68196 }
68197 }
68198 else if (
frame == 0)
68199 {
68203 }
68204 else
68205 {
68208 {
68211 }
68213 {
68216 }
68217 }
68218 }
68219 velocity.Y += 0.4f;
68221 {
68223 }
68224 }
68226 {
68228 {
68230 }
68232 {
68234 if (Main.player[
owner].Center.X <
base.Center.X)
68235 {
68237 }
68239 {
68241 {
68244 }
68245 }
68246 else if (
frame > 3)
68247 {
68250 }
68251 else
68252 {
68254 {
68257 }
68259 {
68261 }
68262 }
68263 }
68264 else
68265 {
68269 {
68271 }
68273 {
68275 }
68278 {
68281 }
68283 {
68285 }
68286 }
68287 velocity.Y += 0.4f;
68289 {
68291 }
68292 }
68293 else if (
type == 858)
68294 {
68296 {
68298 }
68300 {
68302 if (Main.player[
owner].Center.X <
base.Center.X)
68303 {
68305 }
68307 }
68308 else
68309 {
68313 {
68316 }
68318 {
68320 }
68321 }
68322 velocity.Y += 0.4f;
68324 {
68326 }
68327 }
68328 else if (
type == 900)
68329 {
68332 {
68335 }
68337 {
68339 if (Main.player[
owner].Center.X <
base.Center.X)
68340 {
68342 }
68345 }
68346 else
68347 {
68350 {
68353 }
68355 {
68358 }
68360 {
68362 }
68363 }
68364 velocity.Y += 0.4f;
68366 {
68368 }
68369 }
68370 else if (
type == 899)
68371 {
68374 {
68377 }
68379 {
68381 if (Main.player[
owner].Center.X <
base.Center.X)
68382 {
68384 }
68387 }
68388 else
68389 {
68392 {
68395 }
68397 {
68400 }
68402 {
68404 }
68405 }
68406 velocity.Y += 0.4f;
68408 {
68410 }
68411 }
68412 else if (
type == 897)
68413 {
68416 {
68419 }
68421 {
68423 if (Main.player[
owner].Center.X <
base.Center.X)
68424 {
68426 }
68429 }
68430 else
68431 {
68434 {
68437 }
68439 {
68442 }
68444 {
68446 }
68447 }
68448 velocity.Y += 0.4f;
68450 {
68452 }
68453 }
68454 else if (
type == 891)
68455 {
68458 {
68461 }
68463 {
68467 }
68468 else
68469 {
68472 {
68475 }
68477 {
68480 }
68482 {
68484 }
68485 }
68486 velocity.Y += 0.4f;
68488 {
68490 }
68491 }
68492 else if (
type == 890)
68493 {
68496 {
68499 }
68501 {
68503 if (Main.player[
owner].Center.X <
base.Center.X)
68504 {
68506 }
68509 }
68510 else
68511 {
68514 {
68517 }
68519 {
68522 }
68524 {
68526 }
68527 }
68528 velocity.Y += 0.4f;
68530 {
68532 }
68533 }
68534 else if (
type == 884)
68535 {
68538 {
68540 {
68542 }
68543 else
68544 {
68546 }
68548 }
68550 {
68552 if (Main.player[
owner].Center.X <
base.Center.X)
68553 {
68555 }
68558 }
68559 else
68560 {
68563 {
68566 }
68568 {
68570 }
68571 }
68572 velocity.Y += 0.4f;
68574 {
68576 }
68577 }
68578 else if (
type == 881 ||
type == 934)
68579 {
68581 if (Main.player[
owner].Center.X <
base.Center.X)
68582 {
68584 }
68586 {
68589 {
68592 {
68594 }
68596 }
68597 }
68599 {
68602 {
68605 {
68607 }
68609 }
68610 }
68611 else if (
frame == 0)
68612 {
68614 }
68616 {
68619 {
68621 }
68623 }
68625 {
68627 {
68628 velocity.Y -= 0.2f;
68629 }
68631 {
68632 velocity.Y *= 0.95f;
68633 }
68634 }
68635 else
68636 {
68637 velocity.Y += 0.4f;
68638 }
68640 {
68642 }
68643 }
68644 else if (
type == 875)
68645 {
68647 {
68649 {
68651 }
68652 else
68653 {
68655 }
68657 }
68659 {
68661 if (Main.player[
owner].Center.X <
base.Center.X)
68662 {
68664 }
68667 }
68668 else
68669 {
68672 {
68675 }
68677 {
68679 }
68680 }
68681 velocity.Y += 0.4f;
68683 {
68685 }
68686 }
68687 else if (
type == 854)
68688 {
68690 {
68692 }
68694 {
68696 if (Main.player[
owner].Center.X <
base.Center.X)
68697 {
68699 }
68701 {
68704 }
68706 {
68708 }
68709 }
68710 else
68711 {
68715 {
68717 }
68719 {
68721 }
68723 {
68726 }
68728 {
68730 }
68731 }
68732 velocity.Y += 0.4f;
68734 {
68736 }
68737 }
68738 else if (
type == 825)
68739 {
68741 {
68744 }
68746 {
68748 if (Main.player[
owner].Center.X <
base.Center.X)
68749 {
68751 }
68753 {
68756 {
68759 }
68761 {
68763 }
68764 }
68766 {
68769 {
68772 }
68774 {
68776 }
68777 }
68778 else
68779 {
68781 {
68783 {
68786 }
68788 {
68790 }
68791 }
68793 {
68795 }
68796 else
68797 {
68799 }
68801 {
68803 if (
localAI[0] > 300
f && Main.rand.Next(50) == 0)
68804 {
68805 switch (Main.rand.Next(2))
68806 {
68807 case 0:
68809 break;
68810 case 1:
68812 break;
68813 }
68814 }
68815 }
68816 }
68817 }
68818 else
68819 {
68824 {
68826 }
68828 {
68830 }
68832 {
68835 }
68837 {
68839 }
68841 {
68843 }
68844 }
68845 velocity.Y += 0.4f;
68847 {
68849 }
68850 }
68851 else if (
type == 821)
68852 {
68854 {
68857 }
68859 {
68861 if (Main.player[
owner].Center.X <
base.Center.X)
68862 {
68864 }
68867 {
68870 {
68872 }
68874 {
68877 }
68879 {
68881 }
68883 {
68886 }
68887 }
68888 else
68889 {
68891 {
68894 }
68896 {
68898 }
68899 }
68900 }
68901 else
68902 {
68907 {
68909 }
68911 {
68913 }
68915 {
68918 {
68920 }
68922 }
68924 {
68926 }
68927 }
68928 velocity.Y += 0.4f;
68930 {
68932 }
68933 }
68935 {
68937 {
68939 {
68942 }
68944 {
68947 {
68950 }
68952 {
68954 }
68955 }
68956 }
68958 {
68961 {
68964 }
68965 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
68966 {
68970 {
68973 }
68975 {
68977 }
68979 {
68981 }
68982 }
68983 else
68984 {
68987 }
68988 }
68990 {
68993 }
68995 {
68998 }
68999 velocity.Y += 0.4f;
69001 {
69003 }
69005 }
69006 else if (
type == 268)
69007 {
69009 {
69011 {
69013 }
69015 {
69019 {
69021 }
69023 {
69025 }
69027 {
69029 }
69031 {
69033 }
69034 else
69035 {
69037 }
69038 }
69039 else
69040 {
69041 velocity.X *= 0.8f;
69045 {
69047 }
69049 {
69051 }
69053 {
69055 }
69057 {
69059 }
69061 {
69064 velocity.Y = -6.1f;
69067 {
69072 obj9.velocity *= 0.4f;
69073 }
69074 }
69075 else
69076 {
69078 }
69079 }
69080 }
69082 {
69085 }
69086 else
69087 {
69090 }
69091 velocity.Y += 0.4f;
69093 {
69095 }
69096 }
69097 else if (
type == 269)
69098 {
69099 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69100 {
69102 {
69105 }
69106 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69107 {
69109 Main.dust[
num106].noGravity =
true;
69111 obj10.velocity *= 0.3f;
69112 Main.dust[
num106].noLight =
true;
69116 {
69119 }
69121 {
69123 }
69124 }
69125 else
69126 {
69129 }
69130 }
69131 else
69132 {
69135 }
69136 velocity.Y += 0.4f;
69138 {
69140 }
69141 }
69142 else if (
type == 313)
69143 {
69144 int i3 = (int)(
base.Center.X / 16
f);
69151 {
69153 }
69155 {
69157 }
69159 {
69161 }
69163 {
69167 position.X +=
width / 2;
69169 position.X -=
width / 2;
69170 Vector2
vector5 =
default(Vector2);
69179 {
69180 velocity.X *= 0.9f;
69181 velocity.Y *= 0.9f;
69183 {
69185 }
69186 }
69187 else
69188 {
69189 velocity.X = (velocity.X * 9
f +
num109) / 10
f;
69190 velocity.Y = (velocity.Y * 9
f +
num111) / 10
f;
69191 }
69193 {
69196 }
69199 {
69202 }
69204 {
69206 }
69208 {
69210 }
69211 }
69212 else
69213 {
69216 {
69218 }
69220 {
69222 }
69226 position.X +=
width / 2;
69228 position.X -=
width / 2;
69229 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69230 {
69232 {
69235 }
69236 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69237 {
69241 {
69244 }
69246 {
69248 }
69249 }
69250 else
69251 {
69254 }
69255 }
69256 else
69257 {
69260 }
69261 velocity.Y += 0.4f;
69263 {
69265 }
69266 }
69267 }
69268 else if (
type >= 390 &&
type <= 392)
69269 {
69270 int i4 = (int)(
base.Center.X / 16
f);
69277 {
69279 }
69281 {
69283 }
69285 {
69287 }
69289 {
69293 position.X +=
width / 2;
69295 position.X -=
width / 2;
69298 Vector2
v3 = Main.player[
owner].Center -
base.Center;
69300 {
69303 }
69304 else if (!Collision.CanHitLine(
base.Center, 1, 1, Main.player[
owner].Center, 1, 1))
69305 {
69307 }
69309 {
69312 {
69314 }
69315 }
69316 else if (((Vector2)(
ref v3)).Length() < 800
f || !
flag5)
69317 {
69319 }
69321 {
69324 }
69325 else
69326 {
69328 }
69331 {
69334 }
69336 {
69338 }
69340 {
69342 }
69343 }
69344 else
69345 {
69347 {
69349 }
69351 {
69353 }
69355 {
69357 }
69361 position.X +=
width / 2;
69363 position.X -=
width / 2;
69364 if (!
flag5 && !Collision.CanHitLine(
base.Center, 1, 1, Main.player[
owner].Center, 1, 1))
69365 {
69367 }
69369 {
69372 {
69374 }
69377 {
69379 {
69381 }
69383 {
69385 }
69387 {
69389 }
69391 {
69393 }
69395 {
69397 }
69398 }
69399 }
69401 {
69404 {
69407 }
69409 {
69411 }
69413 {
69415 }
69416 }
69417 else if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69418 {
69420 {
69423 }
69424 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69425 {
69429 {
69432 }
69434 {
69436 }
69437 }
69438 else
69439 {
69442 }
69443 }
69444 else
69445 {
69448 }
69449 velocity.Y += 0.4f;
69451 {
69453 }
69454 }
69455 }
69456 else if (
type == 314)
69457 {
69458 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69459 {
69461 {
69464 }
69465 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69466 {
69470 {
69473 }
69475 {
69477 }
69478 }
69479 else
69480 {
69483 }
69484 }
69485 else
69486 {
69489 }
69490 velocity.Y += 0.4f;
69492 {
69494 }
69495 }
69496 else if (
type == 319)
69497 {
69498 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69499 {
69501 {
69504 }
69505 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69506 {
69510 {
69513 }
69515 {
69517 }
69518 }
69519 else
69520 {
69523 }
69524 }
69525 else
69526 {
69529 }
69530 velocity.Y += 0.4f;
69532 {
69534 }
69535 }
69536 else if (
type == 236)
69537 {
69538 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69539 {
69541 {
69544 }
69545 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69546 {
69548 {
69550 }
69554 {
69557 }
69559 {
69561 }
69562 }
69563 else
69564 {
69567 }
69568 }
69569 else
69570 {
69573 }
69574 velocity.Y += 0.4f;
69576 {
69578 }
69579 }
69580 else if (
type == 499)
69581 {
69582 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69583 {
69585 {
69588 }
69589 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69590 {
69592 {
69594 }
69598 {
69601 }
69603 {
69605 }
69606 }
69607 else
69608 {
69611 }
69612 }
69613 else
69614 {
69617 }
69618 velocity.Y += 0.4f;
69620 {
69622 }
69623 }
69624 else if (
type == 765)
69625 {
69626 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69627 {
69629 {
69632 }
69633 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69634 {
69636 {
69638 }
69642 {
69645 }
69647 {
69649 }
69650 }
69651 else
69652 {
69655 }
69656 }
69657 else
69658 {
69661 }
69662 velocity.Y += 0.4f;
69664 {
69666 }
69667 }
69668 else if (
type == 266)
69669 {
69670 if (
velocity.Y >= 0
f && (
double)velocity.Y <= 0.8)
69671 {
69673 {
69675 }
69676 else
69677 {
69679 }
69680 }
69681 else
69682 {
69684 }
69686 {
69689 }
69691 {
69693 }
69695 {
69697 {
69698 velocity.Y -= 0.2f;
69699 }
69701 {
69702 velocity.Y *= 0.95f;
69703 }
69704 }
69705 else
69706 {
69707 velocity.Y += 0.4f;
69708 }
69710 {
69712 }
69713 }
69714 else if (
type == 334)
69715 {
69717 {
69719 {
69721 {
69724 {
69727 }
69729 {
69731 }
69732 }
69733 else
69734 {
69737 }
69738 }
69739 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69740 {
69744 {
69747 }
69749 {
69751 }
69752 }
69753 else if (
frame > 0)
69754 {
69757 {
69760 }
69762 {
69764 }
69765 }
69766 else
69767 {
69770 }
69771 }
69773 {
69776 }
69778 {
69781 }
69782 velocity.Y += 0.4f;
69784 {
69786 }
69787 }
69788 else if (
type == 353)
69789 {
69791 {
69793 {
69796 }
69797 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69798 {
69802 {
69805 }
69807 {
69809 }
69810 }
69811 else
69812 {
69815 }
69816 }
69818 {
69821 }
69823 {
69826 }
69827 velocity.Y += 0.4f;
69829 {
69831 }
69832 }
69833 else if (
type == 111)
69834 {
69836 {
69838 {
69841 }
69842 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69843 {
69847 {
69850 }
69852 {
69854 }
69855 }
69856 else
69857 {
69860 }
69861 }
69863 {
69866 }
69868 {
69871 }
69872 velocity.Y += 0.4f;
69874 {
69876 }
69877 }
69878 else if (
type == 112)
69879 {
69881 {
69883 {
69886 }
69887 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
69888 {
69892 {
69895 }
69897 {
69899 }
69900 }
69901 else
69902 {
69905 }
69906 }
69908 {
69911 }
69912 velocity.Y += 0.4f;
69914 {
69916 }
69917 }
69918 else if (
type == 127)
69919 {
69921 {
69923 {
69926 }
69927 else if ((
double)velocity.X < -0.1 || (double)
velocity.X > 0.1)
69928 {
69932 {
69935 }
69937 {
69939 }
69940 }
69941 else
69942 {
69945 }
69946 }
69947 else
69948 {
69951 }
69952 velocity.Y += 0.4f;
69954 {
69956 }
69957 }
69958 else if (
type == 200)
69959 {
69961 {
69963 {
69966 }
69967 else if ((
double)velocity.X < -0.1 || (double)
velocity.X > 0.1)
69968 {
69972 {
69975 }
69977 {
69979 }
69980 }
69981 else
69982 {
69985 }
69986 }
69987 else
69988 {
69992 {
69994 }
69996 {
69999 }
70001 {
70003 }
70005 {
70007 }
70008 }
70009 velocity.Y += 0.1f;
70011 {
70013 }
70014 }
70015 else if (
type == 208)
70016 {
70018 {
70020 {
70022 }
70023 else if (Main.player[
owner].position.X + (
float)(Main.player[
owner].width / 2) >
position.X + (
float)(
width / 2))
70024 {
70026 }
70029 }
70030 else
70031 {
70035 {
70038 }
70040 {
70042 }
70044 {
70046 }
70047 }
70048 velocity.Y += 0.1f;
70050 {
70052 }
70053 }
70054 else if (
type == 209)
70055 {
70057 {
70060 {
70062 }
70063 }
70065 {
70067 {
70070 }
70071 else if ((
double)velocity.X < -0.1 || (double)
velocity.X > 0.1)
70072 {
70076 {
70079 }
70081 {
70083 }
70085 {
70087 }
70088 }
70089 else
70090 {
70093 }
70094 }
70095 else
70096 {
70100 }
70101 velocity.Y += 0.4f;
70103 {
70105 }
70106 }
70107 else if (
type == 324)
70108 {
70110 {
70111 if ((
double)velocity.X < -0.1 || (double)
velocity.X > 0.1)
70112 {
70116 {
70119 }
70121 {
70123 }
70125 {
70127 }
70128 }
70129 else
70130 {
70133 }
70134 }
70135 else
70136 {
70139 }
70140 velocity.Y += 0.4f;
70142 {
70144 }
70145 }
70146 else if (
type == 210)
70147 {
70149 {
70150 if ((
double)velocity.X < -0.1 || (double)
velocity.X > 0.1)
70151 {
70155 {
70158 }
70160 {
70162 }
70163 }
70164 else
70165 {
70168 }
70169 }
70170 else
70171 {
70175 {
70178 }
70180 {
70182 }
70184 {
70186 }
70187 }
70188 velocity.Y += 0.4f;
70190 {
70192 }
70193 }
70194 else if (
type == 398)
70195 {
70197 {
70199 {
70202 }
70203 else if ((
double)velocity.X < -0.8 || (double)
velocity.X > 0.8)
70204 {
70208 {
70211 }
70213 {
70215 }
70216 }
70217 else
70218 {
70221 }
70222 }
70224 {
70227 }
70228 velocity.Y += 0.4f;
70230 {
70232 }
70233 }
70234 }
70236 {
70238 DelegateMethods.v3_1 =
new Vector3(1
f, 0.61
f, 0.16
f) * 1.5f;
70239 Utils.PlotTileLine(
base.Center,
base.Center +
velocity * 6
f, 20
f, DelegateMethods.CastLightOpen);
70240 Utils.PlotTileLine(
base.Left,
base.Right, 20
f, DelegateMethods.CastLightOpen);
70241 }
70242 }
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
int height
The height of this Entity's hitbox, in pixels.
static ArmorShaderDataSet Armor
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...
int damage
This will always be set in Projectile.NewProjectile based on the weapons damage and player stat modif...
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....
bool netUpdate
Set manually to true in M:Terraria.ModLoader.ModProjectile.AI once to make it sync its current F:Terr...
int alpha
How transparent to draw this projectile. 0 to 255. 255 is completely transparent. ExampleBulletsets...
IEntitySource GetProjectileSource_FromThis()
float[] localAI
Acts like F:Terraria.Projectile.ai, but does not sync to the server. Many vanilla T:Terraria....
int frame
The frame number in the spritesheet that this projectile will be drawn with. Assign in M:Terraria....
float knockBack
This will always be set in Projectile.NewProjectile based on the weapons knockback and player stat mo...
bool friendly
If True, this projectile will hurt enemies (!F:Terraria.NPC.friendly) Defaults to false.
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...
bool tileCollide
If true, the projectile will collide with tiles, usually bouncing or killing the tile depending on M:...
int timeLeft
Time in ticks before this projectile will naturally despawn. Each update timeLeft is decreased by 1...
float rotation
Rotation of the projectile. Radians not Degrees. Use T:Microsoft.Xna.Framework.MathHelper if you want...
float stepSpeed
Has nothing to do with the speed that this projectile travels, that is dictated by AI code adjusting ...
bool Chester_IsAnyPlayerTrackingThisProjectile()
float gfxOffY
An offset from the actual position of the projectile that will be added to the draw position....
NPC OwnerMinionAttackTargetNPC
int minionPos
A number indicating the order of minions. Minion AI code typically uses this value to determine a sui...
int frameCounter
Used as a timer to decide when to change F:Terraria.Projectile.frame. Defaults to 0.
static int NewProjectile(IEntitySource spawnSource, Vector2 position, Vector2 velocity, int Type, int Damage, float KnockBack, int Owner=-1, float ai0=0f, float ai1=0f, float ai2=0f)
This particular overload uses a Vector2 instead of X and Y to determine the actual spawn position and...