TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ SetDefaults()

void Terraria.NPC.SetDefaults ( int Type,
NPCSpawnParams spawnparams = default(NPCSpawnParams) )
inline

Definition at line 3378 of file NPC.cs.

3379 {
3380 //IL_0136: Unknown result type (might be due to invalid IL or missing references)
3381 //IL_0140: Unknown result type (might be due to invalid IL or missing references)
3382 //IL_0145: Unknown result type (might be due to invalid IL or missing references)
3383 //IL_046d: Unknown result type (might be due to invalid IL or missing references)
3384 //IL_0515: Unknown result type (might be due to invalid IL or missing references)
3385 //IL_066a: Unknown result type (might be due to invalid IL or missing references)
3386 //IL_066f: Unknown result type (might be due to invalid IL or missing references)
3387 //IL_14f98: Unknown result type (might be due to invalid IL or missing references)
3388 //IL_142e: Unknown result type (might be due to invalid IL or missing references)
3389 //IL_1433: Unknown result type (might be due to invalid IL or missing references)
3390 //IL_14ff3: Unknown result type (might be due to invalid IL or missing references)
3391 //IL_14ff8: Unknown result type (might be due to invalid IL or missing references)
3392 //IL_10d68: Unknown result type (might be due to invalid IL or missing references)
3393 //IL_10d72: Unknown result type (might be due to invalid IL or missing references)
3394 //IL_10d77: Unknown result type (might be due to invalid IL or missing references)
3395 if (!spawnparams.gameModeData.HasValue)
3396 {
3397 spawnparams.gameModeData = Main.GameModeInfo;
3398 }
3399 if (Main.getGoodWorld && spawnparams.sizeScaleOverride.HasValue)
3400 {
3401 spawnparams.sizeScaleOverride = (spawnparams.sizeScaleOverride + spawnparams.sizeScaleOverride * spawnparams.sizeScaleOverride) / 2f;
3402 }
3403 if (Type < 0)
3404 {
3406 return;
3407 }
3408 ModNPC = null;
3409 ShowNameOnHover = true;
3410 HideStrikeDamage = false;
3411 BossBar = null;
3412 _globals = null;
3413 GravityIgnoresLiquid = false;
3414 GravityIgnoresSpace = false;
3415 GravityIgnoresType = false;
3417 honeyMovementSpeed = 0.25f;
3418 netOffset *= 0f;
3419 altTexture = 0;
3421 nameOver = 0f;
3423 extraValue = 0;
3424 for (int k = 0; k < playerInteraction.Length; k++)
3425 {
3426 playerInteraction[k] = false;
3427 }
3428 rarity = 0;
3429 dontCountMe = false;
3430 releaseOwner = 255;
3431 catchItem = 0;
3432 needsUniqueInfoUpdate = true;
3433 netStream = 32;
3434 netID = 0;
3435 netAlways = false;
3436 netSpam = 0;
3437 SpawnedFromStatue = false;
3440 if (netShimmer)
3441 {
3443 netShimmer = false;
3444 }
3447 int num = 10;
3448 if (Type >= 0)
3449 {
3451 }
3452 if (num != oldPos.Length)
3453 {
3454 Array.Resize(ref oldPos, num);
3455 Array.Resize(ref oldRot, num);
3456 }
3457 for (int j2 = 0; j2 < oldPos.Length; j2++)
3458 {
3459 oldRot[j2] = 0f;
3460 oldPos[j2].X = 0f;
3461 oldPos[j2].Y = 0f;
3462 }
3463 for (int k2 = 0; k2 < maxBuffs; k2++)
3464 {
3465 buffTime[k2] = 0;
3466 buffType[k2] = 0;
3467 }
3468 if (buffImmune.Length != BuffLoader.BuffCount)
3469 {
3471 }
3472 for (int l2 = 0; l2 < buffImmune.Length; l2++)
3473 {
3474 buffImmune[l2] = false;
3475 }
3476 aiStyle = ((type >= NPCID.Count) ? (-1) : 0);
3477 setFrameSize = false;
3478 netSkip = -2;
3479 realLife = -1;
3480 lifeRegen = 0;
3482 lifeRegenCount = 0;
3483 markedByScytheWhip = false;
3484 poisoned = false;
3485 soulDrain = false;
3486 venom = false;
3487 shadowFlame = false;
3488 canDisplayBuffs = true;
3489 onFire = false;
3490 midas = false;
3491 ichor = false;
3492 onFrostBurn = false;
3493 onFrostBurn2 = false;
3494 shimmering = false;
3495 confused = false;
3496 loveStruck = false;
3498 stinky = false;
3499 dryadWard = false;
3500 onFire2 = false;
3501 onFire3 = false;
3502 justHit = false;
3503 dontTakeDamage = false;
3505 npcSlots = 1f;
3506 lavaImmune = false;
3507 lavaWet = false;
3508 wetCount = 0;
3509 wet = false;
3510 townNPC = false;
3511 homeless = false;
3512 homeTileX = -1;
3513 homeTileY = -1;
3514 housingCategory = 0;
3515 friendly = false;
3516 behindTiles = false;
3517 boss = false;
3518 noTileCollide = false;
3519 rotation = 0f;
3520 active = true;
3521 alpha = 0;
3522 color = default(Color);
3523 collideX = false;
3524 collideY = false;
3525 direction = 0;
3527 frameCounter = 0.0;
3528 netUpdate = true;
3529 netUpdate2 = false;
3530 knockBackResist = 1f;
3531 GivenName = "";
3532 noGravity = false;
3533 scale = 1f;
3534 HitSound = null;
3535 DeathSound = null;
3536 spriteDirection = -1;
3537 target = 255;
3538 oldTarget = target;
3539 targetRect = default(Rectangle);
3541 type = Type;
3542 value = 0f;
3543 coldDamage = false;
3544 trapImmune = false;
3545 hide = false;
3546 immortal = false;
3547 chaseable = true;
3548 breath = 200;
3549 breathCounter = 0;
3550 reflectsProjectiles = false;
3551 canGhostHeal = true;
3552 javelined = false;
3553 tentacleSpiked = false;
3554 bloodButchered = false;
3555 daybreak = false;
3556 celled = false;
3557 dryadBane = false;
3558 betsysCurse = false;
3559 oiled = false;
3560 despawnEncouraged = false;
3561 for (int m2 = 0; m2 < maxAI; m2++)
3562 {
3563 ai[m2] = 0f;
3564 }
3565 for (int n2 = 0; n2 < maxAI; n2++)
3566 {
3567 localAI[n2] = 0f;
3568 }
3569 if (type == 1)
3570 {
3571 width = 24;
3572 height = 18;
3573 aiStyle = 1;
3574 damage = 7;
3575 defense = 2;
3576 lifeMax = 25;
3579 alpha = 175;
3580 color = new Color(0, 80, 255, 100);
3581 value = 25f;
3582 }
3583 else if (type == 2)
3584 {
3585 width = 30;
3586 height = 32;
3587 aiStyle = 2;
3588 damage = 18;
3589 defense = 2;
3590 lifeMax = 60;
3592 knockBackResist = 0.8f;
3594 value = 75f;
3595 }
3596 else if (type == 3)
3597 {
3598 width = 18;
3599 height = 40;
3600 aiStyle = 3;
3601 damage = 14;
3602 defense = 6;
3603 lifeMax = 45;
3606 knockBackResist = 0.5f;
3607 value = 60f;
3608 }
3609 else if (type == 430)
3610 {
3611 width = 18;
3612 height = 40;
3613 aiStyle = 3;
3614 damage = 14;
3615 defense = 6;
3616 lifeMax = 45;
3619 knockBackResist = 0.5f;
3620 value = 60f;
3621 }
3622 else if (type == 431)
3623 {
3624 width = 18;
3625 height = 40;
3626 aiStyle = 3;
3627 damage = 16;
3628 defense = 8;
3629 lifeMax = 50;
3632 knockBackResist = 0.45f;
3633 value = 80f;
3634 }
3635 else if (type == 432)
3636 {
3637 width = 18;
3638 height = 40;
3639 aiStyle = 3;
3640 damage = 16;
3641 defense = 8;
3642 lifeMax = 50;
3645 knockBackResist = 0.45f;
3646 value = 65f;
3647 }
3648 else if (type == 433)
3649 {
3650 width = 18;
3651 height = 40;
3652 aiStyle = 3;
3653 damage = 13;
3654 defense = 6;
3655 lifeMax = 40;
3658 knockBackResist = 0.55f;
3659 value = 55f;
3660 }
3661 else if (type == 434)
3662 {
3663 width = 18;
3664 height = 40;
3665 aiStyle = 3;
3666 damage = 13;
3667 defense = 8;
3668 lifeMax = 45;
3671 knockBackResist = 0.45f;
3672 value = 80f;
3673 }
3674 else if (type == 435)
3675 {
3676 width = 18;
3677 height = 40;
3678 aiStyle = 3;
3679 damage = 16;
3680 defense = 4;
3681 lifeMax = 45;
3684 knockBackResist = 0.55f;
3685 value = 70f;
3686 }
3687 else if (type == 436)
3688 {
3689 width = 18;
3690 height = 40;
3691 aiStyle = 3;
3692 damage = 12;
3693 defense = 4;
3694 lifeMax = 38;
3697 knockBackResist = 0.6f;
3698 value = 65f;
3699 }
3700 else if (type == 4)
3701 {
3702 width = 100;
3703 height = 110;
3704 aiStyle = 4;
3705 damage = 15;
3706 defense = 12;
3707 lifeMax = 2800;
3710 knockBackResist = 0f;
3711 noGravity = true;
3712 noTileCollide = true;
3714 boss = true;
3715 value = 30000f;
3716 npcSlots = 5f;
3717 }
3718 else if (type == 5)
3719 {
3720 width = 20;
3721 height = 20;
3722 aiStyle = 5;
3723 damage = 12;
3724 defense = 0;
3725 lifeMax = 8;
3728 noGravity = true;
3729 noTileCollide = true;
3730 }
3731 else if (type == 6)
3732 {
3733 npcSlots = 1f;
3734 width = 30;
3735 height = 30;
3736 aiStyle = 5;
3737 damage = 22;
3738 defense = 8;
3739 lifeMax = 40;
3742 noGravity = true;
3743 knockBackResist = 0.5f;
3744 value = 90f;
3745 if (Main.remixWorld)
3746 {
3747 scale *= 1.3f;
3748 damage = (int)((float)damage * scale);
3749 defense = (int)((float)defense * scale);
3750 lifeMax = (int)((float)lifeMax * scale);
3751 value = (int)(value * scale);
3752 }
3753 else if (Main.getGoodWorld)
3754 {
3755 scale *= 1.3f;
3756 }
3757 }
3758 else if (type == 7)
3759 {
3760 npcSlots = 3.5f;
3761 width = 22;
3762 height = 22;
3763 aiStyle = 6;
3764 damage = 31;
3765 defense = 2;
3766 lifeMax = 100;
3769 noGravity = true;
3770 noTileCollide = true;
3771 knockBackResist = 0f;
3772 behindTiles = true;
3773 value = 140f;
3774 netAlways = true;
3775 if (Main.remixWorld)
3776 {
3777 scale *= 1.3f;
3778 damage = (int)((float)damage * scale);
3779 defense = (int)((float)defense * scale);
3780 lifeMax = (int)((float)lifeMax * scale);
3781 value = (int)(value * scale);
3782 }
3783 }
3784 else if (type == 8)
3785 {
3786 width = 22;
3787 height = 22;
3788 aiStyle = 6;
3789 netAlways = true;
3790 damage = 16;
3791 defense = 6;
3792 lifeMax = 100;
3795 noGravity = true;
3796 noTileCollide = true;
3797 knockBackResist = 0f;
3798 behindTiles = true;
3799 value = 140f;
3800 dontCountMe = true;
3801 if (Main.remixWorld)
3802 {
3803 scale *= 1.3f;
3804 damage = (int)((float)damage * scale);
3805 defense = (int)((float)defense * scale);
3806 lifeMax = (int)((float)lifeMax * scale);
3807 value = (int)(value * scale);
3808 }
3809 }
3810 else if (type == 9)
3811 {
3812 width = 22;
3813 height = 22;
3814 aiStyle = 6;
3815 netAlways = true;
3816 damage = 13;
3817 defense = 10;
3818 lifeMax = 100;
3821 noGravity = true;
3822 noTileCollide = true;
3823 knockBackResist = 0f;
3824 behindTiles = true;
3825 value = 140f;
3826 dontCountMe = true;
3827 if (Main.remixWorld)
3828 {
3829 scale *= 1.3f;
3830 damage = (int)((float)damage * scale);
3831 defense = (int)((float)defense * scale);
3832 lifeMax = (int)((float)lifeMax * scale);
3833 value = (int)(value * scale);
3834 }
3835 }
3836 else if (type == 10)
3837 {
3838 width = 14;
3839 height = 14;
3840 aiStyle = 6;
3841 netAlways = true;
3842 damage = 8;
3843 defense = 0;
3844 lifeMax = 30;
3847 noGravity = true;
3848 noTileCollide = true;
3849 knockBackResist = 0f;
3850 behindTiles = true;
3851 value = 40f;
3852 }
3853 else if (type == 11)
3854 {
3855 width = 14;
3856 height = 14;
3857 aiStyle = 6;
3858 netAlways = true;
3859 damage = 4;
3860 defense = 4;
3861 lifeMax = 30;
3864 noGravity = true;
3865 noTileCollide = true;
3866 knockBackResist = 0f;
3867 behindTiles = true;
3868 value = 40f;
3869 dontCountMe = true;
3870 }
3871 else if (type == 12)
3872 {
3873 width = 14;
3874 height = 14;
3875 aiStyle = 6;
3876 netAlways = true;
3877 damage = 4;
3878 defense = 6;
3879 lifeMax = 30;
3882 noGravity = true;
3883 noTileCollide = true;
3884 knockBackResist = 0f;
3885 behindTiles = true;
3886 value = 40f;
3887 dontCountMe = true;
3888 }
3889 else if (type == 13)
3890 {
3891 npcSlots = 5f;
3892 width = 38;
3893 height = 38;
3894 aiStyle = 6;
3895 netAlways = true;
3896 damage = 22;
3897 defense = 2;
3898 lifeMax = 150;
3901 noGravity = true;
3902 noTileCollide = true;
3903 knockBackResist = 0f;
3904 behindTiles = true;
3905 value = 800f;
3906 scale = 1f;
3907 alpha = 255;
3908 }
3909 else if (type == 14)
3910 {
3911 width = 38;
3912 height = 38;
3913 aiStyle = 6;
3914 netAlways = true;
3915 damage = 13;
3916 defense = 4;
3917 lifeMax = 150;
3920 noGravity = true;
3921 noTileCollide = true;
3922 knockBackResist = 0f;
3923 behindTiles = true;
3924 value = 800f;
3925 scale = 1f;
3926 dontCountMe = true;
3927 alpha = 255;
3928 }
3929 else if (type == 15)
3930 {
3931 width = 38;
3932 height = 38;
3933 aiStyle = 6;
3934 netAlways = true;
3935 damage = 11;
3936 defense = 8;
3937 lifeMax = 150;
3940 noGravity = true;
3941 noTileCollide = true;
3942 knockBackResist = 0f;
3943 behindTiles = true;
3944 value = 800f;
3945 scale = 1f;
3946 dontCountMe = true;
3947 alpha = 255;
3948 }
3949 else if (type == 16)
3950 {
3951 npcSlots = 2f;
3952 width = 36;
3953 height = 24;
3954 aiStyle = 1;
3955 damage = 20;
3956 defense = 7;
3957 lifeMax = 90;
3960 alpha = 120;
3961 color = new Color(0, 0, 0, 50);
3962 value = 75f;
3963 scale = 1.25f;
3964 knockBackResist = 0.6f;
3965 }
3966 else if (type == 17)
3967 {
3968 townNPC = true;
3969 friendly = true;
3970 width = 18;
3971 height = 40;
3972 aiStyle = 7;
3973 damage = 10;
3974 defense = 15;
3975 lifeMax = 250;
3978 knockBackResist = 0.5f;
3979 }
3980 else if (type == 18)
3981 {
3982 townNPC = true;
3983 friendly = true;
3984 width = 18;
3985 height = 40;
3986 aiStyle = 7;
3987 damage = 10;
3988 defense = 15;
3989 lifeMax = 250;
3992 knockBackResist = 0.5f;
3993 }
3994 else if (type == 19)
3995 {
3996 townNPC = true;
3997 friendly = true;
3998 width = 18;
3999 height = 40;
4000 aiStyle = 7;
4001 damage = 10;
4002 defense = 15;
4003 lifeMax = 250;
4006 knockBackResist = 0.5f;
4007 }
4008 else if (type == 20)
4009 {
4010 townNPC = true;
4011 friendly = true;
4012 width = 18;
4013 height = 40;
4014 aiStyle = 7;
4015 damage = 10;
4016 defense = 15;
4017 lifeMax = 250;
4020 knockBackResist = 0.5f;
4021 }
4022 else if (type == 21)
4023 {
4024 width = 18;
4025 height = 40;
4026 aiStyle = 3;
4027 damage = 20;
4028 defense = 8;
4029 lifeMax = 60;
4032 knockBackResist = 0.5f;
4033 value = 100f;
4034 }
4035 else if (type == 22)
4036 {
4037 townNPC = true;
4038 friendly = true;
4039 width = 18;
4040 height = 40;
4041 aiStyle = 7;
4042 damage = 10;
4043 defense = 15;
4044 lifeMax = 250;
4047 knockBackResist = 0.5f;
4048 }
4049 else if (type == 23)
4050 {
4051 width = 22;
4052 height = 22;
4053 aiStyle = 5;
4054 damage = 40;
4055 defense = 6;
4056 lifeMax = 26;
4059 noGravity = true;
4060 noTileCollide = true;
4061 value = 80f;
4062 knockBackResist = 0.4f;
4063 }
4064 else if (type == 24)
4065 {
4066 npcSlots = 3f;
4067 width = 18;
4068 height = 40;
4069 aiStyle = 8;
4070 damage = 30;
4071 defense = 16;
4072 lifeMax = 70;
4075 knockBackResist = 0.5f;
4076 lavaImmune = true;
4077 value = 350f;
4078 }
4079 else if (type == 25)
4080 {
4081 width = 16;
4082 height = 16;
4083 aiStyle = 9;
4084 damage = 30;
4085 defense = 0;
4086 lifeMax = 1;
4089 noGravity = true;
4090 noTileCollide = true;
4091 knockBackResist = 0f;
4092 alpha = 100;
4093 }
4094 else if (type == 31)
4095 {
4096 width = 18;
4097 height = 40;
4098 aiStyle = 3;
4099 damage = 26;
4100 defense = 8;
4101 lifeMax = 80;
4104 knockBackResist = 0.8f;
4105 value = 130f;
4106 }
4107 else if (type == 32)
4108 {
4109 width = 18;
4110 height = 40;
4111 aiStyle = 8;
4112 damage = 20;
4113 defense = 2;
4114 lifeMax = 50;
4117 knockBackResist = 0.6f;
4118 value = 140f;
4119 npcSlots = 2f;
4120 }
4121 else if (type == 33)
4122 {
4123 width = 16;
4124 height = 16;
4125 aiStyle = 9;
4126 damage = 20;
4127 defense = 0;
4128 lifeMax = 1;
4131 noGravity = true;
4132 noTileCollide = true;
4133 alpha = 255;
4134 knockBackResist = 0f;
4135 }
4136 else if (type == 34)
4137 {
4138 width = 26;
4139 height = 28;
4140 aiStyle = 10;
4141 damage = 35;
4142 defense = 6;
4143 lifeMax = 40;
4146 noGravity = true;
4147 noTileCollide = true;
4148 value = 150f;
4149 knockBackResist = 0.2f;
4150 npcSlots = 0.75f;
4151 }
4152 else if (type == 35)
4153 {
4154 width = 80;
4155 height = 102;
4156 aiStyle = 11;
4157 damage = 32;
4158 defense = 10;
4159 lifeMax = 4400;
4162 noGravity = true;
4163 noTileCollide = true;
4164 value = 50000f;
4165 knockBackResist = 0f;
4166 boss = true;
4167 npcSlots = 6f;
4168 }
4169 else if (type == 36)
4170 {
4171 width = 52;
4172 height = 52;
4173 aiStyle = 12;
4174 damage = 20;
4175 defense = 14;
4176 lifeMax = 600;
4179 noGravity = true;
4180 noTileCollide = true;
4181 knockBackResist = 0f;
4182 }
4183 else if (type == 37)
4184 {
4185 townNPC = true;
4186 friendly = true;
4187 width = 18;
4188 height = 40;
4189 aiStyle = 7;
4190 damage = 10;
4191 defense = 15;
4192 lifeMax = 250;
4195 knockBackResist = 0.5f;
4196 }
4197 else if (type == 38)
4198 {
4199 townNPC = true;
4200 friendly = true;
4201 width = 18;
4202 height = 40;
4203 aiStyle = 7;
4204 damage = 10;
4205 defense = 15;
4206 lifeMax = 250;
4209 knockBackResist = 0.5f;
4210 }
4211 else if (type == 39)
4212 {
4213 npcSlots = 6f;
4214 width = 22;
4215 height = 22;
4216 aiStyle = 6;
4217 netAlways = true;
4218 damage = 36;
4219 defense = 12;
4220 lifeMax = 300;
4223 noGravity = true;
4224 noTileCollide = true;
4225 knockBackResist = 0f;
4226 behindTiles = true;
4227 value = 1200f;
4228 if (Main.getGoodWorld)
4229 {
4230 lifeMax += 100;
4231 defense += 2;
4232 damage += 4;
4233 scale = 1.1f;
4234 if (Main.remixWorld)
4235 {
4236 lifeMax += 50;
4237 scale *= 1.2f;
4238 defense += 4;
4239 }
4240 }
4241 }
4242 else if (type == 40)
4243 {
4244 width = 22;
4245 height = 22;
4246 aiStyle = 6;
4247 netAlways = true;
4248 damage = 20;
4249 defense = 18;
4250 lifeMax = 300;
4253 noGravity = true;
4254 noTileCollide = true;
4255 knockBackResist = 0f;
4256 behindTiles = true;
4257 value = 1200f;
4258 dontCountMe = true;
4259 if (Main.getGoodWorld)
4260 {
4261 lifeMax += 100;
4262 defense += 2;
4263 damage += 4;
4264 scale = 1.1f;
4265 if (Main.remixWorld)
4266 {
4267 lifeMax += 50;
4268 scale *= 1.2f;
4269 defense += 4;
4270 }
4271 }
4272 }
4273 else if (type == 41)
4274 {
4275 width = 22;
4276 height = 22;
4277 aiStyle = 6;
4278 netAlways = true;
4279 damage = 16;
4280 defense = 18;
4281 lifeMax = 300;
4284 noGravity = true;
4285 noTileCollide = true;
4286 knockBackResist = 0f;
4287 behindTiles = true;
4288 value = 1200f;
4289 dontCountMe = true;
4290 if (Main.getGoodWorld)
4291 {
4292 lifeMax += 100;
4293 defense += 2;
4294 damage += 4;
4295 scale = 1.1f;
4296 if (Main.remixWorld)
4297 {
4298 lifeMax += 50;
4299 scale *= 1.2f;
4300 defense += 4;
4301 }
4302 }
4303 }
4304 else if (type == 42)
4305 {
4306 width = 34;
4307 height = 32;
4308 aiStyle = 5;
4309 damage = 26;
4310 defense = 12;
4311 lifeMax = 48;
4313 knockBackResist = 0.5f;
4315 value = 200f;
4316 noGravity = true;
4317 }
4318 else if (type == 43)
4319 {
4320 noGravity = true;
4321 noTileCollide = true;
4322 width = 30;
4323 height = 30;
4324 aiStyle = 13;
4325 damage = 34;
4326 defense = 10;
4327 lifeMax = 110;
4329 knockBackResist = 0f;
4331 value = 350f;
4332 }
4333 else if (type == 44)
4334 {
4335 width = 18;
4336 height = 40;
4337 aiStyle = 3;
4338 damage = 22;
4339 defense = 9;
4340 lifeMax = 70;
4343 knockBackResist = 0.5f;
4344 value = 250f;
4345 rarity = 1;
4346 }
4347 else if (type == 45)
4348 {
4349 width = 18;
4350 height = 40;
4351 aiStyle = 8;
4352 damage = 20;
4353 defense = 4;
4354 lifeMax = 200;
4357 knockBackResist = 0.6f;
4358 value = 5000f;
4359 rarity = 4;
4360 }
4361 else if (type == 46 || type == 303 || type == 337 || type == 540)
4362 {
4363 width = 18;
4364 height = 20;
4365 aiStyle = 7;
4366 damage = 0;
4367 defense = 0;
4368 lifeMax = 5;
4371 catchItem = 2019;
4372 }
4373 else if (type == 47)
4374 {
4375 width = 18;
4376 height = 20;
4377 aiStyle = 3;
4378 damage = 20;
4379 defense = 4;
4380 lifeMax = 70;
4383 value = 500f;
4384 }
4385 else if (type == 48)
4386 {
4387 width = 24;
4388 height = 34;
4389 aiStyle = 14;
4390 damage = 25;
4391 defense = 8;
4392 lifeMax = 100;
4394 knockBackResist = 0.6f;
4396 value = 300f;
4397 }
4398 else if (type == 49)
4399 {
4400 npcSlots = 0.5f;
4401 width = 22;
4402 height = 18;
4403 aiStyle = 14;
4404 damage = 13;
4405 defense = 2;
4406 lifeMax = 16;
4408 knockBackResist = 0.8f;
4410 value = 90f;
4411 }
4412 else if (type == 50)
4413 {
4414 boss = true;
4415 width = 98;
4416 height = 92;
4417 aiStyle = 15;
4418 damage = 40;
4419 defense = 10;
4420 lifeMax = 2000;
4421 knockBackResist = 0f;
4424 alpha = 30;
4425 value = 10000f;
4426 scale = 1.25f;
4428 npcSlots = 5f;
4429 }
4430 else if (type == 51)
4431 {
4432 npcSlots = 0.5f;
4433 width = 22;
4434 height = 18;
4435 aiStyle = 14;
4436 damage = 20;
4437 defense = 4;
4438 lifeMax = 34;
4440 knockBackResist = 0.8f;
4442 value = 80f;
4443 }
4444 else if (type == 52)
4445 {
4446 width = 18;
4447 height = 40;
4448 aiStyle = 3;
4449 damage = 20;
4450 defense = 10;
4451 lifeMax = 500;
4454 knockBackResist = 0.5f;
4455 value = 1000f;
4456 rarity = 2;
4457 }
4458 else if (type == 53)
4459 {
4460 width = 18;
4461 height = 40;
4462 aiStyle = 3;
4463 damage = 14;
4464 defense = 8;
4465 lifeMax = 200;
4468 knockBackResist = 0.5f;
4469 value = 1000f;
4470 rarity = 2;
4471 }
4472 else if (type == 54)
4473 {
4474 townNPC = true;
4475 friendly = true;
4476 width = 18;
4477 height = 40;
4478 aiStyle = 7;
4479 damage = 10;
4480 defense = 15;
4481 lifeMax = 250;
4484 knockBackResist = 0.5f;
4485 }
4486 else if (type == 55)
4487 {
4488 noGravity = true;
4489 width = 20;
4490 height = 18;
4491 aiStyle = 16;
4492 damage = 0;
4493 defense = 0;
4494 lifeMax = 5;
4497 knockBackResist = 0.5f;
4498 catchItem = 261;
4499 }
4500 else if (type == 56)
4501 {
4502 noTileCollide = true;
4503 noGravity = true;
4504 width = 30;
4505 height = 30;
4506 aiStyle = 13;
4507 damage = 25;
4508 defense = 10;
4509 lifeMax = 60;
4511 knockBackResist = 0f;
4513 value = 90f;
4514 }
4515 else if (type == 57)
4516 {
4517 noGravity = true;
4518 width = 18;
4519 height = 20;
4520 aiStyle = 16;
4521 damage = 30;
4522 defense = 6;
4523 lifeMax = 100;
4526 value = 500f;
4527 }
4528 else if (type == 58)
4529 {
4530 npcSlots = 0.5f;
4531 noGravity = true;
4532 width = 18;
4533 height = 20;
4534 aiStyle = 16;
4535 damage = 25;
4536 defense = 2;
4537 lifeMax = 30;
4540 value = 50f;
4541 }
4542 else if (type == 59)
4543 {
4544 width = 24;
4545 height = 18;
4546 aiStyle = 1;
4547 damage = 15;
4548 defense = 10;
4549 lifeMax = 50;
4552 scale = 1.1f;
4553 alpha = 50;
4554 lavaImmune = true;
4555 value = 120f;
4556 if (Main.remixWorld)
4557 {
4558 damage = 7;
4559 defense = 2;
4560 lifeMax = 25;
4561 value = 25f;
4562 }
4563 }
4564 else if (type == 60)
4565 {
4566 npcSlots = 0.5f;
4567 width = 22;
4568 height = 18;
4569 aiStyle = 14;
4570 damage = 35;
4571 defense = 8;
4572 lifeMax = 46;
4574 knockBackResist = 0.8f;
4576 value = 120f;
4577 scale = 1.1f;
4578 lavaImmune = true;
4579 }
4580 else if (type == 61)
4581 {
4582 width = 36;
4583 height = 36;
4584 aiStyle = 17;
4585 damage = 15;
4586 defense = 4;
4587 lifeMax = 40;
4588 knockBackResist = 0.8f;
4591 value = 60f;
4592 }
4593 else if (type == 62)
4594 {
4595 npcSlots = 2f;
4596 width = 28;
4597 height = 48;
4598 aiStyle = 14;
4599 damage = 32;
4600 defense = 8;
4601 lifeMax = 120;
4603 knockBackResist = 0.8f;
4605 value = 300f;
4606 lavaImmune = true;
4607 }
4608 else if (type == 63)
4609 {
4610 noGravity = true;
4611 width = 26;
4612 height = 26;
4613 aiStyle = 18;
4614 damage = 25;
4615 defense = 4;
4616 lifeMax = 34;
4619 value = 100f;
4620 alpha = 20;
4621 }
4622 else if (type == 64)
4623 {
4624 noGravity = true;
4625 width = 26;
4626 height = 26;
4627 aiStyle = 18;
4628 damage = 30;
4629 defense = 6;
4630 lifeMax = 70;
4633 value = 100f;
4634 alpha = 20;
4635 }
4636 else if (type == 65)
4637 {
4638 noGravity = true;
4639 width = 100;
4640 height = 24;
4641 aiStyle = 16;
4642 damage = 40;
4643 defense = 2;
4644 lifeMax = 300;
4647 value = 400f;
4648 knockBackResist = 0.7f;
4649 }
4650 else if (type == 66)
4651 {
4652 npcSlots = 2f;
4653 width = 28;
4654 height = 48;
4655 aiStyle = 14;
4656 damage = 32;
4657 defense = 8;
4658 lifeMax = 140;
4660 knockBackResist = 0.8f;
4662 value = 1000f;
4663 lavaImmune = true;
4664 rarity = 1;
4665 }
4666 else if (type == 67)
4667 {
4668 width = 28;
4669 height = 20;
4670 aiStyle = 3;
4671 damage = 20;
4672 defense = 10;
4673 lifeMax = 40;
4676 value = 60f;
4677 }
4678 else if (type == 68)
4679 {
4680 width = 80;
4681 height = 102;
4682 aiStyle = 11;
4683 damage = 1000;
4684 defense = 9999;
4685 lifeMax = 9999;
4688 noGravity = true;
4689 noTileCollide = true;
4690 knockBackResist = 0f;
4691 }
4692 else if (type == 69)
4693 {
4694 width = 24;
4695 height = 24;
4696 aiStyle = 19;
4697 damage = 10;
4698 defense = 6;
4699 lifeMax = 45;
4702 knockBackResist = 0f;
4703 value = 60f;
4704 behindTiles = true;
4705 }
4706 else if (type == 70)
4707 {
4708 npcSlots = 0.3f;
4709 width = 34;
4710 height = 34;
4711 aiStyle = 20;
4712 damage = 32;
4713 defense = 100;
4714 lifeMax = 100;
4717 knockBackResist = 0f;
4718 noGravity = true;
4719 noTileCollide = true;
4720 dontTakeDamage = true;
4721 scale = 1.5f;
4722 }
4723 else if (type == 71)
4724 {
4725 npcSlots = 2f;
4726 width = 36;
4727 height = 24;
4728 aiStyle = 1;
4729 damage = 30;
4730 defense = 7;
4731 lifeMax = 150;
4734 alpha = 60;
4735 value = 150f;
4736 scale = 1.25f;
4737 knockBackResist = 0.6f;
4738 rarity = 1;
4739 }
4740 else if (type == 72)
4741 {
4742 npcSlots = 0.3f;
4743 width = 34;
4744 height = 34;
4745 aiStyle = 21;
4746 damage = 24;
4747 defense = 100;
4748 lifeMax = 100;
4749 alpha = 100;
4750 behindTiles = true;
4753 knockBackResist = 0f;
4754 noGravity = true;
4755 dontTakeDamage = true;
4756 scale = 1.2f;
4757 }
4758 else if (type == 73)
4759 {
4760 scale = 0.95f;
4761 width = 18;
4762 height = 40;
4763 aiStyle = 3;
4764 damage = 20;
4765 defense = 6;
4766 lifeMax = 80;
4769 knockBackResist = 0.7f;
4770 value = 200f;
4771 rarity = 1;
4772 }
4773 else if (type == 74 || type == 297 || type == 298)
4774 {
4775 width = 14;
4776 height = 14;
4777 aiStyle = 24;
4778 damage = 0;
4779 defense = 0;
4780 lifeMax = 5;
4782 knockBackResist = 0.8f;
4784 if (type == 74)
4785 {
4786 catchItem = 2015;
4787 }
4788 if (type == 297)
4789 {
4790 catchItem = 2016;
4791 }
4792 if (type == 298)
4793 {
4794 catchItem = 2017;
4795 }
4796 npcSlots = 0.4f;
4797 }
4798 else if (type == 75)
4799 {
4800 noGravity = true;
4801 width = 20;
4802 height = 20;
4803 aiStyle = 22;
4804 damage = 55;
4805 defense = 20;
4806 lifeMax = 150;
4808 knockBackResist = 0.6f;
4810 value = 350f;
4811 }
4812 else if (type == 77)
4813 {
4814 width = 18;
4815 height = 40;
4816 aiStyle = 3;
4817 damage = 40;
4818 defense = 28;
4819 lifeMax = 260;
4822 knockBackResist = 0.4f;
4823 value = 400f;
4824 }
4825 else if (type == 78)
4826 {
4827 width = 18;
4828 height = 40;
4829 aiStyle = 3;
4830 damage = 50;
4831 defense = 16;
4832 lifeMax = 130;
4835 knockBackResist = 0.6f;
4836 value = 600f;
4837 }
4838 else if (type == 79)
4839 {
4840 width = 18;
4841 height = 40;
4842 aiStyle = 3;
4843 damage = 60;
4844 defense = 18;
4845 lifeMax = 180;
4848 knockBackResist = 0.5f;
4849 value = 700f;
4850 }
4851 else if (type == 80)
4852 {
4853 width = 18;
4854 height = 40;
4855 aiStyle = 3;
4856 damage = 55;
4857 defense = 18;
4858 lifeMax = 200;
4861 knockBackResist = 0.55f;
4862 value = 700f;
4863 }
4864 else if (type == 81)
4865 {
4866 width = 40;
4867 height = 30;
4868 aiStyle = 1;
4869 damage = 55;
4870 defense = 20;
4871 lifeMax = 170;
4874 alpha = 55;
4875 value = 400f;
4876 scale = 1.1f;
4877 }
4878 else if (type == 82)
4879 {
4880 noGravity = true;
4881 noTileCollide = true;
4882 width = 24;
4883 height = 44;
4884 aiStyle = 22;
4885 damage = 65;
4886 defense = 16;
4887 lifeMax = 160;
4890 alpha = 100;
4891 value = 500f;
4892 knockBackResist = 0.7f;
4893 if (Main.remixWorld)
4894 {
4895 scale *= 1.2f;
4896 damage = (int)((float)damage * scale);
4897 defense = (int)((float)defense * scale);
4898 lifeMax = (int)((float)lifeMax * scale);
4899 value = (int)(value * scale);
4900 }
4901 }
4902 else if (type == 83)
4903 {
4904 width = 40;
4905 height = 40;
4906 aiStyle = 23;
4907 damage = 80;
4908 defense = 18;
4909 lifeMax = 200;
4912 value = 1000f;
4913 knockBackResist = 0.4f;
4914 }
4915 else if (type == 84)
4916 {
4917 width = 40;
4918 height = 40;
4919 aiStyle = 23;
4920 damage = 80;
4921 defense = 18;
4922 lifeMax = 200;
4925 value = 1000f;
4926 knockBackResist = 0.4f;
4927 }
4928 else if (type == 85)
4929 {
4930 width = 24;
4931 height = 24;
4932 aiStyle = 25;
4933 damage = 80;
4934 defense = 30;
4935 lifeMax = 500;
4938 value = 100000f;
4939 knockBackResist = 0.3f;
4940 rarity = 4;
4941 if (Main.remixWorld && !Main.hardMode)
4942 {
4943 damage = 30;
4944 defense = 12;
4945 lifeMax = 300;
4946 value = Item.buyPrice(0, 2);
4947 }
4948 }
4949 else if (type == 86)
4950 {
4951 width = 46;
4952 height = 42;
4953 aiStyle = 26;
4954 damage = 65;
4955 defense = 30;
4956 lifeMax = 400;
4959 knockBackResist = 0.3f;
4960 value = 1000f;
4961 }
4962 else if (type == 87)
4963 {
4964 noTileCollide = true;
4965 npcSlots = 5f;
4966 width = 32;
4967 height = 32;
4968 aiStyle = 6;
4969 netAlways = true;
4970 damage = 80;
4971 defense = 10;
4972 lifeMax = 4000;
4975 noGravity = true;
4976 knockBackResist = 0f;
4977 value = 10000f;
4978 scale = 1f;
4979 }
4980 else if (type == 88)
4981 {
4982 noTileCollide = true;
4983 width = 32;
4984 height = 32;
4985 aiStyle = 6;
4986 netAlways = true;
4987 damage = 40;
4988 defense = 20;
4989 lifeMax = 4000;
4992 noGravity = true;
4993 knockBackResist = 0f;
4994 value = 10000f;
4995 scale = 1f;
4996 dontCountMe = true;
4997 }
4998 else if (type == 89)
4999 {
5000 noTileCollide = true;
5001 width = 32;
5002 height = 32;
5003 aiStyle = 6;
5004 netAlways = true;
5005 damage = 40;
5006 defense = 20;
5007 lifeMax = 4000;
5010 noGravity = true;
5011 knockBackResist = 0f;
5012 value = 2000f;
5013 scale = 1f;
5014 dontCountMe = true;
5015 }
5016 else if (type == 90)
5017 {
5018 noTileCollide = true;
5019 width = 32;
5020 height = 32;
5021 aiStyle = 6;
5022 netAlways = true;
5023 damage = 40;
5024 defense = 20;
5025 lifeMax = 4000;
5028 noGravity = true;
5029 knockBackResist = 0f;
5030 value = 10000f;
5031 scale = 1f;
5032 dontCountMe = true;
5033 }
5034 else if (type == 91)
5035 {
5036 noTileCollide = true;
5037 width = 32;
5038 height = 32;
5039 aiStyle = 6;
5040 netAlways = true;
5041 damage = 40;
5042 defense = 20;
5043 lifeMax = 4000;
5046 noGravity = true;
5047 knockBackResist = 0f;
5048 value = 10000f;
5049 scale = 1f;
5050 dontCountMe = true;
5051 }
5052 else if (type == 92)
5053 {
5054 noTileCollide = true;
5055 width = 32;
5056 height = 32;
5057 aiStyle = 6;
5058 netAlways = true;
5059 damage = 40;
5060 defense = 20;
5061 lifeMax = 4000;
5064 noGravity = true;
5065 knockBackResist = 0f;
5066 value = 10000f;
5067 scale = 1f;
5068 dontCountMe = true;
5069 }
5070 else if (type == 93)
5071 {
5072 npcSlots = 0.5f;
5073 width = 26;
5074 height = 20;
5075 aiStyle = 14;
5076 damage = 45;
5077 defense = 16;
5078 lifeMax = 100;
5080 knockBackResist = 0.75f;
5082 value = 400f;
5083 }
5084 else if (type == 94)
5085 {
5086 npcSlots = 1f;
5087 width = 44;
5088 height = 44;
5089 aiStyle = 5;
5090 damage = 60;
5091 defense = 32;
5092 lifeMax = 230;
5095 noGravity = true;
5096 knockBackResist = 0.55f;
5097 value = 500f;
5098 }
5099 else if (type == 95)
5100 {
5101 width = 22;
5102 height = 22;
5103 aiStyle = 6;
5104 netAlways = true;
5105 damage = 45;
5106 defense = 10;
5107 lifeMax = 200;
5110 noGravity = true;
5111 noTileCollide = true;
5112 knockBackResist = 0f;
5113 behindTiles = true;
5114 scale = 0.9f;
5115 value = 300f;
5116 }
5117 else if (type == 96)
5118 {
5119 width = 22;
5120 height = 22;
5121 aiStyle = 6;
5122 netAlways = true;
5123 damage = 28;
5124 defense = 20;
5125 lifeMax = 200;
5128 noGravity = true;
5129 noTileCollide = true;
5130 knockBackResist = 0f;
5131 behindTiles = true;
5132 scale = 0.9f;
5133 value = 300f;
5134 dontCountMe = true;
5135 }
5136 else if (type == 97)
5137 {
5138 width = 22;
5139 height = 22;
5140 aiStyle = 6;
5141 netAlways = true;
5142 damage = 26;
5143 defense = 30;
5144 lifeMax = 200;
5147 noGravity = true;
5148 noTileCollide = true;
5149 knockBackResist = 0f;
5150 behindTiles = true;
5151 scale = 0.9f;
5152 value = 300f;
5153 dontCountMe = true;
5154 }
5155 else if (type == 98)
5156 {
5157 npcSlots = 3.5f;
5158 width = 22;
5159 height = 22;
5160 aiStyle = 6;
5161 netAlways = true;
5162 damage = 70;
5163 defense = 36;
5164 lifeMax = 500;
5167 noGravity = true;
5168 noTileCollide = true;
5169 knockBackResist = 0f;
5170 behindTiles = true;
5171 value = 700f;
5172 }
5173 else if (type == 99)
5174 {
5175 width = 22;
5176 height = 22;
5177 aiStyle = 6;
5178 netAlways = true;
5179 damage = 55;
5180 defense = 40;
5181 lifeMax = 500;
5184 noGravity = true;
5185 noTileCollide = true;
5186 knockBackResist = 0f;
5187 behindTiles = true;
5188 value = 700f;
5189 dontCountMe = true;
5190 }
5191 else if (type == 100)
5192 {
5193 width = 22;
5194 height = 22;
5195 aiStyle = 6;
5196 netAlways = true;
5197 damage = 40;
5198 defense = 44;
5199 lifeMax = 500;
5202 noGravity = true;
5203 noTileCollide = true;
5204 knockBackResist = 0f;
5205 behindTiles = true;
5206 value = 700f;
5207 dontCountMe = true;
5208 }
5209 else if (type == 101)
5210 {
5211 noGravity = true;
5212 noTileCollide = true;
5213 behindTiles = true;
5214 width = 30;
5215 height = 30;
5216 aiStyle = 13;
5217 damage = 70;
5218 defense = 30;
5219 lifeMax = 320;
5221 knockBackResist = 0.2f;
5223 value = 600f;
5224 }
5225 else if (type == 102)
5226 {
5227 npcSlots = 0.5f;
5228 noGravity = true;
5229 width = 18;
5230 height = 20;
5231 aiStyle = 16;
5232 damage = 80;
5233 defense = 22;
5234 lifeMax = 90;
5237 value = 500f;
5238 }
5239 else if (type == 103)
5240 {
5241 noGravity = true;
5242 width = 26;
5243 height = 26;
5244 aiStyle = 18;
5245 damage = 80;
5246 defense = 30;
5247 lifeMax = 120;
5250 value = 800f;
5251 alpha = 20;
5252 }
5253 else if (type == 104)
5254 {
5255 width = 18;
5256 height = 40;
5257 aiStyle = 3;
5258 damage = 70;
5259 defense = 38;
5260 lifeMax = 350;
5263 knockBackResist = 0.4f;
5264 value = 1000f;
5265 }
5266 else if (type == 105)
5267 {
5268 friendly = true;
5269 width = 18;
5270 height = 34;
5271 aiStyle = 0;
5272 damage = 10;
5273 defense = 15;
5274 lifeMax = 250;
5277 knockBackResist = 0.5f;
5278 rarity = 1;
5279 }
5280 else if (type == 106)
5281 {
5282 friendly = true;
5283 width = 18;
5284 height = 40;
5285 aiStyle = 0;
5286 damage = 10;
5287 defense = 15;
5288 lifeMax = 250;
5291 knockBackResist = 0.5f;
5292 rarity = 1;
5293 }
5294 else if (type == 107)
5295 {
5296 townNPC = true;
5297 friendly = true;
5298 width = 18;
5299 height = 40;
5300 aiStyle = 7;
5301 damage = 10;
5302 defense = 15;
5303 lifeMax = 250;
5306 knockBackResist = 0.5f;
5307 }
5308 else if (type == 108)
5309 {
5310 townNPC = true;
5311 friendly = true;
5312 width = 18;
5313 height = 40;
5314 aiStyle = 7;
5315 damage = 10;
5316 defense = 15;
5317 lifeMax = 250;
5320 knockBackResist = 0.5f;
5321 }
5322 else if (type == 109)
5323 {
5324 width = 34;
5325 height = 78;
5326 aiStyle = 3;
5327 damage = 60;
5328 defense = 25;
5329 lifeMax = 800;
5332 knockBackResist = 0.2f;
5333 value = 10000f;
5334 rarity = 1;
5335 }
5336 else if (type == 110)
5337 {
5338 width = 18;
5339 height = 40;
5340 aiStyle = 3;
5341 damage = 45;
5342 defense = 14;
5343 lifeMax = 210;
5346 knockBackResist = 0.55f;
5347 value = 400f;
5348 }
5349 else if (type == 112)
5350 {
5351 width = 16;
5352 height = 16;
5353 aiStyle = 9;
5354 damage = 65;
5355 defense = 0;
5356 lifeMax = 1;
5357 HitSound = null;
5359 noGravity = true;
5360 noTileCollide = true;
5361 knockBackResist = 0f;
5362 scale = 0.9f;
5363 alpha = 80;
5364 }
5365 else if (type == 113)
5366 {
5367 npcSlots = 10f;
5368 width = 100;
5369 height = 100;
5370 aiStyle = 27;
5371 damage = 50;
5372 defense = 12;
5373 lifeMax = 8000;
5376 noGravity = true;
5377 noTileCollide = true;
5378 behindTiles = true;
5379 knockBackResist = 0f;
5380 scale = 1.2f;
5381 boss = true;
5382 value = 80000f;
5383 }
5384 else if (type == 114)
5385 {
5386 width = 100;
5387 height = 100;
5388 aiStyle = 28;
5389 damage = 50;
5390 defense = 0;
5391 lifeMax = 8000;
5394 noGravity = true;
5395 noTileCollide = true;
5396 behindTiles = true;
5397 knockBackResist = 0f;
5398 scale = 1.2f;
5399 value = 80000f;
5400 }
5401 else if (type == 115)
5402 {
5403 width = 30;
5404 height = 30;
5405 aiStyle = 29;
5406 damage = 30;
5407 defense = 10;
5408 lifeMax = 240;
5411 noGravity = true;
5412 behindTiles = true;
5413 noTileCollide = true;
5414 knockBackResist = 1.1f;
5415 }
5416 else if (type == 116)
5417 {
5418 width = 30;
5419 height = 32;
5420 aiStyle = 2;
5421 damage = 30;
5422 defense = 6;
5423 lifeMax = 80;
5425 knockBackResist = 0.8f;
5427 }
5428 else if (type == 117)
5429 {
5430 width = 14;
5431 height = 14;
5432 aiStyle = 6;
5433 netAlways = true;
5434 damage = 26;
5435 defense = 2;
5436 lifeMax = 60;
5439 noGravity = true;
5440 noTileCollide = true;
5441 knockBackResist = 0f;
5442 behindTiles = true;
5443 }
5444 else if (type == 118)
5445 {
5446 width = 14;
5447 height = 14;
5448 aiStyle = 6;
5449 netAlways = true;
5450 damage = 22;
5451 defense = 6;
5452 lifeMax = 60;
5453 if (Main.getGoodWorld)
5454 {
5455 damage += 10;
5456 defense += 14;
5457 lifeMax *= 3;
5458 }
5461 noGravity = true;
5462 noTileCollide = true;
5463 knockBackResist = 0f;
5464 behindTiles = true;
5465 }
5466 else if (type == 119)
5467 {
5468 width = 14;
5469 height = 14;
5470 aiStyle = 6;
5471 netAlways = true;
5472 damage = 18;
5473 defense = 10;
5474 lifeMax = 60;
5477 noGravity = true;
5478 noTileCollide = true;
5479 knockBackResist = 0f;
5480 behindTiles = true;
5481 }
5482 else if (type == 120)
5483 {
5484 width = 18;
5485 height = 40;
5486 aiStyle = 3;
5487 damage = 40;
5488 defense = 30;
5489 lifeMax = 370;
5492 knockBackResist = 0.4f;
5493 value = 600f;
5494 }
5495 else if (type == 121)
5496 {
5497 width = 40;
5498 height = 30;
5499 aiStyle = 14;
5500 damage = 45;
5501 defense = 20;
5502 lifeMax = 60;
5504 alpha = 55;
5505 knockBackResist = 0.8f;
5506 scale = 1.1f;
5507 }
5508 else if (type == 122)
5509 {
5510 noGravity = true;
5511 width = 20;
5512 height = 20;
5513 aiStyle = 22;
5514 damage = 60;
5515 defense = 22;
5516 lifeMax = 220;
5518 knockBackResist = 0.8f;
5520 value = 600f;
5521 }
5522 else if (type == 123)
5523 {
5524 friendly = true;
5525 width = 18;
5526 height = 34;
5527 aiStyle = 0;
5528 damage = 10;
5529 defense = 15;
5530 lifeMax = 250;
5533 knockBackResist = 0.5f;
5534 scale = 0.9f;
5535 rarity = 1;
5536 }
5537 else if (type == 124)
5538 {
5539 townNPC = true;
5540 friendly = true;
5541 width = 18;
5542 height = 40;
5543 aiStyle = 7;
5544 damage = 10;
5545 defense = 15;
5546 lifeMax = 250;
5549 knockBackResist = 0.5f;
5550 }
5551 else if (type == 125)
5552 {
5553 width = 100;
5554 height = 110;
5555 aiStyle = 30;
5556 defense = 10;
5557 damage = 45;
5558 lifeMax = 20000;
5561 knockBackResist = 0f;
5562 noGravity = true;
5563 noTileCollide = true;
5565 boss = true;
5566 value = 120000f;
5567 npcSlots = 5f;
5568 }
5569 else if (type == 126)
5570 {
5571 width = 100;
5572 height = 110;
5573 aiStyle = 31;
5574 defense = 10;
5575 damage = 50;
5576 lifeMax = 23000;
5579 knockBackResist = 0f;
5580 noGravity = true;
5581 noTileCollide = true;
5583 boss = true;
5584 value = 120000f;
5585 npcSlots = 5f;
5586 }
5587 else if (type == 127)
5588 {
5589 width = 80;
5590 height = 102;
5591 aiStyle = 32;
5592 damage = 47;
5593 defense = 24;
5594 lifeMax = 28000;
5597 noGravity = true;
5598 noTileCollide = true;
5599 value = 120000f;
5600 knockBackResist = 0f;
5601 boss = true;
5602 npcSlots = 6f;
5603 }
5604 else if (type == 128)
5605 {
5606 width = 52;
5607 height = 52;
5608 aiStyle = 35;
5609 damage = 30;
5610 defense = 23;
5611 lifeMax = 7000;
5614 noGravity = true;
5615 noTileCollide = true;
5616 knockBackResist = 0f;
5617 netAlways = true;
5618 }
5619 else if (type == 129)
5620 {
5621 width = 52;
5622 height = 52;
5623 aiStyle = 33;
5624 damage = 56;
5625 defense = 38;
5626 lifeMax = 9000;
5629 noGravity = true;
5630 noTileCollide = true;
5631 knockBackResist = 0f;
5632 netAlways = true;
5633 }
5634 else if (type == 130)
5635 {
5636 width = 52;
5637 height = 52;
5638 aiStyle = 34;
5639 damage = 52;
5640 defense = 34;
5641 lifeMax = 9000;
5644 noGravity = true;
5645 noTileCollide = true;
5646 knockBackResist = 0f;
5647 netAlways = true;
5648 }
5649 else if (type == 131)
5650 {
5651 width = 52;
5652 height = 52;
5653 aiStyle = 36;
5654 damage = 29;
5655 defense = 20;
5656 lifeMax = 6000;
5659 noGravity = true;
5660 noTileCollide = true;
5661 knockBackResist = 0f;
5662 netAlways = true;
5663 }
5664 else if (type == 132)
5665 {
5666 width = 18;
5667 height = 40;
5668 aiStyle = 3;
5669 damage = 15;
5670 defense = 5;
5671 lifeMax = 40;
5674 knockBackResist = 0.5f;
5675 value = 65f;
5676 }
5677 else if (type == 133)
5678 {
5679 width = 30;
5680 height = 32;
5681 aiStyle = 2;
5682 damage = 40;
5683 defense = 20;
5684 lifeMax = 300;
5686 knockBackResist = 0.8f;
5688 value = 500f;
5689 }
5690 else if (type == 134)
5691 {
5692 npcSlots = 5f;
5693 width = 38;
5694 height = 38;
5695 aiStyle = 37;
5696 defense = 0;
5697 damage = 70;
5698 lifeMax = 80000;
5701 noGravity = true;
5702 noTileCollide = true;
5703 knockBackResist = 0f;
5704 behindTiles = true;
5705 value = 120000f;
5706 scale = 1.25f;
5707 boss = true;
5708 netAlways = true;
5709 alpha = 255;
5710 }
5711 else if (type == 135)
5712 {
5713 npcSlots = 5f;
5714 width = 38;
5715 height = 38;
5716 aiStyle = 37;
5717 damage = 55;
5718 defense = 30;
5719 lifeMax = 80000;
5722 noGravity = true;
5723 noTileCollide = true;
5724 knockBackResist = 0f;
5725 behindTiles = true;
5726 netAlways = true;
5727 scale = 1.25f;
5728 dontCountMe = true;
5729 alpha = 255;
5730 }
5731 else if (type == 136)
5732 {
5733 npcSlots = 5f;
5734 width = 38;
5735 height = 38;
5736 aiStyle = 37;
5737 damage = 40;
5738 defense = 35;
5739 lifeMax = 80000;
5742 noGravity = true;
5743 noTileCollide = true;
5744 knockBackResist = 0f;
5745 behindTiles = true;
5746 scale = 1.25f;
5747 netAlways = true;
5748 dontCountMe = true;
5749 alpha = 255;
5750 }
5751 else if (type == 139)
5752 {
5753 npcSlots = 1f;
5754 width = 30;
5755 height = 30;
5756 aiStyle = 5;
5757 damage = 50;
5758 defense = 20;
5759 lifeMax = 200;
5762 noGravity = true;
5763 knockBackResist = 0.8f;
5764 noTileCollide = true;
5765 }
5766 else if (type == 137)
5767 {
5768 width = 26;
5769 height = 20;
5770 aiStyle = 14;
5771 damage = 75;
5772 defense = 30;
5773 lifeMax = 200;
5775 knockBackResist = 0.75f;
5777 value = 500f;
5778 }
5779 else if (type == 138)
5780 {
5781 width = 24;
5782 height = 18;
5783 aiStyle = 1;
5784 damage = 70;
5785 defense = 30;
5786 lifeMax = 180;
5789 alpha = 100;
5790 value = 400f;
5791 knockBackResist = 0.85f;
5792 scale = 1.05f;
5793 }
5794 else if (type == 140)
5795 {
5796 width = 18;
5797 height = 40;
5798 aiStyle = 3;
5799 damage = 55;
5800 defense = 28;
5801 lifeMax = 260;
5804 knockBackResist = 0.4f;
5805 value = 400f;
5806 }
5807 else if (type == 141)
5808 {
5809 width = 34;
5810 height = 28;
5811 aiStyle = 1;
5812 damage = 50;
5813 defense = 18;
5814 lifeMax = 150;
5817 alpha = 55;
5818 value = 400f;
5819 scale = 1.1f;
5820 knockBackResist = 0.8f;
5821 }
5822 else if (type == 142)
5823 {
5824 townNPC = true;
5825 friendly = true;
5826 width = 18;
5827 height = 40;
5828 aiStyle = 7;
5829 damage = 10;
5830 defense = 15;
5831 lifeMax = 250;
5834 knockBackResist = 0.5f;
5835 }
5836 else if (type == 143)
5837 {
5838 width = 26;
5839 height = 40;
5840 aiStyle = 38;
5841 damage = 50;
5842 defense = 20;
5843 lifeMax = 200;
5846 knockBackResist = 0.6f;
5847 value = 400f;
5848 coldDamage = true;
5849 }
5850 else if (type == 144)
5851 {
5852 width = 26;
5853 height = 40;
5854 aiStyle = 38;
5855 damage = 65;
5856 defense = 26;
5857 lifeMax = 240;
5860 knockBackResist = 0.6f;
5861 value = 400f;
5862 coldDamage = true;
5863 }
5864 else if (type == 145)
5865 {
5866 width = 26;
5867 height = 40;
5868 aiStyle = 38;
5869 damage = 55;
5870 defense = 22;
5871 lifeMax = 220;
5874 knockBackResist = 0.6f;
5875 value = 400f;
5876 coldDamage = true;
5877 }
5878 else if (type == 147)
5879 {
5880 width = 24;
5881 height = 18;
5882 aiStyle = 1;
5883 damage = 8;
5884 defense = 4;
5885 lifeMax = 30;
5888 alpha = 50;
5889 value = 50f;
5890 coldDamage = true;
5891 }
5892 else if (type == 148)
5893 {
5894 width = 16;
5895 height = 34;
5896 aiStyle = 7;
5897 damage = 0;
5898 defense = 0;
5899 lifeMax = 5;
5902 catchItem = 2205;
5903 }
5904 else if (type == 149)
5905 {
5906 width = 16;
5907 height = 34;
5908 aiStyle = 7;
5909 damage = 0;
5910 defense = 0;
5911 lifeMax = 5;
5914 catchItem = 2205;
5915 }
5916 else if (type == 150)
5917 {
5918 npcSlots = 0.5f;
5919 width = 22;
5920 height = 22;
5921 aiStyle = 14;
5922 damage = 18;
5923 defense = 6;
5924 lifeMax = 30;
5926 knockBackResist = 0.8f;
5928 value = 250f;
5929 coldDamage = true;
5930 }
5931 else if (type == 151)
5932 {
5933 npcSlots = 0.5f;
5934 width = 22;
5935 height = 22;
5936 aiStyle = 14;
5937 damage = 50;
5938 defense = 16;
5939 lifeMax = 160;
5941 knockBackResist = 0.6f;
5943 value = 400f;
5944 scale = 1.15f;
5945 lavaImmune = true;
5946 }
5947 else if (type == 152)
5948 {
5949 npcSlots = 0.5f;
5950 width = 38;
5951 height = 34;
5952 aiStyle = 14;
5953 damage = 80;
5954 defense = 24;
5955 lifeMax = 220;
5957 knockBackResist = 0.65f;
5959 value = 400f;
5960 }
5961 else if (type == 153)
5962 {
5963 npcSlots = 2f;
5964 width = 46;
5965 height = 32;
5966 aiStyle = 39;
5967 damage = 80;
5968 defense = 30;
5969 lifeMax = 470;
5971 knockBackResist = 0.3f;
5973 value = 500f;
5974 noGravity = false;
5975 }
5976 else if (type == 154)
5977 {
5978 npcSlots = 1.5f;
5979 width = 46;
5980 height = 32;
5981 aiStyle = 39;
5982 damage = 55;
5983 defense = 28;
5984 lifeMax = 400;
5986 knockBackResist = 0.3f;
5988 value = 450f;
5989 noGravity = false;
5990 coldDamage = true;
5991 }
5992 else if (type == 155)
5993 {
5994 width = 46;
5995 height = 30;
5996 aiStyle = 26;
5997 damage = 65;
5998 defense = 30;
5999 lifeMax = 300;
6002 knockBackResist = 0.3f;
6003 value = 1000f;
6004 }
6005 else if (type == 156)
6006 {
6007 npcSlots = 2f;
6008 width = 28;
6009 height = 48;
6010 aiStyle = 14;
6011 damage = 50;
6012 defense = 40;
6013 lifeMax = 600;
6015 knockBackResist = 0.5f;
6017 value = 1200f;
6018 lavaImmune = true;
6019 }
6020 else if (type == 157)
6021 {
6022 npcSlots = 0.5f;
6023 noGravity = true;
6024 width = 74;
6025 height = 20;
6026 aiStyle = 16;
6027 damage = 75;
6028 defense = 30;
6029 lifeMax = 200;
6032 value = 500f;
6033 }
6034 else if (type == 160)
6035 {
6036 townNPC = true;
6037 friendly = true;
6038 width = 18;
6039 height = 40;
6040 aiStyle = 7;
6041 damage = 10;
6042 defense = 15;
6043 lifeMax = 250;
6046 knockBackResist = 0.5f;
6047 }
6048 else if (type == 161)
6049 {
6050 width = 18;
6051 height = 40;
6052 aiStyle = 3;
6053 damage = 16;
6054 defense = 8;
6055 lifeMax = 50;
6058 knockBackResist = 0.45f;
6059 value = 80f;
6060 }
6061 else if (type == 163)
6062 {
6063 width = 50;
6064 height = 20;
6065 aiStyle = 3;
6066 damage = 90;
6067 defense = 40;
6068 lifeMax = 350;
6071 knockBackResist = 0.25f;
6072 value = 500f;
6073 npcSlots = 0.5f;
6075 }
6076 else if (type == 238)
6077 {
6078 noGravity = true;
6079 width = 36;
6080 height = 36;
6081 aiStyle = 40;
6082 damage = 100;
6083 defense = 40;
6084 lifeMax = 350;
6087 knockBackResist = 0.25f;
6088 value = 500f;
6090 npcSlots = 0.5f;
6091 }
6092 else if (type == 164)
6093 {
6094 width = 50;
6095 height = 20;
6096 aiStyle = 3;
6097 damage = 30;
6098 defense = 10;
6099 lifeMax = 80;
6102 knockBackResist = 0.25f;
6103 value = 100f;
6105 npcSlots = 0.5f;
6106 }
6107 else if (type == 165)
6108 {
6109 noGravity = true;
6110 width = 36;
6111 height = 36;
6112 aiStyle = 40;
6113 damage = 30;
6114 defense = 10;
6115 lifeMax = 80;
6118 knockBackResist = 0.25f;
6119 value = 100f;
6121 npcSlots = 0.5f;
6122 }
6123 else if (type == 167)
6124 {
6125 width = 18;
6126 height = 40;
6127 aiStyle = 3;
6128 damage = 24;
6129 defense = 10;
6130 lifeMax = 70;
6133 knockBackResist = 0.5f;
6134 value = 200f;
6135 }
6136 else if (type == 168)
6137 {
6138 width = 16;
6139 height = 34;
6140 aiStyle = 3;
6141 damage = 20;
6142 defense = 4;
6143 lifeMax = 70;
6146 value = 500f;
6147 }
6148 else if (type == 169)
6149 {
6150 noGravity = true;
6151 width = 18;
6152 height = 40;
6153 aiStyle = 22;
6154 damage = 55;
6155 defense = 20;
6156 lifeMax = 200;
6158 knockBackResist = 0.6f;
6160 value = 1500f;
6161 coldDamage = true;
6162 }
6163 else if (type == 170)
6164 {
6165 width = 44;
6166 height = 36;
6167 aiStyle = 2;
6168 damage = 70;
6169 defense = 16;
6170 lifeMax = 210;
6173 knockBackResist = 0.5f;
6174 value = 2000f;
6175 }
6176 else if (type == 171)
6177 {
6178 width = 44;
6179 height = 36;
6180 aiStyle = 2;
6181 damage = 70;
6182 defense = 16;
6183 lifeMax = 210;
6186 knockBackResist = 0.5f;
6187 value = 2000f;
6188 }
6189 else if (type == 172)
6190 {
6191 width = 18;
6192 height = 40;
6193 aiStyle = 8;
6194 damage = 200;
6195 defense = 30;
6196 lifeMax = 600;
6199 knockBackResist = 0.3f;
6200 value = 5000f;
6201 rarity = 4;
6202 }
6203 else if (type == 173)
6204 {
6205 npcSlots = 1f;
6206 width = 30;
6207 height = 30;
6208 aiStyle = 5;
6209 damage = 22;
6210 defense = 8;
6211 lifeMax = 40;
6214 noGravity = true;
6215 knockBackResist = 0.5f;
6216 value = 90f;
6217 if (Main.remixWorld)
6218 {
6219 scale *= 1.3f;
6220 damage = (int)((float)damage * scale);
6221 defense = (int)((float)defense * scale);
6222 lifeMax = (int)((float)lifeMax * scale);
6223 value = (int)(value * scale);
6224 }
6225 }
6226 else if (type == 174)
6227 {
6228 npcSlots = 1f;
6229 width = 52;
6230 height = 26;
6231 aiStyle = 41;
6232 damage = 65;
6233 defense = 26;
6234 lifeMax = 220;
6237 knockBackResist = 0.3f;
6238 value = 450f;
6239 }
6240 else if (type == 175)
6241 {
6242 noGravity = true;
6243 noTileCollide = true;
6244 width = 30;
6245 height = 30;
6246 aiStyle = 13;
6247 damage = 100;
6248 defense = 30;
6249 lifeMax = 300;
6251 knockBackResist = 0.25f;
6253 value = 650f;
6254 }
6255 else if (type == 176)
6256 {
6257 width = 34;
6258 height = 32;
6259 aiStyle = 5;
6260 damage = 70;
6261 defense = 22;
6262 lifeMax = 220;
6264 knockBackResist = 0.5f;
6266 value = 600f;
6267 noGravity = true;
6268 npcSlots = 1.5f;
6269 }
6270 else if (type == 177)
6271 {
6272 npcSlots = 1f;
6273 width = 58;
6274 height = 44;
6275 aiStyle = 41;
6276 damage = 80;
6277 defense = 26;
6278 lifeMax = 300;
6281 knockBackResist = 0.5f;
6282 value = 500f;
6283 }
6284 else if (type == 178)
6285 {
6286 townNPC = true;
6287 friendly = true;
6288 width = 18;
6289 height = 40;
6290 aiStyle = 7;
6291 damage = 10;
6292 defense = 15;
6293 lifeMax = 250;
6296 knockBackResist = 0.5f;
6297 }
6298 else if (type == 179)
6299 {
6300 width = 40;
6301 height = 40;
6302 aiStyle = 23;
6303 damage = 80;
6304 defense = 18;
6305 lifeMax = 200;
6308 value = 1000f;
6309 knockBackResist = 0.4f;
6310 }
6311 else if (type == 180)
6312 {
6313 width = 44;
6314 height = 36;
6315 aiStyle = 2;
6316 damage = 70;
6317 defense = 16;
6318 lifeMax = 210;
6321 knockBackResist = 0.5f;
6322 value = 2000f;
6323 }
6324 else if (type == 181)
6325 {
6326 width = 18;
6327 height = 44;
6328 aiStyle = 3;
6329 damage = 25;
6330 defense = 10;
6331 lifeMax = 70;
6334 knockBackResist = 0.4f;
6335 value = 200f;
6336 if (Main.remixWorld)
6337 {
6338 scale *= 1.1f;
6339 damage = (int)((double)((float)damage * scale) * 1.2);
6340 defense = (int)((double)((float)defense * scale) * 1.2);
6341 lifeMax = (int)((double)((float)lifeMax * scale) * 1.2);
6342 value = (int)((double)(value * scale) * 1.2);
6343 }
6344 }
6345 else if (type == 182)
6346 {
6347 noGravity = true;
6348 noTileCollide = true;
6349 width = 24;
6350 height = 62;
6351 aiStyle = 22;
6352 damage = 65;
6353 defense = 18;
6354 lifeMax = 240;
6357 alpha = 100;
6358 value = 500f;
6359 knockBackResist = 0.7f;
6360 }
6361 else if (type == 183)
6362 {
6363 width = 40;
6364 height = 30;
6365 aiStyle = 1;
6366 damage = 60;
6367 defense = 26;
6368 lifeMax = 200;
6371 alpha = 55;
6372 value = 400f;
6373 scale = 1.1f;
6374 }
6375 else if (type == 184)
6376 {
6377 width = 24;
6378 height = 18;
6379 aiStyle = 1;
6380 damage = 12;
6381 defense = 8;
6382 lifeMax = 60;
6383 scale = 1.1f;
6386 alpha = 50;
6387 value = 200f;
6388 coldDamage = true;
6389 }
6390 else if (type == 185)
6391 {
6392 width = 28;
6393 height = 28;
6394 aiStyle = 3;
6395 damage = 26;
6396 defense = 12;
6397 lifeMax = 70;
6400 knockBackResist = 1.1f;
6401 value = 200f;
6402 coldDamage = true;
6403 }
6404 else if (type == 186)
6405 {
6406 width = 18;
6407 height = 40;
6408 aiStyle = 3;
6409 damage = 16;
6410 defense = 8;
6411 lifeMax = 50;
6414 knockBackResist = 0.45f;
6415 value = 65f;
6416 }
6417 else if (type == 187)
6418 {
6419 width = 18;
6420 height = 40;
6421 aiStyle = 3;
6422 damage = 13;
6423 defense = 6;
6424 lifeMax = 40;
6427 knockBackResist = 0.55f;
6428 value = 55f;
6429 }
6430 else if (type == 188)
6431 {
6432 width = 18;
6433 height = 40;
6434 aiStyle = 3;
6435 damage = 13;
6436 defense = 8;
6437 lifeMax = 45;
6440 knockBackResist = 0.45f;
6441 value = 80f;
6442 }
6443 else if (type == 189)
6444 {
6445 width = 18;
6446 height = 40;
6447 aiStyle = 3;
6448 damage = 16;
6449 defense = 4;
6450 lifeMax = 45;
6453 knockBackResist = 0.55f;
6454 value = 70f;
6455 }
6456 else if (type == 190)
6457 {
6458 width = 30;
6459 height = 32;
6460 aiStyle = 2;
6461 damage = 18;
6462 defense = 4;
6463 lifeMax = 65;
6465 knockBackResist = 0.7f;
6467 value = 75f;
6468 }
6469 else if (type == 191)
6470 {
6471 width = 30;
6472 height = 32;
6473 aiStyle = 2;
6474 damage = 16;
6475 defense = 2;
6476 lifeMax = 60;
6478 knockBackResist = 0.85f;
6480 value = 75f;
6481 }
6482 else if (type == 192)
6483 {
6484 width = 30;
6485 height = 32;
6486 aiStyle = 2;
6487 damage = 18;
6488 defense = 2;
6489 lifeMax = 50;
6491 knockBackResist = 0.8f;
6493 value = 75f;
6494 }
6495 else if (type == 193)
6496 {
6497 width = 30;
6498 height = 32;
6499 aiStyle = 2;
6500 damage = 20;
6501 defense = 0;
6502 lifeMax = 60;
6504 knockBackResist = 0.8f;
6506 value = 75f;
6507 }
6508 else if (type == 194)
6509 {
6510 width = 30;
6511 height = 32;
6512 aiStyle = 2;
6513 damage = 14;
6514 defense = 4;
6515 lifeMax = 60;
6517 knockBackResist = 0.8f;
6519 value = 75f;
6520 }
6521 else if (type == 195)
6522 {
6523 width = 18;
6524 height = 40;
6525 aiStyle = 42;
6526 damage = 10;
6527 defense = 30;
6528 lifeMax = 250;
6531 knockBackResist = 0.5f;
6532 rarity = 2;
6533 value = Item.buyPrice(0, 2);
6534 }
6535 else if (type == 196)
6536 {
6537 width = 18;
6538 height = 40;
6539 aiStyle = 3;
6540 damage = 35;
6541 defense = 16;
6542 lifeMax = 300;
6545 knockBackResist = 0.4f;
6546 value = Item.buyPrice(0, 2);
6547 rarity = 2;
6548 }
6549 else if (type == 197)
6550 {
6551 width = 18;
6552 height = 40;
6553 aiStyle = 3;
6554 damage = 50;
6555 defense = 28;
6556 lifeMax = 280;
6559 knockBackResist = 0.45f;
6560 value = 500f;
6561 }
6562 else if (type == 198)
6563 {
6564 width = 18;
6565 height = 40;
6566 aiStyle = 3;
6567 damage = 38;
6568 defense = 20;
6569 lifeMax = 400;
6572 knockBackResist = 0.4f;
6573 value = 650f;
6574 }
6575 else if (type == 199)
6576 {
6577 width = 42;
6578 height = 30;
6579 aiStyle = 3;
6580 damage = 60;
6581 defense = 30;
6582 lifeMax = 400;
6585 knockBackResist = 0f;
6586 value = 650f;
6587 }
6588 else if (type == 200)
6589 {
6590 width = 18;
6591 height = 40;
6592 aiStyle = 3;
6593 damage = 12;
6594 defense = 4;
6595 lifeMax = 38;
6598 knockBackResist = 0.6f;
6599 value = 65f;
6600 }
6601 else if (type == 201)
6602 {
6603 width = 18;
6604 height = 40;
6605 aiStyle = 3;
6606 damage = 20;
6607 defense = 12;
6608 lifeMax = 55;
6611 knockBackResist = 0.5f;
6612 value = 130f;
6613 }
6614 else if (type == 202)
6615 {
6616 width = 18;
6617 height = 40;
6618 aiStyle = 3;
6619 damage = 18;
6620 defense = 8;
6621 lifeMax = 65;
6624 knockBackResist = 0.5f;
6625 value = 120f;
6626 }
6627 else if (type == 203)
6628 {
6629 width = 18;
6630 height = 40;
6631 aiStyle = 3;
6632 damage = 22;
6633 defense = 8;
6634 lifeMax = 60;
6637 knockBackResist = 0.5f;
6638 value = 110f;
6639 }
6640 else if (type == 204)
6641 {
6642 width = 24;
6643 height = 18;
6644 aiStyle = 1;
6645 damage = 28;
6646 defense = 8;
6647 lifeMax = 65;
6648 scale = 1.15f;
6651 alpha = 50;
6652 value = 300f;
6653 }
6654 else if (type == 205)
6655 {
6656 width = 40;
6657 height = 40;
6658 aiStyle = 5;
6659 damage = 70;
6660 defense = 28;
6661 lifeMax = 1000;
6663 knockBackResist = 0.4f;
6665 value = 600f;
6666 noGravity = true;
6667 rarity = 2;
6668 }
6669 else if (type == 206)
6670 {
6671 width = 18;
6672 height = 40;
6673 aiStyle = 3;
6674 damage = 60;
6675 defense = 30;
6676 lifeMax = 280;
6679 knockBackResist = 0.5f;
6680 value = 500f;
6681 coldDamage = true;
6682 }
6683 else if (type == 207)
6684 {
6685 townNPC = true;
6686 friendly = true;
6687 width = 18;
6688 height = 40;
6689 aiStyle = 7;
6690 damage = 10;
6691 defense = 15;
6692 lifeMax = 250;
6695 knockBackResist = 0.5f;
6696 }
6697 else if (type == 208)
6698 {
6699 townNPC = true;
6700 friendly = true;
6701 width = 18;
6702 height = 40;
6703 aiStyle = 7;
6704 damage = 10;
6705 defense = 15;
6706 lifeMax = 250;
6709 knockBackResist = 0.5f;
6710 }
6711 else if (type == 209)
6712 {
6713 townNPC = true;
6714 friendly = true;
6715 width = 18;
6716 height = 40;
6717 aiStyle = 7;
6718 damage = 10;
6719 defense = 15;
6720 lifeMax = 250;
6723 knockBackResist = 0.5f;
6724 }
6725 else if (type == 210)
6726 {
6727 width = 12;
6728 height = 12;
6729 aiStyle = 5;
6730 damage = 20;
6731 defense = 5;
6732 lifeMax = 20;
6734 knockBackResist = 0.5f;
6736 noGravity = true;
6737 }
6738 else if (type == 211)
6739 {
6740 width = 8;
6741 height = 8;
6742 aiStyle = 5;
6743 damage = 15;
6744 defense = 2;
6745 lifeMax = 10;
6747 knockBackResist = 0.5f;
6749 noGravity = true;
6750 }
6751 else if (type == 212)
6752 {
6753 width = 18;
6754 height = 40;
6755 aiStyle = 3;
6756 damage = 35;
6757 defense = 17;
6758 lifeMax = 300;
6761 knockBackResist = 0.4f;
6762 value = 700f;
6763 }
6764 else if (type == 213)
6765 {
6766 width = 18;
6767 height = 40;
6768 aiStyle = 3;
6769 damage = 50;
6770 defense = 22;
6771 lifeMax = 450;
6774 knockBackResist = 0.2f;
6775 value = 1000f;
6776 }
6777 else if (type == 214)
6778 {
6779 width = 18;
6780 height = 40;
6781 aiStyle = 3;
6782 damage = 30;
6783 defense = 14;
6784 lifeMax = 225;
6787 knockBackResist = 0.3f;
6788 value = 1000f;
6789 }
6790 else if (type == 215)
6791 {
6792 width = 18;
6793 height = 40;
6794 aiStyle = 3;
6795 damage = 35;
6796 defense = 20;
6797 lifeMax = 350;
6800 knockBackResist = 0.35f;
6801 value = 1500f;
6802 }
6803 else if (type == 216)
6804 {
6805 width = 18;
6806 height = 40;
6807 aiStyle = 3;
6808 damage = 70;
6809 defense = 30;
6810 lifeMax = 3000;
6813 knockBackResist = 0f;
6814 value = 50000f;
6815 rarity = 1;
6816 }
6817 else if (type == 217)
6818 {
6819 width = 28;
6820 height = 20;
6821 aiStyle = 3;
6822 damage = 20;
6823 defense = 10;
6824 lifeMax = 40;
6827 value = 60f;
6828 rarity = 1;
6829 }
6830 else if (type == 218)
6831 {
6832 width = 28;
6833 height = 20;
6834 aiStyle = 3;
6835 damage = 20;
6836 defense = 10;
6837 lifeMax = 40;
6840 value = 60f;
6841 rarity = 1;
6842 }
6843 else if (type == 219)
6844 {
6845 width = 28;
6846 height = 20;
6847 aiStyle = 3;
6848 damage = 20;
6849 defense = 10;
6850 lifeMax = 40;
6853 value = 60f;
6854 rarity = 1;
6855 }
6856 else if (type == 220)
6857 {
6858 width = 28;
6859 height = 20;
6860 aiStyle = 3;
6861 damage = 20;
6862 defense = 10;
6863 lifeMax = 40;
6866 value = 60f;
6867 rarity = 2;
6868 }
6869 else if (type == 221)
6870 {
6871 noGravity = true;
6872 width = 26;
6873 height = 26;
6874 aiStyle = 18;
6875 damage = 20;
6876 defense = 2;
6877 lifeMax = 30;
6880 value = 100f;
6881 alpha = 20;
6882 rarity = 1;
6883 }
6884 else if (type == 222)
6885 {
6886 width = 66;
6887 height = 66;
6888 aiStyle = 43;
6889 damage = 30;
6890 defense = 8;
6891 lifeMax = 3400;
6894 knockBackResist = 0f;
6895 noGravity = true;
6896 noTileCollide = true;
6898 boss = true;
6899 value = 50000f;
6900 npcSlots = 7f;
6901 }
6902 else if (type == 223)
6903 {
6904 width = 18;
6905 height = 40;
6906 aiStyle = 3;
6907 damage = 16;
6908 defense = 8;
6909 lifeMax = 50;
6912 knockBackResist = 0.45f;
6913 value = 70f;
6914 }
6915 else if (type == 224)
6916 {
6917 width = 32;
6918 height = 18;
6919 aiStyle = 44;
6920 damage = 9;
6921 defense = 4;
6922 lifeMax = 20;
6924 knockBackResist = 0.8f;
6926 value = 300f;
6927 }
6928 if (type == 225)
6929 {
6930 width = 38;
6931 height = 26;
6932 aiStyle = 1;
6933 damage = 10;
6934 defense = 5;
6935 lifeMax = 35;
6938 knockBackResist = 0.75f;
6939 value = 200f;
6940 }
6941 else if (type == 226)
6942 {
6943 npcSlots = 0.5f;
6944 width = 34;
6945 height = 50;
6946 aiStyle = 14;
6947 damage = 85;
6948 defense = 28;
6949 lifeMax = 260;
6951 knockBackResist = 0.65f;
6953 value = 400f;
6954 }
6955 else if (type == 227)
6956 {
6957 townNPC = true;
6958 friendly = true;
6959 width = 18;
6960 height = 40;
6961 aiStyle = 7;
6962 damage = 10;
6963 defense = 15;
6964 lifeMax = 250;
6967 knockBackResist = 0.5f;
6968 }
6969 else if (type == 228)
6970 {
6971 townNPC = true;
6972 friendly = true;
6973 width = 18;
6974 height = 40;
6975 aiStyle = 7;
6976 damage = 10;
6977 defense = 15;
6978 lifeMax = 250;
6981 knockBackResist = 0.5f;
6982 }
6983 else if (type == 229)
6984 {
6985 townNPC = true;
6986 friendly = true;
6987 width = 18;
6988 height = 40;
6989 aiStyle = 7;
6990 damage = 10;
6991 defense = 15;
6992 lifeMax = 250;
6995 knockBackResist = 0.5f;
6996 }
6997 else if (type == 230)
6998 {
6999 width = 18;
7000 height = 20;
7001 aiStyle = 7;
7002 damage = 0;
7003 defense = 0;
7004 lifeMax = 5;
7007 catchItem = 261;
7008 }
7009 else if (type == 231)
7010 {
7011 width = 34;
7012 height = 32;
7013 aiStyle = 5;
7014 damage = 22;
7015 defense = 16;
7016 lifeMax = 50;
7018 knockBackResist = 0.3f;
7020 value = 200f;
7021 noGravity = true;
7022 }
7023 else if (type == 232)
7024 {
7025 width = 34;
7026 height = 32;
7027 aiStyle = 5;
7028 damage = 28;
7029 defense = 12;
7030 lifeMax = 42;
7032 knockBackResist = 0.6f;
7034 value = 200f;
7035 noGravity = true;
7036 }
7037 else if (type == 233)
7038 {
7039 width = 34;
7040 height = 32;
7041 aiStyle = 5;
7042 damage = 30;
7043 defense = 14;
7044 lifeMax = 38;
7046 knockBackResist = 0.45f;
7048 value = 200f;
7049 noGravity = true;
7050 }
7051 else if (type == 234)
7052 {
7053 width = 34;
7054 height = 32;
7055 aiStyle = 5;
7056 damage = 32;
7057 defense = 6;
7058 lifeMax = 42;
7060 knockBackResist = 0.55f;
7062 value = 200f;
7063 noGravity = true;
7064 }
7065 else if (type == 235)
7066 {
7067 width = 34;
7068 height = 32;
7069 aiStyle = 5;
7070 damage = 34;
7071 defense = 4;
7072 lifeMax = 38;
7074 knockBackResist = 0.6f;
7076 value = 200f;
7077 noGravity = true;
7078 }
7079 else if (type == 236)
7080 {
7081 width = 50;
7082 height = 20;
7083 aiStyle = 3;
7084 damage = 100;
7085 defense = 28;
7086 lifeMax = 400;
7089 knockBackResist = 0.25f;
7090 value = 1000f;
7092 npcSlots = 0.75f;
7093 }
7094 else if (type == 237)
7095 {
7096 noGravity = true;
7097 width = 36;
7098 height = 36;
7099 aiStyle = 40;
7100 damage = 100;
7101 defense = 28;
7102 lifeMax = 400;
7105 knockBackResist = 0.25f;
7106 value = 1000f;
7108 npcSlots = 0.75f;
7109 }
7110 else if (type == 239)
7111 {
7112 width = 50;
7113 height = 20;
7114 aiStyle = 3;
7115 damage = 30;
7116 defense = 8;
7117 lifeMax = 60;
7120 knockBackResist = 0.5f;
7121 value = 130f;
7123 }
7124 else if (type == 240)
7125 {
7126 noGravity = true;
7127 width = 36;
7128 height = 36;
7129 aiStyle = 40;
7130 damage = 30;
7131 defense = 8;
7132 lifeMax = 60;
7135 knockBackResist = 0.5f;
7136 value = 130f;
7138 }
7139 else if (type == 241)
7140 {
7141 npcSlots = 0.5f;
7142 noGravity = true;
7143 width = 18;
7144 height = 20;
7145 aiStyle = 16;
7146 damage = 50;
7147 defense = 20;
7148 lifeMax = 150;
7151 value = 500f;
7152 }
7153 else if (type == 242)
7154 {
7155 noGravity = true;
7156 width = 26;
7157 height = 26;
7158 aiStyle = 18;
7159 damage = 75;
7160 defense = 20;
7161 lifeMax = 150;
7164 value = 800f;
7165 alpha = 20;
7166 }
7167 else if (type == 243)
7168 {
7169 width = 30;
7170 height = 114;
7171 aiStyle = 3;
7172 damage = 60;
7173 defense = 32;
7174 lifeMax = 4000;
7177 knockBackResist = 0.05f;
7178 value = Item.buyPrice(0, 1, 50);
7179 coldDamage = true;
7180 rarity = 2;
7181 }
7182 else if (type == 244)
7183 {
7184 width = 60;
7185 height = 42;
7186 aiStyle = 1;
7187 damage = 85;
7188 defense = 26;
7189 lifeMax = 400;
7192 alpha = 175;
7193 value = Item.buyPrice(0, 0, 20);
7194 knockBackResist = 0.3f;
7195 rarity = 1;
7196 }
7197 else if (type == 245)
7198 {
7199 width = 140;
7200 height = 140;
7201 aiStyle = 45;
7202 damage = 72;
7203 defense = 26;
7204 lifeMax = 15000;
7207 knockBackResist = 0f;
7208 value = Item.buyPrice(0, 15);
7209 alpha = 255;
7210 boss = true;
7211 npcSlots = 5f;
7212 }
7213 else if (type == 246)
7214 {
7215 noGravity = true;
7216 width = 70;
7217 height = 70;
7218 aiStyle = 46;
7219 damage = 64;
7220 defense = 20;
7221 lifeMax = 25000;
7223 DeathSound = null;
7224 knockBackResist = 0f;
7225 alpha = 255;
7226 }
7227 else if (type == 247 || type == 248)
7228 {
7229 noGravity = true;
7230 width = 40;
7231 height = 30;
7232 aiStyle = 47;
7233 damage = 59;
7234 defense = 28;
7235 lifeMax = 10000;
7238 alpha = 255;
7239 knockBackResist = 0f;
7240 }
7241 else if (type == 249)
7242 {
7243 noGravity = true;
7244 width = 70;
7245 height = 70;
7246 aiStyle = 48;
7247 damage = 80;
7248 defense = 32;
7249 lifeMax = 16000;
7252 knockBackResist = 0f;
7253 dontTakeDamage = true;
7254 }
7255 else if (type == 250)
7256 {
7257 width = 34;
7258 height = 26;
7259 aiStyle = 49;
7260 damage = 50;
7261 defense = 24;
7262 lifeMax = 300;
7265 knockBackResist = 0.3f;
7266 value = 300f;
7267 }
7268 else if (type == 251)
7269 {
7270 width = 18;
7271 height = 40;
7272 aiStyle = 3;
7273 damage = 50;
7274 defense = 30;
7275 lifeMax = 1000;
7278 knockBackResist = 0.3f;
7279 value = Item.buyPrice(0, 0, 50);
7280 rarity = 2;
7281 }
7282 else if (type == 252)
7283 {
7284 noGravity = true;
7285 npcSlots = 0.5f;
7286 width = 32;
7287 height = 32;
7288 aiStyle = 5;
7289 damage = 80;
7290 defense = 12;
7291 lifeMax = 100;
7293 knockBackResist = 0.7f;
7295 value = 500f;
7296 }
7297 else if (type == 254)
7298 {
7299 width = 18;
7300 height = 40;
7301 aiStyle = 3;
7302 damage = 40;
7303 defense = 10;
7304 lifeMax = 180;
7307 knockBackResist = 0.4f;
7308 value = 1000f;
7309 }
7310 else if (type == 255)
7311 {
7312 width = 18;
7313 height = 40;
7314 aiStyle = 3;
7315 damage = 38;
7316 defense = 16;
7317 lifeMax = 220;
7320 knockBackResist = 0.3f;
7321 value = 1200f;
7322 }
7323 else if (type == 256)
7324 {
7325 noGravity = true;
7326 width = 26;
7327 height = 26;
7328 aiStyle = 18;
7329 damage = 90;
7330 defense = 20;
7331 lifeMax = 140;
7334 value = 1200f;
7335 alpha = 20;
7336 npcSlots = 0.3f;
7337 }
7338 else if (type == 257)
7339 {
7340 width = 44;
7341 height = 34;
7342 aiStyle = 3;
7343 damage = 38;
7344 defense = 24;
7345 lifeMax = 230;
7348 knockBackResist = 0.3f;
7349 value = 1300f;
7350 npcSlots = 0.3f;
7351 }
7352 else if (type == 258)
7353 {
7354 width = 30;
7355 height = 24;
7356 aiStyle = 3;
7357 damage = 60;
7358 defense = 16;
7359 lifeMax = 220;
7362 knockBackResist = 0.3f;
7363 value = 1500f;
7364 npcSlots = 0.3f;
7365 }
7366 else if (type == 259)
7367 {
7368 noGravity = true;
7369 noTileCollide = true;
7370 width = 20;
7371 height = 20;
7372 aiStyle = 13;
7373 damage = 24;
7374 defense = 4;
7375 lifeMax = 90;
7377 knockBackResist = 0f;
7379 value = 350f;
7380 npcSlots = 0.3f;
7381 }
7382 else if (type == 260)
7383 {
7384 noGravity = true;
7385 noTileCollide = true;
7386 width = 36;
7387 height = 36;
7388 aiStyle = 13;
7389 damage = 70;
7390 defense = 20;
7391 lifeMax = 300;
7393 knockBackResist = 0f;
7395 value = 1250f;
7396 npcSlots = 0.3f;
7397 }
7398 else if (type == 261)
7399 {
7400 width = 12;
7401 height = 12;
7402 aiStyle = 50;
7403 damage = 80;
7404 defense = 0;
7405 lifeMax = 1;
7408 noGravity = true;
7409 noTileCollide = true;
7410 knockBackResist = 0f;
7411 npcSlots = 0f;
7412 }
7413 else if (type == 262)
7414 {
7415 noTileCollide = true;
7416 width = 86;
7417 height = 86;
7418 aiStyle = 51;
7419 damage = 50;
7420 defense = 14;
7421 lifeMax = 30000;
7424 knockBackResist = 0f;
7425 value = Item.buyPrice(0, 15);
7426 noGravity = true;
7427 boss = true;
7428 npcSlots = 16f;
7429 }
7430 else if (type == 263)
7431 {
7432 noTileCollide = true;
7433 noGravity = true;
7434 width = 40;
7435 height = 40;
7436 aiStyle = 52;
7437 damage = 60;
7438 defense = 24;
7439 lifeMax = 4000;
7440 dontTakeDamage = true;
7443 }
7444 else if (type == 264)
7445 {
7446 width = 24;
7447 height = 24;
7448 aiStyle = 53;
7449 damage = 60;
7450 defense = 20;
7451 lifeMax = 1000;
7454 noGravity = true;
7455 noTileCollide = true;
7456 }
7457 else if (type == 265)
7458 {
7459 width = 18;
7460 height = 18;
7461 aiStyle = 50;
7462 damage = 70;
7463 defense = 0;
7464 lifeMax = 1;
7467 noGravity = true;
7468 noTileCollide = true;
7469 knockBackResist = 0f;
7470 npcSlots = 0f;
7471 }
7472 else if (type == 266)
7473 {
7474 dontTakeDamage = true;
7475 width = 160;
7476 height = 110;
7477 aiStyle = 54;
7478 damage = 30;
7479 defense = 14;
7480 lifeMax = 1250;
7483 knockBackResist = 0.45f;
7484 noGravity = true;
7485 noTileCollide = true;
7487 boss = true;
7488 value = 50000f;
7489 npcSlots = 6f;
7490 }
7491 else if (type == 267)
7492 {
7493 width = 30;
7494 height = 30;
7495 aiStyle = 55;
7496 damage = 20;
7497 defense = 10;
7498 lifeMax = 100;
7501 noGravity = true;
7502 noTileCollide = true;
7503 knockBackResist = 0.8f;
7504 }
7505 else if (type == 268)
7506 {
7507 noGravity = true;
7508 width = 28;
7509 height = 56;
7510 aiStyle = 22;
7511 damage = 55;
7512 defense = 20;
7513 lifeMax = 340;
7516 knockBackResist = 0.6f;
7517 value = 450f;
7518 }
7519 else if (type == 269)
7520 {
7521 width = 18;
7522 height = 40;
7523 aiStyle = 3;
7524 damage = 70;
7525 defense = 34;
7526 lifeMax = 550;
7529 knockBackResist = 0.3f;
7530 value = 1000f;
7531 }
7532 else if (type == 270)
7533 {
7534 width = 18;
7535 height = 40;
7536 aiStyle = 3;
7537 damage = 55;
7538 defense = 50;
7539 lifeMax = 400;
7542 knockBackResist = 0.2f;
7543 value = 1000f;
7544 }
7545 else if (type == 271)
7546 {
7547 width = 18;
7548 height = 40;
7549 aiStyle = 3;
7550 damage = 70;
7551 defense = 40;
7552 lifeMax = 450;
7555 knockBackResist = 0.25f;
7556 value = 1000f;
7557 }
7558 else if (type == 272)
7559 {
7560 width = 18;
7561 height = 40;
7562 aiStyle = 3;
7563 damage = 75;
7564 defense = 28;
7565 lifeMax = 400;
7568 knockBackResist = 0.35f;
7569 value = 1000f;
7570 }
7571 else if (type == 273)
7572 {
7573 width = 18;
7574 height = 40;
7575 aiStyle = 3;
7576 damage = 45;
7577 defense = 50;
7578 lifeMax = 500;
7581 knockBackResist = 0.15f;
7582 value = 1000f;
7583 }
7584 else if (type == 274)
7585 {
7586 width = 18;
7587 height = 40;
7588 aiStyle = 3;
7589 damage = 65;
7590 defense = 34;
7591 lifeMax = 350;
7594 knockBackResist = 0.4f;
7595 value = 1000f;
7596 }
7597 else if (type == 275)
7598 {
7599 width = 18;
7600 height = 40;
7601 aiStyle = 3;
7602 damage = 45;
7603 defense = 50;
7604 lifeMax = 550;
7607 knockBackResist = 0.15f;
7608 value = 1000f;
7609 }
7610 else if (type == 276)
7611 {
7612 width = 18;
7613 height = 40;
7614 aiStyle = 3;
7615 damage = 85;
7616 defense = 54;
7617 lifeMax = 500;
7620 knockBackResist = 0.2f;
7621 value = 1000f;
7622 }
7623 else if (type == 277)
7624 {
7625 width = 18;
7626 height = 40;
7627 aiStyle = 3;
7628 damage = 70;
7629 defense = 32;
7630 lifeMax = 400;
7633 knockBackResist = 0.4f;
7634 value = 1000f;
7635 }
7636 else if (type == 278)
7637 {
7638 width = 18;
7639 height = 40;
7640 aiStyle = 3;
7641 damage = 65;
7642 defense = 48;
7643 lifeMax = 450;
7646 knockBackResist = 0.3f;
7647 value = 1000f;
7648 }
7649 else if (type == 279)
7650 {
7651 width = 18;
7652 height = 40;
7653 aiStyle = 3;
7654 damage = 40;
7655 defense = 54;
7656 lifeMax = 500;
7659 knockBackResist = 0.2f;
7660 value = 1000f;
7661 }
7662 else if (type == 280)
7663 {
7664 width = 18;
7665 height = 40;
7666 aiStyle = 3;
7667 damage = 75;
7668 defense = 34;
7669 lifeMax = 500;
7672 knockBackResist = 0.4f;
7673 value = 1000f;
7674 }
7675 else if (type == 281)
7676 {
7677 width = 18;
7678 height = 40;
7679 aiStyle = 8;
7680 damage = 40;
7681 defense = 20;
7682 lifeMax = 400;
7685 knockBackResist = 0.6f;
7686 value = 1500f;
7687 npcSlots = 2f;
7688 }
7689 else if (type == 282)
7690 {
7691 width = 18;
7692 height = 40;
7693 aiStyle = 8;
7694 damage = 35;
7695 defense = 28;
7696 lifeMax = 450;
7699 knockBackResist = 0.5f;
7700 value = 1500f;
7701 npcSlots = 2f;
7702 }
7703 else if (type == 283)
7704 {
7705 width = 18;
7706 height = 40;
7707 aiStyle = 8;
7708 damage = 50;
7709 defense = 18;
7710 lifeMax = 300;
7713 knockBackResist = 0.55f;
7714 value = 1500f;
7715 npcSlots = 2f;
7716 }
7717 else if (type == 284)
7718 {
7719 width = 18;
7720 height = 40;
7721 aiStyle = 8;
7722 damage = 35;
7723 defense = 24;
7724 lifeMax = 450;
7727 knockBackResist = 0.5f;
7728 value = 1500f;
7729 npcSlots = 2f;
7730 }
7731 else if (type == 285)
7732 {
7733 width = 18;
7734 height = 40;
7735 aiStyle = 8;
7736 damage = 50;
7737 defense = 12;
7738 lifeMax = 200;
7741 knockBackResist = 0.7f;
7742 value = 1500f;
7743 npcSlots = 2f;
7744 }
7745 else if (type == 286)
7746 {
7747 width = 18;
7748 height = 40;
7749 aiStyle = 8;
7750 damage = 60;
7751 defense = 10;
7752 lifeMax = 250;
7755 knockBackResist = 0.65f;
7756 value = 1500f;
7757 npcSlots = 2f;
7758 }
7759 else if (type == 287)
7760 {
7761 width = 18;
7762 height = 40;
7763 aiStyle = 3;
7764 damage = 90;
7765 defense = 42;
7766 lifeMax = 1000;
7769 knockBackResist = 0.3f;
7770 value = 2000f;
7771 rarity = 1;
7772 }
7773 else if (type == 288)
7774 {
7775 width = 20;
7776 height = 20;
7777 aiStyle = 56;
7778 damage = 70;
7779 defense = 30;
7780 lifeMax = 200;
7781 knockBackResist = 0.2f;
7784 value = 500f;
7785 noTileCollide = true;
7786 noGravity = true;
7787 }
7788 else if (type == 289)
7789 {
7790 width = 44;
7791 height = 44;
7792 aiStyle = 10;
7793 damage = 60;
7794 defense = 20;
7795 lifeMax = 400;
7798 noGravity = true;
7799 noTileCollide = true;
7800 value = 150f;
7801 knockBackResist = 0.2f;
7802 npcSlots = 0.75f;
7803 }
7804 else if (type == 290)
7805 {
7806 width = 34;
7807 height = 62;
7808 aiStyle = 3;
7809 damage = 100;
7810 defense = 50;
7811 lifeMax = 5000;
7814 knockBackResist = 0f;
7815 value = 50000f;
7816 rarity = 2;
7817 }
7818 else if (type == 291)
7819 {
7820 width = 18;
7821 height = 40;
7822 aiStyle = 3;
7823 damage = 60;
7824 defense = 28;
7825 lifeMax = 400;
7828 knockBackResist = 0.4f;
7829 value = 1000f;
7830 rarity = 1;
7831 }
7832 else if (type == 292)
7833 {
7834 width = 18;
7835 height = 40;
7836 aiStyle = 3;
7837 damage = 60;
7838 defense = 28;
7839 lifeMax = 400;
7842 knockBackResist = 0.4f;
7843 value = 1000f;
7844 rarity = 1;
7845 }
7846 else if (type == 293)
7847 {
7848 width = 18;
7849 height = 40;
7850 aiStyle = 3;
7851 damage = 60;
7852 defense = 28;
7853 lifeMax = 400;
7856 knockBackResist = 0.4f;
7857 value = 1000f;
7858 rarity = 1;
7859 }
7860 else if (type == 294)
7861 {
7862 width = 18;
7863 height = 40;
7864 aiStyle = 3;
7865 damage = 34;
7866 defense = 6;
7867 lifeMax = 70;
7870 knockBackResist = 0.9f;
7871 value = 130f;
7872 }
7873 else if (type == 295)
7874 {
7875 width = 18;
7876 height = 40;
7877 aiStyle = 3;
7878 damage = 28;
7879 defense = 12;
7880 lifeMax = 70;
7883 knockBackResist = 0.7f;
7884 value = 130f;
7885 }
7886 else if (type == 296)
7887 {
7888 width = 18;
7889 height = 40;
7890 aiStyle = 3;
7891 damage = 24;
7892 defense = 14;
7893 lifeMax = 120;
7896 knockBackResist = 0.6f;
7897 value = 130f;
7898 }
7899 else if (type == 299)
7900 {
7901 width = 18;
7902 height = 20;
7903 aiStyle = 7;
7904 damage = 0;
7905 defense = 0;
7906 lifeMax = 5;
7909 catchItem = 2018;
7910 }
7911 else if (type == 300)
7912 {
7913 width = 14;
7914 height = 12;
7915 aiStyle = 7;
7916 damage = 0;
7917 defense = 0;
7918 lifeMax = 5;
7921 npcSlots = 0.25f;
7922 catchItem = 2003;
7923 }
7924 else if (type == 301)
7925 {
7926 width = 36;
7927 height = 26;
7928 aiStyle = 17;
7929 damage = 12;
7930 defense = 2;
7931 lifeMax = 35;
7933 knockBackResist = 0.85f;
7935 value = 50f;
7936 }
7937 if (type == 302)
7938 {
7939 width = 24;
7940 height = 18;
7941 aiStyle = 1;
7942 damage = 7;
7943 defense = 2;
7944 lifeMax = 25;
7947 value = 25f;
7948 }
7949 else if (type == 304)
7950 {
7951 width = 34;
7952 height = 28;
7953 aiStyle = 1;
7954 damage = 80;
7955 defense = 20;
7956 lifeMax = 175;
7959 value = 500f;
7960 scale = 1.1f;
7961 knockBackResist = 0.5f;
7962 npcSlots = 0.3f;
7963 }
7964 else if (type >= 305 && type <= 314)
7965 {
7966 width = 18;
7967 height = 40;
7968 aiStyle = 3;
7971 value = 1200f;
7972 npcSlots = 0.5f;
7973 if (type == 305 || type == 310)
7974 {
7975 damage = 60;
7976 defense = 18;
7977 lifeMax = 500;
7978 knockBackResist = 0.4f;
7979 }
7980 else if (type == 306 || type == 311)
7981 {
7982 damage = 52;
7983 defense = 14;
7984 lifeMax = 400;
7985 knockBackResist = 0.2f;
7986 scale = 1.05f;
7987 }
7988 else if (type == 307 || type == 312)
7989 {
7990 damage = 78;
7991 defense = 16;
7992 lifeMax = 600;
7993 knockBackResist = 0.25f;
7994 scale = 0.9f;
7995 }
7996 else if (type == 308 || type == 313)
7997 {
7998 damage = 66;
7999 defense = 14;
8000 lifeMax = 650;
8001 knockBackResist = 0.35f;
8002 scale = 0.95f;
8003 }
8004 else if (type == 309 || type == 314)
8005 {
8006 damage = 52;
8007 defense = 26;
8008 lifeMax = 450;
8009 knockBackResist = 0.5f;
8010 scale = 1.1f;
8011 }
8012 }
8013 else if (type == 315)
8014 {
8015 width = 74;
8016 height = 70;
8017 aiStyle = 26;
8018 damage = 130;
8019 defense = 40;
8020 lifeMax = 5000;
8023 knockBackResist = 0f;
8024 value = 10000f;
8025 }
8026 else if (type == 316)
8027 {
8028 noGravity = true;
8029 noTileCollide = true;
8030 width = 24;
8031 height = 44;
8032 aiStyle = 22;
8033 damage = 15;
8034 defense = 4;
8035 lifeMax = 50;
8038 alpha = 100;
8039 value = 90f;
8040 knockBackResist = 0.5f;
8041 }
8042 else if (type == 317)
8043 {
8044 width = 30;
8045 height = 32;
8046 aiStyle = 2;
8047 damage = 16;
8048 defense = 6;
8049 lifeMax = 75;
8051 knockBackResist = 0.7f;
8053 value = 100f;
8054 }
8055 else if (type == 318)
8056 {
8057 width = 30;
8058 height = 32;
8059 aiStyle = 2;
8060 damage = 20;
8061 defense = 4;
8062 lifeMax = 60;
8064 knockBackResist = 0.65f;
8066 value = 100f;
8067 }
8068 else if (type == 319)
8069 {
8070 width = 18;
8071 height = 40;
8072 aiStyle = 3;
8073 damage = 20;
8074 defense = 6;
8075 lifeMax = 40;
8078 knockBackResist = 0.6f;
8079 value = 85f;
8080 scale = 0.9f;
8081 }
8082 else if (type == 320)
8083 {
8084 width = 18;
8085 height = 40;
8086 aiStyle = 3;
8087 damage = 15;
8088 defense = 8;
8089 lifeMax = 60;
8092 knockBackResist = 0.5f;
8093 value = 105f;
8094 scale = 1.05f;
8095 }
8096 else if (type == 321)
8097 {
8098 width = 18;
8099 height = 40;
8100 aiStyle = 3;
8101 damage = 20;
8102 defense = 14;
8103 lifeMax = 34;
8106 knockBackResist = 0.3f;
8107 value = 120f;
8108 scale = 1.1f;
8109 }
8110 else if (type == 322)
8111 {
8112 width = 18;
8113 height = 40;
8114 aiStyle = 3;
8115 damage = 23;
8116 defense = 0;
8117 lifeMax = 115;
8120 knockBackResist = 0.65f;
8121 value = 130f;
8122 }
8123 else if (type == 323)
8124 {
8125 width = 18;
8126 height = 40;
8127 aiStyle = 3;
8128 damage = 18;
8129 defense = 10;
8130 lifeMax = 65;
8133 knockBackResist = 0.5f;
8134 value = 120f;
8135 }
8136 else if (type == 324)
8137 {
8138 width = 18;
8139 height = 40;
8140 aiStyle = 3;
8141 damage = 22;
8142 defense = 10;
8143 lifeMax = 70;
8146 knockBackResist = 0.4f;
8147 value = 130f;
8148 scale = 1.05f;
8149 }
8150 else if (type == 325)
8151 {
8152 width = 164;
8153 height = 154;
8154 aiStyle = 57;
8155 damage = 120;
8156 defense = 34;
8157 lifeMax = 14000;
8160 knockBackResist = 0f;
8161 value = 10000f;
8162 npcSlots = 3f;
8163 }
8164 else if (type == 326)
8165 {
8166 width = 18;
8167 height = 40;
8168 aiStyle = 3;
8169 damage = 100;
8170 defense = 32;
8171 lifeMax = 1200;
8174 knockBackResist = 0.2f;
8175 value = 2000f;
8176 }
8177 else if (type == 327)
8178 {
8179 width = 100;
8180 height = 100;
8181 aiStyle = 58;
8182 damage = 50;
8183 defense = 40;
8184 lifeMax = 26000;
8187 noGravity = true;
8188 noTileCollide = true;
8189 value = 50000f;
8190 knockBackResist = 0f;
8191 npcSlots = 5f;
8192 }
8193 else if (type == 328)
8194 {
8195 width = 80;
8196 height = 80;
8197 aiStyle = 59;
8198 damage = 65;
8199 defense = 14;
8200 lifeMax = 5000;
8203 noGravity = true;
8204 noTileCollide = true;
8205 knockBackResist = 0f;
8206 dontTakeDamage = true;
8207 npcSlots = 0f;
8208 dontCountMe = true;
8209 }
8210 else if (type == 329)
8211 {
8212 width = 46;
8213 height = 30;
8214 aiStyle = 26;
8215 damage = 80;
8216 defense = 38;
8217 lifeMax = 1800;
8220 knockBackResist = 0.3f;
8221 value = 3000f;
8222 }
8223 else if (type == 330)
8224 {
8225 noGravity = true;
8226 noTileCollide = true;
8227 width = 24;
8228 height = 44;
8229 aiStyle = 22;
8230 damage = 90;
8231 defense = 44;
8232 lifeMax = 1250;
8235 alpha = 100;
8236 value = 4500f;
8237 knockBackResist = 0.4f;
8238 }
8239 else if (type == 331)
8240 {
8241 width = 18;
8242 height = 40;
8243 aiStyle = 3;
8244 damage = 14;
8245 defense = 6;
8246 lifeMax = 45;
8249 knockBackResist = 0.5f;
8250 value = 60f;
8251 }
8252 else if (type == 332)
8253 {
8254 width = 18;
8255 height = 40;
8256 aiStyle = 3;
8257 damage = 14;
8258 defense = 6;
8259 lifeMax = 45;
8262 knockBackResist = 0.5f;
8263 value = 60f;
8264 }
8265 if (type == 333)
8266 {
8267 width = 24;
8268 height = 18;
8269 aiStyle = 1;
8270 damage = 7;
8271 defense = 2;
8272 lifeMax = 25;
8275 value = 25f;
8276 }
8277 if (type == 334)
8278 {
8279 width = 24;
8280 height = 18;
8281 aiStyle = 1;
8282 damage = 6;
8283 defense = 2;
8284 lifeMax = 23;
8287 scale = 0.9f;
8288 value = 25f;
8289 }
8290 if (type == 335)
8291 {
8292 width = 24;
8293 height = 18;
8294 aiStyle = 1;
8295 damage = 8;
8296 defense = 3;
8297 lifeMax = 29;
8298 scale = 1.05f;
8301 value = 25f;
8302 }
8303 if (type == 336)
8304 {
8305 width = 24;
8306 height = 18;
8307 aiStyle = 1;
8308 damage = 5;
8309 defense = 1;
8310 lifeMax = 22;
8311 scale = 0.85f;
8314 value = 25f;
8315 }
8316 else if (type >= 338 && type <= 340)
8317 {
8318 width = 18;
8319 height = 40;
8320 aiStyle = 3;
8323 value = 1200f;
8324 npcSlots = 0.5f;
8325 if (type == 338)
8326 {
8327 damage = 65;
8328 defense = 18;
8329 lifeMax = 600;
8330 knockBackResist = 0.4f;
8331 }
8332 else if (type == 339)
8333 {
8334 damage = 52;
8335 defense = 24;
8336 lifeMax = 700;
8337 knockBackResist = 0.2f;
8338 scale = 1.05f;
8339 }
8340 else if (type == 340)
8341 {
8342 damage = 78;
8343 defense = 14;
8344 lifeMax = 500;
8345 knockBackResist = 0.25f;
8346 scale = 0.9f;
8347 }
8348 }
8349 else if (type == 341)
8350 {
8351 width = 24;
8352 height = 24;
8353 aiStyle = 25;
8354 damage = 100;
8355 defense = 32;
8356 lifeMax = 900;
8359 value = Item.buyPrice(0, 0, 20);
8360 knockBackResist = 0.25f;
8361 }
8362 else if (type == 342)
8363 {
8364 width = 18;
8365 height = 40;
8366 aiStyle = 3;
8367 damage = 90;
8368 defense = 26;
8369 lifeMax = 750;
8372 knockBackResist = 0.2f;
8373 value = 1800f;
8374 }
8375 else if (type == 343)
8376 {
8377 width = 38;
8378 height = 78;
8379 aiStyle = 3;
8380 damage = 140;
8381 defense = 50;
8382 lifeMax = 3500;
8385 knockBackResist = 0f;
8386 value = 3000f;
8387 npcSlots = 2f;
8388 coldDamage = true;
8389 }
8390 else if (type == 344)
8391 {
8392 width = 172;
8393 height = 130;
8394 aiStyle = 57;
8395 damage = 110;
8396 defense = 38;
8397 lifeMax = 13000;
8400 knockBackResist = 0f;
8401 value = 10000f;
8402 npcSlots = 3f;
8403 }
8404 else if (type == 345)
8405 {
8406 width = 130;
8407 height = 140;
8408 aiStyle = 60;
8409 damage = 120;
8410 defense = 38;
8411 lifeMax = 34000;
8414 knockBackResist = 0f;
8415 value = 50000f;
8416 noTileCollide = true;
8417 noGravity = true;
8418 npcSlots = 5f;
8419 coldDamage = true;
8420 }
8421 else if (type == 346)
8422 {
8423 width = 112;
8424 height = 140;
8425 aiStyle = 61;
8426 damage = 120;
8427 defense = 56;
8428 lifeMax = 18000;
8431 knockBackResist = 0f;
8432 value = 10000f;
8433 npcSlots = 4f;
8434 }
8435 else if (type == 347)
8436 {
8437 width = 50;
8438 height = 50;
8439 aiStyle = 62;
8440 damage = 60;
8441 defense = 28;
8442 lifeMax = 1200;
8444 knockBackResist = 0.4f;
8446 value = 1000f;
8447 noTileCollide = true;
8448 noGravity = true;
8449 npcSlots = 1.5f;
8450 }
8451 else if (type == 348)
8452 {
8453 width = 28;
8454 height = 76;
8455 aiStyle = 3;
8456 damage = 80;
8457 defense = 26;
8458 lifeMax = 1800;
8461 knockBackResist = 0.4f;
8462 value = 1500f;
8463 npcSlots = 1.5f;
8464 }
8465 else if (type == 349)
8466 {
8467 width = 28;
8468 height = 76;
8469 aiStyle = 3;
8470 damage = 100;
8471 defense = 42;
8472 lifeMax = 1800;
8475 knockBackResist = 0.1f;
8476 value = 1500f;
8477 npcSlots = 1.5f;
8478 }
8479 else if (type == 350)
8480 {
8481 width = 18;
8482 height = 40;
8483 aiStyle = 3;
8484 damage = 70;
8485 defense = 30;
8486 lifeMax = 900;
8489 knockBackResist = 0.45f;
8490 value = 900f;
8491 }
8492 else if (type == 351)
8493 {
8494 width = 18;
8495 height = 90;
8496 aiStyle = 3;
8497 damage = 100;
8498 defense = 40;
8499 lifeMax = 2500;
8502 knockBackResist = 0.1f;
8503 value = 3000f;
8504 npcSlots = 1.75f;
8505 }
8506 else if (type == 352)
8507 {
8508 width = 54;
8509 height = 54;
8510 aiStyle = 63;
8511 damage = 75;
8512 defense = 8;
8513 lifeMax = 450;
8516 value = 500f;
8517 knockBackResist = 0.4f;
8518 noGravity = true;
8519 noTileCollide = true;
8520 npcSlots = 2f;
8521 coldDamage = true;
8522 }
8523 else if (type == 353)
8524 {
8525 townNPC = true;
8526 friendly = true;
8527 width = 18;
8528 height = 40;
8529 aiStyle = 7;
8530 damage = 10;
8531 defense = 15;
8532 lifeMax = 250;
8535 knockBackResist = 0.5f;
8536 }
8537 else if (type == 354)
8538 {
8539 friendly = true;
8540 width = 18;
8541 height = 34;
8542 aiStyle = 0;
8543 damage = 10;
8544 defense = 15;
8545 lifeMax = 250;
8548 knockBackResist = 0.5f;
8549 scale = 0.9f;
8550 rarity = 1;
8551 }
8552 else if (type == 355)
8553 {
8554 width = 10;
8555 height = 10;
8556 aiStyle = 64;
8557 damage = 0;
8558 defense = 0;
8559 lifeMax = 5;
8562 npcSlots = 0.2f;
8563 noGravity = true;
8564 catchItem = 1992;
8565 }
8566 else if (type == 356)
8567 {
8568 width = 10;
8569 height = 10;
8570 aiStyle = 65;
8571 damage = 0;
8572 defense = 0;
8573 lifeMax = 5;
8576 npcSlots = 0.25f;
8577 noGravity = true;
8578 catchItem = 1994;
8579 }
8580 else if (type == 357)
8581 {
8582 width = 10;
8583 height = 4;
8584 aiStyle = 66;
8585 damage = 0;
8586 defense = 0;
8587 lifeMax = 5;
8590 npcSlots = 0.1f;
8591 catchItem = 2002;
8592 }
8593 else if (type == 358)
8594 {
8595 width = 12;
8596 height = 12;
8597 aiStyle = 64;
8598 damage = 0;
8599 defense = 0;
8600 lifeMax = 5;
8603 npcSlots = 0.2f;
8604 noGravity = true;
8605 catchItem = 2004;
8606 }
8607 else if (type == 359)
8608 {
8609 width = 12;
8610 height = 12;
8611 aiStyle = 67;
8612 damage = 0;
8613 defense = 0;
8614 lifeMax = 5;
8617 npcSlots = 0.5f;
8618 noGravity = true;
8619 catchItem = 2006;
8620 }
8621 else if (type == 360)
8622 {
8623 width = 14;
8624 height = 14;
8625 aiStyle = 67;
8626 damage = 0;
8627 defense = 0;
8628 lifeMax = 5;
8631 npcSlots = 0.5f;
8632 noGravity = true;
8633 catchItem = 2007;
8634 }
8635 else if (type == 361)
8636 {
8637 width = 12;
8638 height = 10;
8639 aiStyle = 7;
8640 damage = 0;
8641 defense = 0;
8642 lifeMax = 5;
8645 catchItem = 2121;
8646 }
8647 else if (type == 362)
8648 {
8649 width = 22;
8650 height = 26;
8651 aiStyle = 7;
8652 damage = 0;
8653 defense = 0;
8654 lifeMax = 5;
8657 catchItem = 2122;
8658 }
8659 else if (type == 363)
8660 {
8661 width = 28;
8662 height = 22;
8663 aiStyle = 68;
8664 damage = 0;
8665 defense = 0;
8666 lifeMax = 5;
8669 catchItem = 2122;
8670 }
8671 else if (type == 364)
8672 {
8673 width = 22;
8674 height = 26;
8675 aiStyle = 7;
8676 damage = 0;
8677 defense = 0;
8678 lifeMax = 5;
8681 catchItem = 2123;
8682 }
8683 else if (type == 365)
8684 {
8685 width = 28;
8686 height = 22;
8687 aiStyle = 68;
8688 damage = 0;
8689 defense = 0;
8690 lifeMax = 5;
8693 catchItem = 2123;
8694 }
8695 else if (type == 366 || type == 367)
8696 {
8697 width = 26;
8698 height = 18;
8699 aiStyle = 7;
8700 damage = 0;
8701 defense = 0;
8702 lifeMax = 5;
8705 catchItem = (short)(2156 + type - 366);
8706 }
8707 else if (type == 368)
8708 {
8709 townNPC = true;
8710 friendly = true;
8711 width = 18;
8712 height = 40;
8713 aiStyle = 7;
8714 damage = 10;
8715 defense = 15;
8716 lifeMax = 250;
8719 knockBackResist = 0.5f;
8720 }
8721 else if (type == 369)
8722 {
8723 townNPC = true;
8724 friendly = true;
8725 width = 18;
8726 height = 40;
8727 aiStyle = 7;
8728 damage = 10;
8729 defense = 15;
8730 lifeMax = 250;
8733 knockBackResist = 0.5f;
8734 }
8735 else if (type == 370)
8736 {
8737 width = 150;
8738 height = 100;
8739 aiStyle = 69;
8740 damage = 100;
8741 defense = 50;
8742 lifeMax = 60000;
8743 knockBackResist = 0f;
8744 noTileCollide = true;
8745 noGravity = true;
8746 npcSlots = 10f;
8749 value = 250000f;
8750 boss = true;
8751 netAlways = true;
8753 }
8754 else if (type == 371)
8755 {
8756 width = 36;
8757 height = 36;
8758 aiStyle = 70;
8759 damage = 100;
8760 defense = 0;
8761 lifeMax = 1;
8764 noGravity = true;
8765 noTileCollide = true;
8766 knockBackResist = 0f;
8767 alpha = 255;
8768 }
8769 else if (type == 372)
8770 {
8771 noGravity = true;
8772 width = 120;
8773 height = 24;
8774 aiStyle = 71;
8775 damage = 100;
8776 defense = 100;
8777 lifeMax = 100;
8780 knockBackResist = 0f;
8781 alpha = 255;
8782 }
8783 else if (type == 373)
8784 {
8785 noGravity = true;
8786 width = 100;
8787 height = 24;
8788 aiStyle = 71;
8789 damage = 120;
8790 defense = 100;
8791 lifeMax = 100;
8794 knockBackResist = 0f;
8795 alpha = 255;
8796 }
8797 else if (type == 374)
8798 {
8799 width = 20;
8800 height = 10;
8801 aiStyle = 66;
8802 damage = 0;
8803 defense = 0;
8804 lifeMax = 5;
8807 npcSlots = 0.15f;
8808 catchItem = 2673;
8809 rarity = 4;
8811 }
8812 else if (type == 375)
8813 {
8814 width = 10;
8815 height = 10;
8816 aiStyle = 6;
8817 damage = 0;
8818 defense = 0;
8819 lifeMax = 5;
8822 noGravity = true;
8823 noTileCollide = true;
8824 knockBackResist = 0f;
8825 behindTiles = true;
8826 npcSlots = 0.15f;
8827 catchItem = 2673;
8828 rarity = 4;
8830 }
8831 else if (type == 376)
8832 {
8833 friendly = true;
8834 width = 34;
8835 height = 8;
8836 aiStyle = 0;
8837 damage = 10;
8838 defense = 15;
8839 lifeMax = 250;
8842 knockBackResist = 0.5f;
8843 scale = 0.9f;
8844 rarity = 1;
8845 }
8846 else if (type == 377)
8847 {
8848 width = 14;
8849 height = 10;
8850 aiStyle = 1;
8851 damage = 0;
8852 defense = 0;
8853 lifeMax = 5;
8856 catchItem = 2740;
8857 npcSlots = 0.1f;
8858 }
8859 else if (type == 378)
8860 {
8861 npcSlots = 1f;
8862 width = 20;
8863 height = 26;
8864 aiStyle = 41;
8865 damage = 120;
8866 defense = 30;
8867 lifeMax = 200;
8870 knockBackResist = 0.5f;
8871 value = 450f;
8872 }
8873 else if (type >= 379 && type <= 380)
8874 {
8875 width = 18;
8876 height = 40;
8877 aiStyle = 3;
8878 damage = 45;
8879 defense = 14;
8880 lifeMax = 210;
8883 knockBackResist = 0.55f;
8884 value = 1000f;
8885 npcSlots = 0f;
8886 lavaImmune = true;
8887 netAlways = true;
8888 chaseable = false;
8889 }
8890 else if (type >= 381 && type <= 382)
8891 {
8892 width = 18;
8893 height = 40;
8894 aiStyle = 3;
8895 damage = 50;
8896 defense = 25;
8897 lifeMax = 350;
8900 knockBackResist = 0.35f;
8901 value = 1000f;
8902 }
8903 else if (type == 383)
8904 {
8905 lifeMax = 300;
8906 defense = 50;
8907 damage = 75;
8908 width = 18;
8909 height = 40;
8910 aiStyle = 3;
8913 value = 1200f;
8914 knockBackResist = 0.25f;
8915 }
8916 else if (type == 384)
8917 {
8918 lifeMax = 1000;
8919 width = 18;
8920 defense = 20;
8921 height = 40;
8922 aiStyle = 72;
8925 npcSlots = 0f;
8926 noTileCollide = true;
8927 canGhostHeal = false;
8928 }
8929 else if (type == 385)
8930 {
8931 lifeMax = 750;
8932 defense = 30;
8933 damage = 80;
8934 width = 18;
8935 height = 40;
8936 aiStyle = 3;
8939 value = 600f;
8940 knockBackResist = 0f;
8941 npcSlots = 0.75f;
8942 }
8943 else if (type == 386)
8944 {
8945 lifeMax = 400;
8946 defense = 34;
8947 damage = 40;
8948 width = 18;
8949 height = 40;
8950 aiStyle = 3;
8953 value = 1200f;
8954 knockBackResist = 0.4f;
8955 }
8956 else if (type == 387)
8957 {
8958 width = 20;
8959 height = 50;
8960 aiStyle = 73;
8961 damage = 10;
8962 defense = 40;
8963 lifeMax = 200;
8966 knockBackResist = 0f;
8967 canGhostHeal = false;
8968 }
8969 else if (type == 388)
8970 {
8971 width = 40;
8972 height = 30;
8973 aiStyle = 74;
8974 damage = 60;
8975 defense = 16;
8976 lifeMax = 300;
8978 knockBackResist = 0.4f;
8980 value = 1000f;
8981 noTileCollide = true;
8982 noGravity = true;
8983 npcSlots = 1.5f;
8984 canGhostHeal = false;
8985 }
8986 else if (type == 389)
8987 {
8988 lifeMax = 600;
8989 defense = 38;
8990 damage = 75;
8991 width = 18;
8992 height = 40;
8993 aiStyle = 3;
8996 value = 1200f;
8997 npcSlots = 0.5f;
8998 knockBackResist = 0.3f;
8999 }
9000 else if (type == 390)
9001 {
9002 damage = 65;
9003 defense = 30;
9004 lifeMax = 350;
9005 width = 18;
9006 height = 40;
9007 aiStyle = 75;
9010 value = 1200f;
9011 npcSlots = 0.5f;
9012 }
9013 else if (type == 391)
9014 {
9015 lifeMax = 600;
9016 defense = 30;
9017 damage = 85;
9018 width = 60;
9019 height = 40;
9020 aiStyle = 3;
9023 value = 1200f;
9024 npcSlots = 0.5f;
9025 knockBackResist = 0.1f;
9026 }
9027 else if (type == 392)
9028 {
9029 lifeMax = 100;
9030 defense = 100;
9031 damage = 50;
9032 width = 150;
9033 height = 80;
9034 aiStyle = 75;
9037 value = 0f;
9038 npcSlots = 0f;
9039 knockBackResist = 0f;
9040 noGravity = true;
9041 noTileCollide = true;
9042 dontTakeDamage = true;
9043 netAlways = true;
9044 }
9045 else if (type == 393)
9046 {
9047 lifeMax = 5000;
9048 defense = 20;
9049 damage = 60;
9050 width = 40;
9051 height = 16;
9052 aiStyle = 75;
9055 value = 0f;
9056 npcSlots = 1f;
9057 knockBackResist = 0f;
9058 noGravity = true;
9059 noTileCollide = true;
9060 netAlways = true;
9061 }
9062 else if (type == 394)
9063 {
9064 lifeMax = 3500;
9065 defense = 20;
9066 damage = 60;
9067 width = 46;
9068 height = 36;
9069 aiStyle = 75;
9072 value = 0f;
9073 npcSlots = 1f;
9074 knockBackResist = 0f;
9075 noGravity = true;
9076 noTileCollide = true;
9077 netAlways = true;
9078 }
9079 else if (type == 395)
9080 {
9081 lifeMax = 10000;
9082 defense = 0;
9083 damage = 80;
9084 width = 120;
9085 height = 90;
9086 aiStyle = 76;
9089 value = 0f;
9090 npcSlots = 6f;
9091 knockBackResist = 0f;
9092 noGravity = true;
9093 noTileCollide = true;
9094 dontTakeDamage = true;
9095 boss = true;
9096 netAlways = true;
9097 }
9098 else if (type == 399)
9099 {
9100 defense = 5;
9101 damage = 5;
9102 lifeMax = 500;
9103 aiStyle = 80;
9104 width = 42;
9105 height = 72;
9106 value = 0f;
9107 knockBackResist = 0f;
9110 npcSlots = 0f;
9111 noGravity = true;
9113 chaseable = false;
9114 netAlways = true;
9115 rarity = 1;
9116 }
9117 else if (type == 396)
9118 {
9119 lifeMax = 45000;
9120 defense = 50;
9121 damage = 0;
9122 width = 38;
9123 height = 56;
9124 aiStyle = 79;
9127 value = 0f;
9128 npcSlots = 6f;
9129 knockBackResist = 0f;
9130 noGravity = true;
9131 noTileCollide = true;
9132 boss = true;
9133 hide = true;
9134 netAlways = true;
9135 }
9136 else if (type == 397)
9137 {
9138 lifeMax = 25000;
9139 defense = 40;
9140 damage = 0;
9141 width = 46;
9142 height = 66;
9143 aiStyle = 78;
9146 value = 0f;
9147 npcSlots = 6f;
9148 knockBackResist = 0f;
9149 noGravity = true;
9150 noTileCollide = true;
9151 boss = true;
9152 hide = true;
9153 netAlways = true;
9154 }
9155 else if (type == 398)
9156 {
9157 lifeMax = 50000;
9158 defense = 70;
9159 damage = 0;
9160 width = 46;
9161 height = 66;
9162 aiStyle = 77;
9164 DeathSound = null;
9165 value = 1000000f;
9166 npcSlots = 6f;
9167 knockBackResist = 0f;
9168 noGravity = true;
9169 noTileCollide = true;
9170 dontTakeDamage = true;
9171 boss = true;
9172 behindTiles = true;
9173 hide = true;
9174 netAlways = true;
9175 }
9176 else if (type == 400)
9177 {
9178 defense = 0;
9179 damage = 60;
9180 lifeMax = 100;
9181 aiStyle = 81;
9182 width = 60;
9183 height = 60;
9184 value = 0f;
9185 knockBackResist = 0f;
9188 npcSlots = 0f;
9189 noGravity = true;
9190 dontTakeDamage = true;
9191 noTileCollide = true;
9192 netAlways = true;
9193 }
9194 else if (type == 401)
9195 {
9196 lifeMax = 400;
9197 defense = 0;
9198 damage = 0;
9199 width = 30;
9200 height = 30;
9201 aiStyle = 82;
9204 value = 0f;
9205 npcSlots = 0f;
9206 knockBackResist = 0f;
9207 noGravity = true;
9208 noTileCollide = true;
9209 hide = true;
9210 }
9211 else if (type == 437)
9212 {
9213 lifeMax = 400;
9214 defense = 0;
9215 damage = 0;
9216 width = 54;
9217 height = 54;
9218 aiStyle = 83;
9221 value = 0f;
9222 npcSlots = 0f;
9223 knockBackResist = 0f;
9224 noGravity = true;
9225 noTileCollide = true;
9226 dontTakeDamage = true;
9227 netAlways = true;
9228 chaseable = false;
9229 }
9230 else if (type == 438)
9231 {
9232 lifeMax = 400;
9233 defense = 0;
9234 damage = 0;
9235 width = 22;
9236 height = 40;
9237 aiStyle = 83;
9240 value = 0f;
9241 npcSlots = 0f;
9242 knockBackResist = 0f;
9243 lavaImmune = true;
9244 netAlways = true;
9245 chaseable = false;
9246 }
9247 else if (type == 439)
9248 {
9249 width = 24;
9250 height = 50;
9251 aiStyle = 84;
9252 damage = 50;
9253 defense = 42;
9254 lifeMax = 32000;
9255 knockBackResist = 0f;
9256 noTileCollide = true;
9257 noGravity = true;
9258 npcSlots = 10f;
9261 value = 100000f;
9262 boss = true;
9263 netAlways = true;
9265 }
9266 else if (type == 440)
9267 {
9268 width = 24;
9269 height = 50;
9270 aiStyle = 84;
9271 damage = 0;
9272 defense = 35;
9273 lifeMax = 10000;
9274 knockBackResist = 0f;
9275 noTileCollide = true;
9276 noGravity = true;
9277 npcSlots = 0f;
9280 netAlways = true;
9282 chaseable = false;
9283 }
9284 else if (type == 442)
9285 {
9286 width = 14;
9287 height = 14;
9288 aiStyle = 24;
9289 damage = 0;
9290 defense = 0;
9291 lifeMax = 5;
9293 knockBackResist = 0.8f;
9295 catchItem = 2889;
9296 npcSlots = 0.4f;
9297 rarity = 3;
9298 }
9299 else if (type == 443)
9300 {
9301 width = 18;
9302 height = 20;
9303 aiStyle = 7;
9304 damage = 0;
9305 defense = 0;
9306 lifeMax = 5;
9309 catchItem = 2890;
9310 rarity = 3;
9311 }
9312 else if (type == 444)
9313 {
9314 width = 10;
9315 height = 10;
9316 aiStyle = 65;
9317 damage = 0;
9318 defense = 0;
9319 lifeMax = 5;
9322 npcSlots = 0.25f;
9323 noGravity = true;
9324 catchItem = 2891;
9325 rarity = 3;
9326 }
9327 else if (type == 445)
9328 {
9329 width = 12;
9330 height = 10;
9331 aiStyle = 7;
9332 damage = 0;
9333 defense = 0;
9334 lifeMax = 5;
9337 catchItem = 2892;
9338 rarity = 3;
9339 }
9340 else if (type == 446)
9341 {
9342 width = 14;
9343 height = 10;
9344 aiStyle = 1;
9345 damage = 0;
9346 defense = 0;
9347 lifeMax = 5;
9350 catchItem = 2893;
9351 npcSlots = 0.1f;
9352 rarity = 3;
9353 }
9354 else if (type == 447)
9355 {
9356 width = 14;
9357 height = 12;
9358 aiStyle = 7;
9359 damage = 0;
9360 defense = 0;
9361 lifeMax = 5;
9364 npcSlots = 0.25f;
9365 catchItem = 2894;
9366 rarity = 3;
9367 }
9368 else if (type == 448)
9369 {
9370 width = 10;
9371 height = 4;
9372 aiStyle = 66;
9373 damage = 0;
9374 defense = 0;
9375 lifeMax = 5;
9378 npcSlots = 0.1f;
9379 catchItem = 2895;
9380 rarity = 3;
9381 }
9382 else if (type == 449)
9383 {
9384 width = 18;
9385 height = 40;
9386 aiStyle = 3;
9387 damage = 20;
9388 defense = 8;
9389 lifeMax = 60;
9392 knockBackResist = 0.5f;
9393 value = 100f;
9394 }
9395 else if (type == 450)
9396 {
9397 width = 18;
9398 height = 40;
9399 aiStyle = 3;
9400 damage = 20;
9401 defense = 12;
9402 lifeMax = 55;
9405 knockBackResist = 0.5f;
9406 value = 130f;
9407 }
9408 else if (type == 451)
9409 {
9410 width = 18;
9411 height = 40;
9412 aiStyle = 3;
9413 damage = 18;
9414 defense = 8;
9415 lifeMax = 65;
9418 knockBackResist = 0.5f;
9419 value = 120f;
9420 }
9421 else if (type == 452)
9422 {
9423 width = 18;
9424 height = 40;
9425 aiStyle = 3;
9426 damage = 22;
9427 defense = 8;
9428 lifeMax = 60;
9431 knockBackResist = 0.5f;
9432 value = 110f;
9433 }
9434 else if (type == 453)
9435 {
9436 friendly = true;
9437 width = 18;
9438 height = 40;
9439 aiStyle = 7;
9440 damage = 10;
9441 defense = 30;
9442 lifeMax = 250;
9445 knockBackResist = 0.5f;
9446 npcSlots = 7f;
9447 rarity = 1;
9448 }
9449 else if (type == 454)
9450 {
9451 noTileCollide = true;
9452 npcSlots = 5f;
9453 width = 32;
9454 height = 32;
9455 aiStyle = 6;
9456 netAlways = true;
9457 damage = 100;
9458 defense = 15;
9459 lifeMax = 10000;
9462 noGravity = true;
9463 knockBackResist = 0f;
9464 value = 0f;
9465 scale = 1f;
9466 alpha = 255;
9467 }
9468 else if (type == 459)
9469 {
9470 noTileCollide = true;
9471 width = 32;
9472 height = 32;
9473 aiStyle = 6;
9474 netAlways = true;
9475 damage = 50;
9476 defense = 30;
9477 lifeMax = 10000;
9480 noGravity = true;
9481 knockBackResist = 0f;
9482 value = 0f;
9483 scale = 1f;
9484 alpha = 255;
9485 dontCountMe = true;
9486 }
9487 else if (type == 455 || type == 456 || type == 457 || type == 458)
9488 {
9489 noTileCollide = true;
9490 width = 32;
9491 height = 32;
9492 aiStyle = 6;
9493 netAlways = true;
9494 damage = 50;
9495 defense = 30;
9496 lifeMax = 10000;
9499 noGravity = true;
9500 knockBackResist = 0f;
9501 value = 0f;
9502 scale = 1f;
9503 alpha = 255;
9504 dontCountMe = true;
9505 }
9506 else if (type == 464)
9507 {
9508 width = 18;
9509 height = 20;
9510 aiStyle = 3;
9511 damage = 21;
9512 defense = 5;
9513 lifeMax = 75;
9516 value = 500f;
9517 }
9518 else if (type == 465)
9519 {
9520 noGravity = true;
9521 width = 18;
9522 height = 20;
9523 aiStyle = 16;
9524 damage = 31;
9525 defense = 7;
9526 lifeMax = 110;
9529 value = 500f;
9530 }
9531 else if (type == 470)
9532 {
9533 width = 16;
9534 height = 34;
9535 aiStyle = 3;
9536 damage = 21;
9537 defense = 5;
9538 lifeMax = 75;
9541 value = 500f;
9542 }
9543 else if (type == 473 || type == 474 || type == 475 || type == 476)
9544 {
9545 width = 28;
9546 height = 44;
9547 aiStyle = 87;
9548 damage = 90;
9549 defense = 34;
9550 lifeMax = 3500;
9553 value = 30000f;
9554 knockBackResist = 0.1f;
9555 rarity = 5;
9556 }
9557 else if (type == 480)
9558 {
9559 width = 18;
9560 height = 40;
9561 aiStyle = 3;
9562 damage = 30;
9563 defense = 20;
9564 lifeMax = 400;
9567 knockBackResist = 0.15f;
9568 value = 1000f;
9569 rarity = 1;
9570 }
9571 else if (type == 481)
9572 {
9573 width = 18;
9574 height = 40;
9575 aiStyle = 3;
9576 damage = 22;
9577 defense = 10;
9578 lifeMax = 70;
9581 knockBackResist = 0.4f;
9582 value = 300f;
9583 }
9584 else if (type == 482)
9585 {
9586 width = 28;
9587 height = 48;
9588 aiStyle = 3;
9589 damage = 30;
9590 defense = 18;
9591 lifeMax = 110;
9594 knockBackResist = 0.35f;
9595 value = 500f;
9596 }
9597 else if (type == 483)
9598 {
9599 npcSlots = 0.5f;
9600 width = 20;
9601 height = 30;
9602 aiStyle = 91;
9603 damage = 24;
9604 defense = 8;
9605 lifeMax = 40;
9607 knockBackResist = 0.6f;
9609 value = 1000f;
9610 }
9611 else if (type >= 484 && type <= 487)
9612 {
9613 width = 10;
9614 height = 4;
9615 aiStyle = 66;
9616 damage = 0;
9617 defense = 0;
9618 lifeMax = 5;
9621 npcSlots = 0.1f;
9622 catchItem = (short)(3191 + type - 484);
9623 }
9624 else if (type == 488)
9625 {
9626 width = 18;
9627 height = 40;
9628 aiStyle = 92;
9629 damage = 0;
9630 defense = 0;
9631 lifeMax = 1000;
9634 knockBackResist = 0f;
9635 value = 0f;
9636 immortal = true;
9637 netAlways = true;
9638 }
9639 else if (type == 489)
9640 {
9641 width = 18;
9642 height = 40;
9643 aiStyle = 3;
9644 damage = 20;
9645 defense = 8;
9646 lifeMax = 75;
9649 knockBackResist = 0.4f;
9650 value = 150f;
9651 }
9652 else if (type == 490)
9653 {
9654 noGravity = true;
9655 width = 28;
9656 height = 30;
9657 aiStyle = 22;
9658 damage = 28;
9659 defense = 14;
9660 lifeMax = 50;
9662 knockBackResist = 0.6f;
9664 value = 150f;
9665 }
9666 else if (type == 491)
9667 {
9668 noGravity = true;
9669 width = 350;
9670 height = 120;
9671 aiStyle = 93;
9672 damage = 0;
9673 defense = 100;
9674 lifeMax = 50;
9676 knockBackResist = 0f;
9678 value = 0f;
9679 dontTakeDamage = true;
9680 netAlways = true;
9681 }
9682 else if (type == 492)
9683 {
9684 lifeMax = 2000;
9685 defense = 20;
9686 damage = 30;
9687 width = 30;
9688 height = 30;
9689 aiStyle = 75;
9692 value = 0f;
9693 npcSlots = 1f;
9694 knockBackResist = 0f;
9695 noGravity = true;
9696 noTileCollide = true;
9697 hide = true;
9698 netAlways = true;
9699 }
9700 else if (type >= 494 && type <= 495)
9701 {
9702 width = 28;
9703 height = 22;
9704 aiStyle = 3;
9705 damage = 28;
9706 defense = 6;
9707 lifeMax = 50;
9710 value = 120f;
9711 }
9712 else if (type >= 496 && type <= 497)
9713 {
9714 width = 28;
9715 height = 22;
9716 aiStyle = 39;
9717 damage = 16;
9718 defense = 12;
9719 lifeMax = 50;
9722 knockBackResist = 0.75f;
9723 value = 120f;
9724 }
9725 else if (type >= 498 && type <= 506)
9726 {
9727 width = 24;
9728 height = 44;
9729 aiStyle = 3;
9730 damage = 18;
9731 defense = 10;
9732 lifeMax = 65;
9735 knockBackResist = 0.45f;
9736 value = 120f;
9737 }
9738 else if (type == 441)
9739 {
9740 townNPC = true;
9741 friendly = true;
9742 width = 18;
9743 height = 40;
9744 aiStyle = 7;
9745 damage = 10;
9746 defense = 15;
9747 lifeMax = 250;
9750 knockBackResist = 0.5f;
9751 }
9752 else if (type == 513)
9753 {
9754 npcSlots = 4f;
9755 width = 22;
9756 height = 22;
9757 aiStyle = 6;
9758 damage = 18;
9759 defense = 0;
9760 lifeMax = 60;
9763 noGravity = true;
9764 noTileCollide = true;
9765 knockBackResist = 0f;
9766 behindTiles = true;
9767 value = 130f;
9768 }
9769 else if (type == 514)
9770 {
9771 width = 22;
9772 height = 22;
9773 aiStyle = 6;
9774 netAlways = true;
9775 damage = 7;
9776 defense = 12;
9777 lifeMax = 60;
9780 noGravity = true;
9781 noTileCollide = true;
9782 knockBackResist = 0f;
9783 behindTiles = true;
9784 value = 130f;
9785 dontCountMe = true;
9786 npcSlots = 0f;
9787 }
9788 else if (type == 515)
9789 {
9790 width = 22;
9791 height = 22;
9792 aiStyle = 6;
9793 netAlways = true;
9794 damage = 7;
9795 defense = 14;
9796 lifeMax = 60;
9799 noGravity = true;
9800 noTileCollide = true;
9801 knockBackResist = 0f;
9802 behindTiles = true;
9803 value = 130f;
9804 dontCountMe = true;
9805 npcSlots = 0f;
9806 }
9807 else if (type == 510)
9808 {
9809 npcSlots = 5f;
9810 width = 34;
9811 height = 34;
9812 aiStyle = 6;
9813 damage = 58;
9814 defense = 18;
9815 lifeMax = 500;
9818 noGravity = true;
9819 noTileCollide = true;
9820 knockBackResist = 0f;
9821 behindTiles = true;
9822 value = 700f;
9823 }
9824 else if (type == 511)
9825 {
9826 width = 34;
9827 height = 34;
9828 aiStyle = 6;
9829 netAlways = true;
9830 damage = 54;
9831 defense = 28;
9832 lifeMax = 500;
9835 noGravity = true;
9836 noTileCollide = true;
9837 knockBackResist = 0f;
9838 behindTiles = true;
9839 value = 700f;
9840 dontCountMe = true;
9841 npcSlots = 0f;
9842 }
9843 else if (type == 512)
9844 {
9845 width = 34;
9846 height = 34;
9847 aiStyle = 6;
9848 netAlways = true;
9849 damage = 50;
9850 defense = 34;
9851 lifeMax = 500;
9854 noGravity = true;
9855 noTileCollide = true;
9856 knockBackResist = 0f;
9857 behindTiles = true;
9858 value = 700f;
9859 dontCountMe = true;
9860 npcSlots = 0f;
9861 }
9862 else if (type == 508)
9863 {
9864 width = 50;
9865 height = 31;
9866 aiStyle = 3;
9867 damage = 38;
9868 defense = 16;
9869 lifeMax = 110;
9872 knockBackResist = 0.4f;
9873 value = 175f;
9874 }
9875 else if (type == 509)
9876 {
9877 width = 40;
9878 height = 31;
9879 aiStyle = 44;
9880 damage = 34;
9881 defense = 12;
9882 lifeMax = 90;
9883 knockBackResist = 0.3f;
9886 value = 195f;
9887 }
9888 else if (type == 580)
9889 {
9890 width = 26;
9891 height = 26;
9892 aiStyle = 3;
9893 damage = 25;
9894 defense = 10;
9895 lifeMax = 80;
9898 knockBackResist = 0.5f;
9899 value = 80f;
9900 npcSlots = 0.8f;
9901 }
9902 else if (type == 581)
9903 {
9904 width = 30;
9905 height = 22;
9906 aiStyle = 44;
9907 damage = 29;
9908 defense = 8;
9909 lifeMax = 60;
9910 knockBackResist = 0.5f;
9913 value = 90f;
9914 npcSlots = 0.8f;
9915 }
9916 else if (type >= 524 && type <= 527)
9917 {
9918 width = 24;
9919 height = 44;
9920 aiStyle = 3;
9921 damage = 50;
9922 defense = 26;
9923 lifeMax = 180;
9926 knockBackResist = 0.6f;
9927 value = 500f;
9928 npcSlots = 0.5f;
9929 switch (type)
9930 {
9931 case 525:
9932 lifeMax += 70;
9933 defense += 4;
9934 damage += 10;
9935 knockBackResist -= 0.1f;
9936 value += 150f;
9937 break;
9938 case 526:
9939 lifeMax += 40;
9940 defense += 6;
9941 damage += 14;
9942 knockBackResist -= 0.1f;
9943 value += 150f;
9944 break;
9945 case 527:
9946 lifeMax += 120;
9947 defense += 6;
9948 damage += 4;
9949 knockBackResist -= 0.2f;
9950 value += 250f;
9951 break;
9952 }
9953 }
9954 else if (type >= 528 && type <= 529)
9955 {
9956 width = 24;
9957 height = 44;
9958 aiStyle = 3;
9959 damage = 52;
9960 defense = 28;
9961 lifeMax = 350;
9964 knockBackResist = 0.35f;
9965 value = 600f;
9966 }
9967 else if (type == 530)
9968 {
9969 width = 50;
9970 height = 20;
9971 aiStyle = 3;
9972 damage = 66;
9973 defense = 24;
9974 lifeMax = 320;
9977 knockBackResist = 0.5f;
9978 value = 600f;
9980 }
9981 else if (type == 531)
9982 {
9983 noGravity = true;
9984 width = 36;
9985 height = 36;
9986 aiStyle = 40;
9987 damage = 66;
9988 defense = 24;
9989 lifeMax = 320;
9992 knockBackResist = 0.5f;
9993 value = 600f;
9995 }
9996 else if (type == 532)
9997 {
9998 width = 32;
9999 height = 31;
10000 aiStyle = 3;
10001 damage = 65;
10002 defense = 34;
10003 lifeMax = 270;
10006 knockBackResist = 0.3f;
10007 value = 800f;
10008 npcSlots = 0.75f;
10009 }
10010 else if (type == 533)
10011 {
10012 width = 28;
10013 height = 62;
10014 aiStyle = 8;
10015 damage = 40;
10016 defense = 20;
10017 lifeMax = 220;
10020 knockBackResist = 0f;
10021 value = 1200f;
10022 npcSlots = 2f;
10023 }
10024 else if (type == 493)
10025 {
10026 lifeMax = 20000;
10027 defense = 20;
10028 damage = 0;
10029 width = 130;
10030 height = 270;
10031 aiStyle = 94;
10034 value = 0f;
10035 knockBackResist = 0f;
10036 noGravity = true;
10037 noTileCollide = true;
10038 npcSlots = 0f;
10039 }
10040 else if (type == 402)
10041 {
10042 noTileCollide = true;
10043 npcSlots = 1f;
10044 width = 32;
10045 height = 32;
10046 aiStyle = 6;
10047 netAlways = true;
10048 damage = 80;
10049 defense = 10;
10050 lifeMax = 1200;
10053 noGravity = true;
10054 knockBackResist = 0f;
10055 value = 0f;
10056 scale = 1f;
10057 }
10058 else if (type == 405)
10059 {
10060 width = 44;
10061 height = 44;
10062 aiStyle = 85;
10063 damage = 120;
10064 defense = 50;
10065 lifeMax = 300;
10068 knockBackResist = 0.3f;
10069 noGravity = true;
10070 npcSlots = 2f;
10071 }
10072 else if (type == 406)
10073 {
10074 width = 22;
10075 height = 22;
10076 aiStyle = 95;
10077 damage = 70;
10078 defense = 0;
10079 lifeMax = 300;
10082 knockBackResist = 0.4f;
10083 noGravity = true;
10084 }
10085 else if (type == 411)
10086 {
10087 width = 22;
10088 height = 56;
10089 aiStyle = 3;
10090 damage = 80;
10091 defense = 34;
10092 lifeMax = 700;
10095 knockBackResist = 0.4f;
10096 }
10097 else if (type == 409)
10098 {
10099 width = 34;
10100 height = 42;
10101 aiStyle = 3;
10102 damage = 70;
10103 defense = 40;
10104 lifeMax = 800;
10107 knockBackResist = 0.4f;
10108 npcSlots = 3f;
10109 }
10110 else if (type == 410)
10111 {
10112 width = 22;
10113 height = 22;
10114 aiStyle = 26;
10115 damage = 80;
10116 defense = 10;
10117 lifeMax = 200;
10120 knockBackResist = 0.3f;
10121 npcSlots = 0.5f;
10122 }
10123 else if (type == 407)
10124 {
10125 width = 40;
10126 height = 60;
10127 aiStyle = 96;
10128 damage = 70;
10129 defense = 38;
10130 lifeMax = 1500;
10133 noGravity = true;
10134 knockBackResist = 0.03f;
10135 npcSlots = 3f;
10136 }
10137 else if (type == 507)
10138 {
10139 lifeMax = 20000;
10140 defense = 20;
10141 damage = 0;
10142 width = 130;
10143 height = 270;
10144 aiStyle = 94;
10147 value = 0f;
10148 knockBackResist = 0f;
10149 noGravity = true;
10150 noTileCollide = true;
10151 npcSlots = 0f;
10152 }
10153 else if (type == 423)
10154 {
10155 width = 50;
10156 height = 44;
10157 aiStyle = 26;
10158 damage = 90;
10159 defense = 46;
10160 lifeMax = 850;
10163 knockBackResist = 0.2f;
10164 npcSlots = 1f;
10165 }
10166 else if (type == 421)
10167 {
10168 width = 44;
10169 height = 44;
10170 aiStyle = 85;
10171 damage = 70;
10172 defense = 34;
10173 lifeMax = 330;
10176 knockBackResist = 0.5f;
10177 noGravity = true;
10178 npcSlots = 1f;
10179 }
10180 else if (type == 424)
10181 {
10182 width = 22;
10183 height = 56;
10184 aiStyle = 3;
10185 damage = 80;
10186 defense = 30;
10187 lifeMax = 700;
10190 knockBackResist = 0.6f;
10191 npcSlots = 2f;
10192 }
10193 else if (type == 420)
10194 {
10195 width = 40;
10196 height = 40;
10197 aiStyle = 97;
10198 damage = 75;
10199 defense = 20;
10200 lifeMax = 1300;
10203 knockBackResist = 0.5f;
10204 noTileCollide = true;
10205 noGravity = true;
10206 npcSlots = 3f;
10207 }
10208 else if (type == 422)
10209 {
10210 lifeMax = 20000;
10211 defense = 20;
10212 damage = 0;
10213 width = 130;
10214 height = 270;
10215 aiStyle = 94;
10218 value = 0f;
10219 knockBackResist = 0f;
10220 noGravity = true;
10221 noTileCollide = true;
10222 npcSlots = 0f;
10223 }
10224 else if (type == 425)
10225 {
10226 width = 30;
10227 height = 56;
10228 aiStyle = 3;
10229 damage = 100;
10230 defense = 40;
10231 lifeMax = 800;
10234 knockBackResist = 0.4f;
10235 }
10236 else if (type == 429)
10237 {
10238 width = 22;
10239 height = 56;
10240 aiStyle = 3;
10241 damage = 90;
10242 defense = 34;
10243 lifeMax = 700;
10246 knockBackResist = 0.6f;
10247 npcSlots = 2f;
10248 }
10249 else if (type == 428)
10250 {
10251 width = 24;
10252 height = 26;
10253 aiStyle = 3;
10254 damage = 50;
10255 defense = 6;
10256 lifeMax = 200;
10259 }
10260 else if (type == 427)
10261 {
10262 width = 40;
10263 height = 28;
10264 aiStyle = 3;
10265 damage = 75;
10266 defense = 20;
10267 lifeMax = 500;
10270 knockBackResist = 0.5f;
10271 npcSlots = 0.5f;
10272 }
10273 else if (type == 426)
10274 {
10275 width = 50;
10276 height = 62;
10277 aiStyle = 3;
10278 damage = 100;
10279 defense = 44;
10280 lifeMax = 1000;
10283 knockBackResist = 0.3f;
10284 }
10285 else if (type == 517)
10286 {
10287 lifeMax = 20000;
10288 defense = 20;
10289 damage = 0;
10290 width = 130;
10291 height = 270;
10292 aiStyle = 94;
10295 value = 0f;
10296 knockBackResist = 0f;
10297 noGravity = true;
10298 noTileCollide = true;
10299 npcSlots = 0f;
10300 }
10301 else if (type == 412)
10302 {
10303 width = 20;
10304 height = 20;
10305 aiStyle = 6;
10306 netAlways = true;
10307 damage = 120;
10308 defense = 1000;
10309 lifeMax = 10000;
10312 noGravity = true;
10313 noTileCollide = true;
10314 knockBackResist = 0f;
10315 dontTakeDamage = true;
10316 npcSlots = 2f;
10317 }
10318 else if (type == 413)
10319 {
10320 width = 20;
10321 height = 20;
10322 aiStyle = 6;
10323 netAlways = true;
10324 damage = 80;
10325 defense = 1000;
10326 lifeMax = 10000;
10329 noGravity = true;
10330 noTileCollide = true;
10331 knockBackResist = 0f;
10332 dontCountMe = true;
10333 dontTakeDamage = true;
10334 npcSlots = 0f;
10335 }
10336 else if (type == 414)
10337 {
10338 width = 20;
10339 height = 20;
10340 aiStyle = 6;
10341 netAlways = true;
10342 damage = 50;
10343 defense = 0;
10344 lifeMax = 10000;
10347 noGravity = true;
10348 noTileCollide = true;
10349 knockBackResist = 0f;
10350 dontCountMe = true;
10352 npcSlots = 0f;
10353 }
10354 else if (type == 415)
10355 {
10356 lifeMax = 800;
10357 defense = 32;
10358 damage = 55;
10359 width = 60;
10360 height = 40;
10361 aiStyle = 3;
10364 knockBackResist = 0.2f;
10365 }
10366 else if (type == 416)
10367 {
10368 damage = 80;
10369 defense = 28;
10370 lifeMax = 800;
10371 width = 18;
10372 height = 40;
10373 aiStyle = 75;
10376 knockBackResist = 0.2f;
10377 }
10378 else if (type == 518)
10379 {
10380 lifeMax = 1000;
10381 defense = 28;
10382 damage = 80;
10383 width = 22;
10384 height = 56;
10385 aiStyle = 3;
10388 knockBackResist = 0.4f;
10389 }
10390 else if (type == 417)
10391 {
10392 npcSlots = 2f;
10393 width = 46;
10394 height = 52;
10395 aiStyle = 39;
10396 damage = 80;
10397 defense = 34;
10398 lifeMax = 700;
10400 knockBackResist = 0f;
10402 }
10403 else if (type == 418)
10404 {
10405 width = 38;
10406 height = 38;
10407 aiStyle = 74;
10408 damage = 70;
10409 defense = 26;
10410 lifeMax = 600;
10413 noGravity = true;
10414 noTileCollide = true;
10415 knockBackResist = 0.2f;
10416 }
10417 else if (type == 419)
10418 {
10419 lifeMax = 800;
10420 defense = 30;
10421 damage = 90;
10422 width = 22;
10423 height = 56;
10424 aiStyle = 3;
10427 knockBackResist = 0.4f;
10428 }
10429 else if (type == 516)
10430 {
10431 width = 26;
10432 height = 26;
10433 aiStyle = 9;
10434 damage = 100;
10435 defense = 0;
10436 lifeMax = 1;
10437 HitSound = null;
10438 DeathSound = null;
10439 noGravity = true;
10440 noTileCollide = false;
10441 alpha = 0;
10442 knockBackResist = 0f;
10443 }
10444 else if (type == 519)
10445 {
10446 width = 26;
10447 height = 26;
10448 aiStyle = 99;
10449 damage = 120;
10450 defense = 0;
10451 lifeMax = 1;
10452 HitSound = null;
10453 DeathSound = null;
10454 noGravity = true;
10455 noTileCollide = false;
10456 alpha = 0;
10457 knockBackResist = 0f;
10458 }
10459 else if (type == 162)
10460 {
10461 width = 18;
10462 height = 40;
10463 aiStyle = 3;
10464 damage = 65;
10465 defense = 18;
10466 lifeMax = 350;
10469 knockBackResist = 0.3f;
10470 value = 600f;
10471 }
10472 else if (type == 166)
10473 {
10474 width = 18;
10475 height = 40;
10476 aiStyle = 3;
10477 damage = 70;
10478 defense = 26;
10479 lifeMax = 450;
10482 knockBackResist = 0.2f;
10483 value = 1000f;
10484 }
10485 else if (type == 253)
10486 {
10487 noGravity = true;
10488 noTileCollide = true;
10489 width = 24;
10490 height = 44;
10491 aiStyle = 22;
10492 damage = 80;
10493 defense = 22;
10494 lifeMax = 700;
10497 alpha = 100;
10498 value = 1500f;
10499 knockBackResist = 0.6f;
10500 }
10501 else if (type == 158)
10502 {
10503 npcSlots = 2f;
10504 width = 22;
10505 height = 22;
10506 aiStyle = 14;
10507 damage = 60;
10508 defense = 32;
10509 lifeMax = 750;
10511 knockBackResist = 0.75f;
10513 value = 5000f;
10514 }
10515 else if (type == 159)
10516 {
10517 npcSlots = 2f;
10518 width = 18;
10519 height = 40;
10520 aiStyle = 3;
10521 damage = 80;
10522 defense = 24;
10523 lifeMax = 750;
10526 knockBackResist = 0.4f;
10527 value = 5000f;
10528 }
10529 else if (type == 460)
10530 {
10531 width = 18;
10532 height = 40;
10533 aiStyle = 3;
10534 damage = 70;
10535 defense = 30;
10536 lifeMax = 700;
10539 knockBackResist = 0.25f;
10540 value = 1000f;
10541 }
10542 else if (type == 461)
10543 {
10544 width = 18;
10545 height = 40;
10546 aiStyle = 3;
10547 damage = 60;
10548 defense = 22;
10549 lifeMax = 400;
10552 knockBackResist = 0.3f;
10553 value = 1000f;
10554 }
10555 else if (type == 462)
10556 {
10557 width = 20;
10558 height = 24;
10559 aiStyle = 3;
10560 damage = 70;
10561 defense = 14;
10562 lifeMax = 270;
10565 knockBackResist = 0.7f;
10566 value = 600f;
10567 npcSlots = 0.5f;
10568 }
10569 else if (type == 463)
10570 {
10571 width = 18;
10572 height = 40;
10573 aiStyle = 3;
10574 damage = 100;
10575 defense = 34;
10576 lifeMax = 4000;
10579 knockBackResist = 0.1f;
10580 value = 3000f;
10581 }
10582 else if (type == 466)
10583 {
10584 width = 18;
10585 height = 40;
10586 aiStyle = 3;
10587 damage = 70;
10588 defense = 40;
10589 lifeMax = 550;
10592 knockBackResist = 0.5f;
10593 value = 1500f;
10594 }
10595 else if (type == 467)
10596 {
10597 width = 22;
10598 height = 22;
10599 aiStyle = 85;
10600 damage = 100;
10601 defense = 80;
10602 lifeMax = 350;
10605 value = 900f;
10606 knockBackResist = 0.7f;
10607 noGravity = true;
10608 }
10609 else if (type == 469)
10610 {
10611 width = 38;
10612 height = 26;
10613 aiStyle = 3;
10614 damage = 68;
10615 defense = 28;
10616 lifeMax = 600;
10619 knockBackResist = 0.35f;
10620 value = 1300f;
10621 }
10622 else if (type == 468)
10623 {
10624 width = 18;
10625 height = 40;
10626 aiStyle = 3;
10627 damage = 65;
10628 defense = 24;
10629 lifeMax = 500;
10632 knockBackResist = 0.6f;
10633 value = 1300f;
10634 }
10635 else if (type == 477)
10636 {
10637 noGravity = true;
10638 netAlways = true;
10639 width = 80;
10640 height = 50;
10641 aiStyle = 88;
10642 damage = 80;
10643 defense = 30;
10644 lifeMax = 6000;
10647 value = 50000f;
10648 knockBackResist = 0.2f;
10649 rarity = 1;
10650 }
10651 else if (type == 478)
10652 {
10653 width = 34;
10654 height = 34;
10655 aiStyle = 89;
10656 damage = 0;
10657 defense = 30;
10658 lifeMax = 200;
10661 value = 0f;
10662 knockBackResist = 0.7f;
10663 npcSlots = 0f;
10664 }
10665 else if (type == 479)
10666 {
10667 width = 46;
10668 height = 30;
10669 aiStyle = 90;
10670 damage = 50;
10671 defense = 14;
10672 lifeMax = 700;
10675 knockBackResist = 0.3f;
10676 value = 0f;
10677 npcSlots = 0.1f;
10678 }
10679 else if (type == 26)
10680 {
10681 scale = 0.9f;
10682 width = 18;
10683 height = 38;
10684 aiStyle = 3;
10685 damage = 12;
10686 defense = 4;
10687 lifeMax = 60;
10690 knockBackResist = 0.8f;
10691 value = 100f;
10692 }
10693 else if (type == 27)
10694 {
10695 scale = 0.95f;
10696 width = 18;
10697 height = 38;
10698 aiStyle = 3;
10699 damage = 20;
10700 defense = 6;
10701 lifeMax = 80;
10704 knockBackResist = 0.7f;
10705 value = 200f;
10706 }
10707 else if (type == 28)
10708 {
10709 scale = 1.1f;
10710 width = 18;
10711 height = 38;
10712 aiStyle = 3;
10713 damage = 25;
10714 defense = 8;
10715 lifeMax = 110;
10718 knockBackResist = 0.5f;
10719 value = 150f;
10720 }
10721 else if (type == 29)
10722 {
10723 width = 18;
10724 height = 38;
10725 aiStyle = 8;
10726 damage = 20;
10727 defense = 2;
10728 lifeMax = 40;
10731 knockBackResist = 0.6f;
10732 value = 200f;
10733 }
10734 else if (type == 30)
10735 {
10736 width = 16;
10737 height = 16;
10738 aiStyle = 9;
10739 damage = 20;
10740 defense = 0;
10741 lifeMax = 1;
10744 noGravity = true;
10745 noTileCollide = true;
10746 alpha = 100;
10747 knockBackResist = 0f;
10748 }
10749 else if (type == 111)
10750 {
10751 scale = 0.95f;
10752 width = 18;
10753 height = 38;
10754 aiStyle = 3;
10755 damage = 20;
10756 defense = 6;
10757 lifeMax = 80;
10760 knockBackResist = 0.7f;
10761 value = 200f;
10762 }
10763 else if (type == 471)
10764 {
10765 width = 18;
10766 height = 38;
10767 aiStyle = 3;
10768 damage = 80;
10769 defense = 26;
10770 lifeMax = 2000;
10773 knockBackResist = 0.15f;
10774 value = 5000f;
10775 rarity = 1;
10776 }
10777 else if (type == 472)
10778 {
10779 width = 40;
10780 height = 24;
10781 aiStyle = 86;
10782 damage = 50;
10783 defense = 18;
10784 lifeMax = 180;
10787 knockBackResist = 0f;
10788 value = 0f;
10789 npcSlots = 0.1f;
10790 }
10791 else if (type == 520)
10792 {
10793 width = 34;
10794 height = 110;
10795 aiStyle = 3;
10796 damage = 60;
10797 defense = 40;
10798 lifeMax = 2000;
10801 knockBackResist = 0f;
10802 }
10803 else if (type == 521)
10804 {
10805 width = 60;
10806 height = 60;
10807 aiStyle = 86;
10808 damage = 90;
10809 defense = 30;
10810 lifeMax = 2000;
10813 knockBackResist = 0f;
10814 }
10815 else if (type == 522)
10816 {
10817 width = 26;
10818 height = 26;
10819 aiStyle = 100;
10820 damage = 120;
10821 defense = 0;
10822 lifeMax = 400;
10823 HitSound = null;
10824 DeathSound = null;
10825 noGravity = true;
10826 noTileCollide = true;
10827 alpha = 0;
10828 knockBackResist = 0f;
10829 }
10830 else if (type == 523)
10831 {
10832 width = 42;
10833 height = 42;
10834 aiStyle = 101;
10835 damage = 30;
10836 defense = 0;
10837 lifeMax = 500;
10840 noGravity = true;
10841 noTileCollide = true;
10842 alpha = 0;
10843 knockBackResist = 0f;
10844 chaseable = false;
10845 alpha = 255;
10846 canGhostHeal = false;
10847 }
10848 else if (type == 534)
10849 {
10850 width = 18;
10851 height = 40;
10852 aiStyle = 3;
10853 damage = 14;
10854 defense = 20;
10855 lifeMax = 400;
10858 knockBackResist = 0.3f;
10859 value = 0f;
10860 lavaImmune = true;
10861 netAlways = true;
10862 rarity = 2;
10863 }
10864 else if (type == 535)
10865 {
10866 width = 24;
10867 height = 18;
10868 aiStyle = 1;
10869 damage = 14;
10870 defense = 5;
10871 lifeMax = 50;
10872 scale = 1.1f;
10875 alpha = 0;
10876 value = 40f;
10877 }
10878 else if (type == 536)
10879 {
10880 width = 18;
10881 height = 40;
10882 aiStyle = 3;
10883 damage = 14;
10884 defense = 8;
10885 lifeMax = 200;
10888 knockBackResist = 0.5f;
10889 value = 1000f;
10890 rarity = 2;
10891 }
10892 else if (type == 537)
10893 {
10894 npcSlots = 2f;
10895 width = 30;
10896 height = 24;
10897 aiStyle = 1;
10898 damage = 15;
10899 defense = 5;
10900 lifeMax = 50;
10903 alpha = 50;
10904 color = new Color(255, 250, 0, 0) * 0.2f;
10905 value = 75f;
10906 knockBackResist = 0.7f;
10907 }
10908 else if (type == 538)
10909 {
10910 width = 18;
10911 height = 20;
10912 aiStyle = 7;
10913 damage = 0;
10914 defense = 0;
10915 lifeMax = 5;
10918 catchItem = 3563;
10919 }
10920 else if (type == 539)
10921 {
10922 width = 18;
10923 height = 20;
10924 aiStyle = 7;
10925 damage = 0;
10926 defense = 0;
10927 lifeMax = 5;
10930 catchItem = 3564;
10931 rarity = 3;
10932 }
10933 else if (type == 541)
10934 {
10935 width = 30;
10936 height = 76;
10937 aiStyle = 102;
10938 damage = 40;
10939 defense = 30;
10940 lifeMax = 5000;
10943 knockBackResist = 0.05f;
10944 value = Item.buyPrice(0, 1, 50);
10945 rarity = 2;
10946 }
10947 else if (type == 542)
10948 {
10949 noGravity = true;
10950 width = 100;
10951 height = 24;
10952 aiStyle = 103;
10953 damage = 50;
10954 defense = 20;
10955 lifeMax = 360;
10958 value = 400f;
10959 knockBackResist = 0.9f;
10960 behindTiles = true;
10961 }
10962 else if (type == 543)
10963 {
10964 noGravity = true;
10965 width = 100;
10966 height = 24;
10967 aiStyle = 103;
10968 damage = 60;
10969 defense = 24;
10970 lifeMax = 380;
10973 value = 400f;
10974 knockBackResist = 0.8f;
10975 behindTiles = true;
10976 }
10977 else if (type == 544)
10978 {
10979 noGravity = true;
10980 width = 100;
10981 height = 24;
10982 aiStyle = 103;
10983 damage = 64;
10984 defense = 22;
10985 lifeMax = 400;
10988 value = 400f;
10989 knockBackResist = 0.8f;
10990 behindTiles = true;
10991 }
10992 else if (type == 545)
10993 {
10994 noGravity = true;
10995 width = 100;
10996 height = 24;
10997 aiStyle = 103;
10998 damage = 54;
10999 defense = 26;
11000 lifeMax = 450;
11003 value = 400f;
11004 knockBackResist = 0.7f;
11005 behindTiles = true;
11006 }
11007 else if (type == 546)
11008 {
11009 width = 30;
11010 height = 30;
11011 aiStyle = 26;
11012 damage = 30;
11013 defense = 6;
11014 lifeMax = 50;
11017 knockBackResist = 0.8f;
11018 value = 100f;
11019 }
11020 else if (type == 547)
11021 {
11022 width = 16;
11023 height = 16;
11024 aiStyle = 104;
11025 defense = 10;
11026 lifeMax = 10;
11029 knockBackResist = 1f;
11030 noGravity = true;
11031 noTileCollide = true;
11032 }
11033 else if (type == 548)
11034 {
11035 width = 40;
11036 height = 40;
11037 aiStyle = 105;
11038 defense = 14;
11039 lifeMax = 1000;
11042 knockBackResist = 0f;
11043 friendly = true;
11044 npcSlots = 0f;
11045 hide = true;
11046 if (Main.hardMode && downedMechBossAny)
11047 {
11048 defense = 18;
11049 lifeMax = 3000;
11050 }
11051 if (downedGolemBoss && Main.hardMode)
11052 {
11053 defense = 20;
11054 lifeMax = 5000;
11055 }
11056 if (Main.masterMode)
11057 {
11058 lifeMax *= 3;
11059 }
11060 else if (Main.expertMode)
11061 {
11062 lifeMax *= 2;
11063 }
11064 lavaImmune = true;
11066 netAlways = true;
11067 }
11068 else if (type == 549)
11069 {
11070 lifeMax = 5;
11071 defense = 20;
11072 damage = 0;
11073 width = 78;
11074 height = 130;
11075 aiStyle = 106;
11078 value = 0f;
11079 knockBackResist = 0f;
11080 noGravity = true;
11081 noTileCollide = true;
11082 npcSlots = 0f;
11083 behindTiles = true;
11084 dontTakeDamage = true;
11085 lavaImmune = true;
11087 netAlways = true;
11088 }
11089 else if (type == 552)
11090 {
11091 lifeMax = 30;
11092 defense = 14;
11093 damage = 18;
11094 width = 18;
11095 height = 40;
11096 aiStyle = 107;
11099 knockBackResist = 0.2f;
11100 value = 0f;
11101 npcSlots = 0f;
11102 lavaImmune = true;
11104 netAlways = true;
11105 }
11106 else if (type == 553)
11107 {
11108 lifeMax = 170;
11109 defense = 20;
11110 damage = 46;
11111 width = 18;
11112 height = 40;
11113 aiStyle = 107;
11116 knockBackResist = 0.2f;
11117 value = 0f;
11118 npcSlots = 0f;
11119 lavaImmune = true;
11121 netAlways = true;
11122 }
11123 else if (type == 554)
11124 {
11125 lifeMax = 560;
11126 defense = 28;
11127 damage = 70;
11128 width = 18;
11129 height = 40;
11130 aiStyle = 107;
11133 knockBackResist = 0.15f;
11134 value = 0f;
11135 npcSlots = 0f;
11136 lavaImmune = true;
11138 netAlways = true;
11139 }
11140 else if (type == 561)
11141 {
11142 lifeMax = 60;
11143 defense = 18;
11144 damage = 30;
11145 width = 26;
11146 height = 52;
11147 aiStyle = 107;
11150 knockBackResist = 0.1f;
11151 value = 0f;
11152 npcSlots = 0f;
11153 lavaImmune = true;
11155 netAlways = true;
11156 }
11157 else if (type == 562)
11158 {
11159 lifeMax = 300;
11160 defense = 28;
11161 damage = 60;
11162 width = 26;
11163 height = 52;
11164 aiStyle = 107;
11167 knockBackResist = 0.1f;
11168 value = 0f;
11169 npcSlots = 0f;
11170 lavaImmune = true;
11172 netAlways = true;
11173 }
11174 else if (type == 563)
11175 {
11176 lifeMax = 1000;
11177 defense = 38;
11178 damage = 80;
11179 width = 26;
11180 height = 52;
11181 aiStyle = 107;
11184 knockBackResist = 0.05f;
11185 value = 0f;
11186 npcSlots = 0f;
11187 lavaImmune = true;
11189 netAlways = true;
11190 }
11191 else if (type == 555)
11192 {
11193 lifeMax = 50;
11194 defense = 16;
11195 damage = 26;
11196 width = 18;
11197 height = 40;
11198 aiStyle = 107;
11201 knockBackResist = 0.2f;
11202 value = 0f;
11203 npcSlots = 0f;
11204 lavaImmune = true;
11206 netAlways = true;
11207 }
11208 else if (type == 556)
11209 {
11210 lifeMax = 200;
11211 defense = 26;
11212 damage = 55;
11213 width = 18;
11214 height = 40;
11215 aiStyle = 107;
11218 knockBackResist = 0.2f;
11219 value = 0f;
11220 npcSlots = 0f;
11221 lavaImmune = true;
11223 netAlways = true;
11224 }
11225 else if (type == 557)
11226 {
11227 lifeMax = 700;
11228 defense = 34;
11229 damage = 75;
11230 width = 18;
11231 height = 40;
11232 aiStyle = 107;
11235 knockBackResist = 0.15f;
11236 value = 0f;
11237 npcSlots = 0f;
11238 lavaImmune = true;
11240 netAlways = true;
11241 }
11242 else if (type == 558)
11243 {
11244 width = 38;
11245 height = 38;
11246 aiStyle = 108;
11247 damage = 30;
11248 defense = 4;
11249 lifeMax = 60;
11252 noGravity = true;
11253 noTileCollide = true;
11254 knockBackResist = 0.2f;
11255 npcSlots = 0f;
11256 lavaImmune = true;
11258 netAlways = true;
11259 }
11260 else if (type == 559)
11261 {
11262 width = 38;
11263 height = 38;
11264 aiStyle = 108;
11265 damage = 75;
11266 defense = 16;
11267 lifeMax = 180;
11270 noGravity = true;
11271 noTileCollide = true;
11272 knockBackResist = 0.2f;
11273 npcSlots = 0f;
11274 lavaImmune = true;
11276 netAlways = true;
11277 }
11278 else if (type == 560)
11279 {
11280 width = 38;
11281 height = 38;
11282 aiStyle = 108;
11283 damage = 100;
11284 defense = 30;
11285 lifeMax = 600;
11288 noGravity = true;
11289 noTileCollide = true;
11290 knockBackResist = 0.05f;
11291 npcSlots = 0f;
11292 lavaImmune = true;
11294 netAlways = true;
11295 }
11296 else if (type == 550)
11297 {
11298 townNPC = true;
11299 friendly = true;
11300 width = 18;
11301 height = 40;
11302 aiStyle = 7;
11303 damage = 10;
11304 defense = 15;
11305 lifeMax = 250;
11308 knockBackResist = 0.5f;
11309 }
11310 else if (type == 576)
11311 {
11312 lifeMax = 5000;
11313 defense = 34;
11314 damage = 70;
11315 width = 96;
11316 height = 124;
11317 aiStyle = 107;
11320 knockBackResist = 0f;
11321 value = 0f;
11322 npcSlots = 0f;
11323 lavaImmune = true;
11325 netAlways = true;
11326 }
11327 else if (type == 577)
11328 {
11329 lifeMax = 13000;
11330 defense = 40;
11331 damage = 90;
11332 width = 96;
11333 height = 124;
11334 aiStyle = 107;
11337 knockBackResist = 0f;
11338 value = 0f;
11339 npcSlots = 0f;
11340 lavaImmune = true;
11342 netAlways = true;
11343 }
11344 else if (type == 568)
11345 {
11346 lifeMax = 500;
11347 defense = 30;
11348 damage = 50;
11349 width = 18;
11350 height = 40;
11351 aiStyle = 107;
11354 knockBackResist = 0.15f;
11355 value = 0f;
11356 npcSlots = 0f;
11357 lavaImmune = true;
11359 netAlways = true;
11360 }
11361 else if (type == 569)
11362 {
11363 lifeMax = 1400;
11364 defense = 40;
11365 damage = 80;
11366 width = 18;
11367 height = 40;
11368 aiStyle = 107;
11371 knockBackResist = 0.05f;
11372 value = 0f;
11373 npcSlots = 0f;
11374 lavaImmune = true;
11376 netAlways = true;
11377 }
11378 else if (type == 566)
11379 {
11380 lifeMax = 25;
11381 defense = 12;
11382 damage = 18;
11383 width = 18;
11384 height = 40;
11385 aiStyle = 107;
11388 knockBackResist = 0.3f;
11389 value = 0f;
11390 npcSlots = 0f;
11391 lavaImmune = true;
11393 netAlways = true;
11394 }
11395 else if (type == 567)
11396 {
11397 lifeMax = 480;
11398 defense = 22;
11399 damage = 70;
11400 width = 18;
11401 height = 40;
11402 aiStyle = 107;
11405 knockBackResist = 0.2f;
11406 value = 0f;
11407 npcSlots = 0f;
11408 lavaImmune = true;
11410 netAlways = true;
11411 }
11412 else if (type == 572)
11413 {
11414 lifeMax = 260;
11415 defense = 26;
11416 damage = 60;
11417 width = 18;
11418 height = 40;
11419 aiStyle = 107;
11422 knockBackResist = 0.2f;
11423 value = 0f;
11424 npcSlots = 0f;
11425 lavaImmune = true;
11427 netAlways = true;
11428 }
11429 else if (type == 573)
11430 {
11431 lifeMax = 800;
11432 defense = 32;
11433 damage = 80;
11434 width = 18;
11435 height = 40;
11436 aiStyle = 107;
11439 knockBackResist = 0.1f;
11440 value = 0f;
11441 npcSlots = 0f;
11442 lavaImmune = true;
11444 netAlways = true;
11445 }
11446 else if (type == 570)
11447 {
11448 lifeMax = 900;
11449 defense = 30;
11450 damage = 60;
11451 width = 42;
11452 height = 58;
11453 aiStyle = 107;
11456 knockBackResist = 0f;
11457 value = 0f;
11458 npcSlots = 0f;
11459 lavaImmune = true;
11461 netAlways = true;
11462 }
11463 else if (type == 571)
11464 {
11465 lifeMax = 3000;
11466 defense = 40;
11467 damage = 90;
11468 width = 42;
11469 height = 58;
11470 aiStyle = 107;
11473 knockBackResist = 0f;
11474 value = 0f;
11475 npcSlots = 0f;
11476 lavaImmune = true;
11478 netAlways = true;
11479 }
11480 else if (type == 564)
11481 {
11482 lifeMax = 800;
11483 defense = 18;
11484 damage = 40;
11485 width = 34;
11486 height = 62;
11487 aiStyle = 109;
11490 knockBackResist = 0f;
11491 value = 0f;
11492 npcSlots = 0f;
11493 noGravity = true;
11494 lavaImmune = true;
11496 netAlways = true;
11497 }
11498 else if (type == 565)
11499 {
11500 lifeMax = 4000;
11501 defense = 38;
11502 damage = 90;
11503 width = 34;
11504 height = 62;
11505 aiStyle = 109;
11508 knockBackResist = 0f;
11509 value = 0f;
11510 npcSlots = 0f;
11511 noGravity = true;
11512 lavaImmune = true;
11514 netAlways = true;
11515 }
11516 else if (type == 574)
11517 {
11518 width = 38;
11519 height = 38;
11520 aiStyle = 108;
11521 damage = 50;
11522 defense = 16;
11523 lifeMax = 170;
11526 noGravity = true;
11527 noTileCollide = true;
11528 knockBackResist = 0.4f;
11529 npcSlots = 0f;
11530 lavaImmune = true;
11532 netAlways = true;
11533 }
11534 else if (type == 575)
11535 {
11536 width = 38;
11537 height = 38;
11538 aiStyle = 108;
11539 damage = 80;
11540 defense = 32;
11541 lifeMax = 580;
11544 noGravity = true;
11545 noTileCollide = true;
11546 knockBackResist = 0.25f;
11547 npcSlots = 0f;
11548 lavaImmune = true;
11550 netAlways = true;
11551 }
11552 else if (type == 551)
11553 {
11554 damage = 80;
11555 defense = 38;
11556 lifeMax = 50000;
11557 width = 190;
11558 height = 90;
11559 aiStyle = 110;
11562 knockBackResist = 0f;
11563 value = 0f;
11564 noGravity = true;
11565 noTileCollide = true;
11566 npcSlots = 0f;
11567 lavaImmune = true;
11569 netAlways = true;
11570 }
11571 else if (type == 578)
11572 {
11573 width = 30;
11574 height = 24;
11575 aiStyle = 111;
11576 damage = 80;
11577 defense = 36;
11578 lifeMax = 500;
11581 noGravity = true;
11582 noTileCollide = true;
11583 knockBackResist = 0.8f;
11584 npcSlots = 0f;
11585 lavaImmune = true;
11587 netAlways = true;
11588 }
11589 else if (type == 579)
11590 {
11591 friendly = true;
11592 width = 34;
11593 height = 8;
11594 aiStyle = 0;
11595 damage = 10;
11596 defense = 15;
11597 lifeMax = 250;
11600 knockBackResist = 0.5f;
11601 scale = 1f;
11602 rarity = 1;
11603 }
11604 else if (type == 582)
11605 {
11606 width = 18;
11607 height = 18;
11608 aiStyle = 3;
11609 damage = 10;
11610 defense = 2;
11611 lifeMax = 30;
11614 knockBackResist = 0.75f;
11615 value = 40f;
11616 npcSlots = 0.4f;
11617 }
11618 else if (type == 583 || type == 584 || type == 585)
11619 {
11620 width = 18;
11621 height = 20;
11622 aiStyle = 112;
11623 damage = 0;
11624 defense = 0;
11625 lifeMax = 5;
11628 switch (type)
11629 {
11630 case 583:
11631 catchItem = 4068;
11632 break;
11633 case 584:
11634 catchItem = 4069;
11635 break;
11636 case 585:
11637 catchItem = 4070;
11638 break;
11639 }
11640 noGravity = true;
11641 rarity = 2;
11642 }
11643 else if (type == 586)
11644 {
11645 width = 18;
11646 height = 40;
11647 aiStyle = 3;
11648 damage = 40;
11649 defense = 20;
11650 lifeMax = 400;
11653 knockBackResist = 0f;
11654 value = 1000f;
11655 alpha = 255;
11656 rarity = 1;
11657 }
11658 else if (type == 587)
11659 {
11660 width = 32;
11661 height = 18;
11662 aiStyle = 44;
11663 damage = 35;
11664 defense = 18;
11665 lifeMax = 300;
11667 knockBackResist = 0f;
11669 value = 1000f;
11670 alpha = 255;
11671 rarity = 1;
11672 }
11673 else if (type == 588)
11674 {
11675 townNPC = true;
11676 friendly = true;
11677 width = 18;
11678 height = 40;
11679 aiStyle = 7;
11680 damage = 10;
11681 defense = 15;
11682 lifeMax = 250;
11685 knockBackResist = 0.5f;
11686 }
11687 else if (type == 589)
11688 {
11689 friendly = true;
11690 width = 18;
11691 height = 34;
11692 aiStyle = 0;
11693 damage = 10;
11694 defense = 15;
11695 lifeMax = 250;
11698 knockBackResist = 0.5f;
11699 rarity = 1;
11700 }
11701 else if (type == 590 || type == 591)
11702 {
11703 width = 18;
11704 height = 40;
11705 aiStyle = 3;
11706 damage = 14;
11707 defense = 6;
11708 lifeMax = 45;
11711 knockBackResist = 0.5f;
11712 value = 60f;
11713 }
11714 else if (type == 592)
11715 {
11716 noGravity = true;
11717 width = 20;
11718 height = 18;
11719 aiStyle = 16;
11720 damage = 0;
11721 defense = 0;
11722 lifeMax = 5;
11725 knockBackResist = 0.5f;
11726 catchItem = 4274;
11727 rarity = 3;
11728 }
11729 else if (type == 593)
11730 {
11731 width = 18;
11732 height = 20;
11733 aiStyle = 7;
11734 damage = 0;
11735 defense = 0;
11736 lifeMax = 5;
11739 catchItem = 4274;
11740 rarity = 3;
11741 }
11742 else if (type == 594)
11743 {
11744 width = 20;
11745 height = 20;
11746 aiStyle = 113;
11747 damage = 0;
11748 defense = 0;
11749 knockBackResist = 0.3f;
11750 lifeMax = 1;
11752 value = 0f;
11753 noGravity = true;
11754 }
11755 else if (type >= 595 && type <= 601)
11756 {
11757 timeLeft *= 3;
11758 width = 10;
11759 height = 10;
11760 aiStyle = 114;
11761 damage = 0;
11762 defense = 0;
11763 lifeMax = 5;
11766 npcSlots = 0.25f;
11767 noGravity = true;
11768 if (type == 601)
11769 {
11770 rarity = 3;
11771 }
11772 catchItem = (short)(type - 595 + 4334);
11773 }
11774 else if (type == 602)
11775 {
11776 width = 22;
11777 height = 26;
11778 aiStyle = 7;
11779 damage = 0;
11780 defense = 0;
11781 lifeMax = 5;
11784 catchItem = 4359;
11785 }
11786 else if (type == 603)
11787 {
11788 width = 28;
11789 height = 22;
11790 aiStyle = 68;
11791 damage = 0;
11792 defense = 0;
11793 lifeMax = 5;
11796 catchItem = 4359;
11797 }
11798 else if (type == 604 || type == 605)
11799 {
11800 width = 10;
11801 height = 10;
11802 aiStyle = 115;
11803 damage = 0;
11804 defense = 0;
11805 lifeMax = 5;
11808 npcSlots = 0.25f;
11809 noGravity = true;
11810 if (type == 605)
11811 {
11812 rarity = 3;
11813 }
11814 catchItem = (short)(type - 604 + 4361);
11815 }
11816 else if (type == 606)
11817 {
11818 width = 10;
11819 height = 4;
11820 aiStyle = 66;
11821 damage = 0;
11822 defense = 0;
11823 lifeMax = 5;
11826 npcSlots = 0.1f;
11827 catchItem = 4363;
11828 }
11829 else if (type == 607)
11830 {
11831 noGravity = true;
11832 width = 20;
11833 height = 18;
11834 aiStyle = 16;
11835 damage = 0;
11836 defense = 0;
11837 lifeMax = 5;
11840 knockBackResist = 0.5f;
11841 catchItem = 4373;
11842 }
11843 else if (type == 608)
11844 {
11845 width = 22;
11846 height = 26;
11847 aiStyle = 7;
11848 damage = 0;
11849 defense = 0;
11850 lifeMax = 5;
11853 catchItem = 4374;
11854 }
11855 else if (type == 609)
11856 {
11857 width = 28;
11858 height = 22;
11859 aiStyle = 68;
11860 damage = 0;
11861 defense = 0;
11862 lifeMax = 5;
11865 catchItem = 4374;
11866 }
11867 else if (type == 610)
11868 {
11869 width = 14;
11870 height = 12;
11871 aiStyle = 7;
11872 damage = 0;
11873 defense = 0;
11874 lifeMax = 5;
11877 npcSlots = 0.25f;
11878 catchItem = 4375;
11879 }
11880 else if (type == 611)
11881 {
11882 width = 18;
11883 height = 34;
11884 aiStyle = 24;
11885 damage = 0;
11886 defense = 0;
11887 lifeMax = 5;
11889 knockBackResist = 0.8f;
11891 catchItem = 4395;
11892 npcSlots = 0.4f;
11893 }
11894 else if (type == 612 || type == 613)
11895 {
11896 width = 10;
11897 height = 10;
11898 aiStyle = 116;
11899 damage = 0;
11900 defense = 0;
11901 lifeMax = 5;
11904 npcSlots = 0.25f;
11905 if (type == 613)
11906 {
11907 rarity = 3;
11908 }
11909 catchItem = (short)(type - 612 + 4418);
11913 }
11914 else if (type == 614)
11915 {
11916 width = 18;
11917 height = 20;
11918 aiStyle = 7;
11919 damage = 0;
11920 defense = 0;
11921 lifeMax = 5;
11923 DeathSound = null;
11924 catchItem = 1338;
11925 }
11926 else if (type == 615)
11927 {
11928 noGravity = true;
11929 width = 20;
11930 height = 18;
11931 aiStyle = 16;
11932 damage = 0;
11933 defense = 0;
11934 lifeMax = 5;
11937 knockBackResist = 0.5f;
11938 }
11939 else if (type == 616 || type == 617)
11940 {
11941 width = 22;
11942 height = 20;
11943 aiStyle = 7;
11944 damage = 0;
11945 defense = 0;
11946 lifeMax = 5;
11949 knockBackResist = 0.5f;
11950 catchItem = (short)(type - 616 + 4464);
11951 }
11952 else if (type == 618)
11953 {
11954 noGravity = true;
11955 width = 100;
11956 height = 100;
11957 aiStyle = 117;
11958 damage = 55;
11959 defense = 24;
11960 lifeMax = 7000;
11963 knockBackResist = 0f;
11964 value = Item.buyPrice(0, 2);
11965 noTileCollide = true;
11966 rarity = 1;
11967 }
11968 else if (type == 619)
11969 {
11970 npcSlots = 1f;
11971 width = 44;
11972 height = 44;
11973 aiStyle = 5;
11974 damage = 60;
11975 defense = 16;
11976 lifeMax = 750;
11979 noGravity = true;
11980 knockBackResist = 0f;
11981 value = 500f;
11982 alpha = 255;
11983 }
11984 else if (type == 620)
11985 {
11986 lifeMax = 5000;
11987 defense = 30;
11988 damage = 70;
11989 width = 34;
11990 height = 58;
11991 aiStyle = 107;
11994 knockBackResist = 0f;
11995 value = Item.buyPrice(0, 0, 75);
11996 npcSlots = 0f;
11997 lavaImmune = true;
11999 netAlways = true;
12000 alpha = 255;
12001 rarity = 1;
12002 }
12003 else if (type == 621)
12004 {
12005 npcSlots = 5f;
12006 width = 28;
12007 height = 28;
12008 aiStyle = 6;
12009 damage = 90;
12010 defense = 0;
12011 lifeMax = 6000;
12014 noGravity = true;
12015 noTileCollide = true;
12016 knockBackResist = 0f;
12017 behindTiles = true;
12018 value = Item.buyPrice(0, 0, 75);
12019 alpha = 255;
12020 rarity = 1;
12021 }
12022 else if (type == 622)
12023 {
12024 width = 28;
12025 height = 28;
12026 aiStyle = 6;
12027 netAlways = true;
12028 damage = 60;
12029 defense = 30;
12030 lifeMax = 6000;
12033 noGravity = true;
12034 noTileCollide = true;
12035 knockBackResist = 0f;
12036 behindTiles = true;
12037 dontCountMe = true;
12038 npcSlots = 0f;
12039 alpha = 255;
12040 }
12041 else if (type == 623)
12042 {
12043 width = 28;
12044 height = 28;
12045 aiStyle = 6;
12046 netAlways = true;
12047 damage = 50;
12048 defense = 40;
12049 lifeMax = 6000;
12052 noGravity = true;
12053 noTileCollide = true;
12054 knockBackResist = 0f;
12055 behindTiles = true;
12056 dontCountMe = true;
12057 npcSlots = 0f;
12058 alpha = 255;
12059 }
12060 else if (type == 624)
12061 {
12062 width = 14;
12063 height = 30;
12064 aiStyle = 3;
12065 damage = 10;
12066 defense = 0;
12067 lifeMax = 25;
12070 knockBackResist = 1f;
12071 rarity = 1;
12072 }
12073 else if (type == 625)
12074 {
12075 width = 22;
12076 height = 20;
12077 aiStyle = 7;
12078 damage = 0;
12079 defense = 0;
12080 lifeMax = 5;
12083 knockBackResist = 0.5f;
12084 }
12085 else if (type == 626 || type == 627)
12086 {
12087 width = 16;
12088 height = 20;
12089 aiStyle = 118;
12090 damage = 0;
12091 defense = 0;
12092 lifeMax = 5;
12095 knockBackResist = 1f;
12096 if (type == 627)
12097 {
12098 rarity = 3;
12099 }
12100 catchItem = 4480;
12101 if (type == 627)
12102 {
12103 catchItem = 4482;
12104 }
12105 }
12106 else if (type == 628)
12107 {
12108 width = 22;
12109 height = 40;
12110 aiStyle = 119;
12111 damage = 15;
12112 defense = 0;
12113 lifeMax = 50;
12116 knockBackResist = 0f;
12117 value = 50f;
12118 }
12119 else if (type == 629)
12120 {
12121 width = 24;
12122 height = 24;
12123 aiStyle = 25;
12124 damage = 80;
12125 defense = 30;
12126 lifeMax = 500;
12129 value = 100000f;
12130 knockBackResist = 0.3f;
12131 rarity = 4;
12132 coldDamage = true;
12133 if (Main.remixWorld && !Main.hardMode)
12134 {
12135 damage = 30;
12136 defense = 12;
12137 lifeMax = 300;
12138 value = Item.buyPrice(0, 2);
12139 }
12140 }
12141 else if (type == 630)
12142 {
12143 width = 18;
12144 height = 40;
12145 aiStyle = 3;
12146 damage = 60;
12147 defense = 18;
12148 lifeMax = 180;
12151 knockBackResist = 0.5f;
12152 value = 700f;
12153 }
12154 else if (type == 631)
12155 {
12156 width = 36;
12157 height = 48;
12158 scale = 1.1f;
12159 aiStyle = 3;
12160 damage = 85;
12161 defense = 35;
12162 lifeMax = 1000;
12165 knockBackResist = 0.1f;
12166 value = 25000f;
12167 }
12168 else if (type == 632)
12169 {
12170 width = 18;
12171 height = 40;
12172 aiStyle = 3;
12173 damage = 14;
12174 defense = 6;
12175 lifeMax = 45;
12178 knockBackResist = 0.5f;
12179 value = 60f;
12180 }
12181 else if (type == 633)
12182 {
12183 townNPC = true;
12184 friendly = true;
12185 width = 18;
12186 height = 40;
12187 aiStyle = 7;
12188 damage = 10;
12189 defense = 15;
12190 lifeMax = 250;
12193 knockBackResist = 0.5f;
12194 }
12195 else if (type == 634)
12196 {
12197 npcSlots = 0.5f;
12198 width = 22;
12199 height = 18;
12200 aiStyle = 14;
12201 damage = 13;
12202 defense = 2;
12203 lifeMax = 16;
12205 knockBackResist = 0.8f;
12207 value = 90f;
12208 }
12209 else if (type == 635)
12210 {
12211 width = 18;
12212 height = 40;
12213 aiStyle = 3;
12214 damage = 20;
12215 defense = 8;
12216 lifeMax = 60;
12219 knockBackResist = 0.5f;
12220 value = 100f;
12221 }
12222 else if (type == 636)
12223 {
12224 noGravity = true;
12225 width = 100;
12226 height = 100;
12227 aiStyle = 120;
12228 damage = 80;
12229 defense = 50;
12230 lifeMax = 70000;
12233 knockBackResist = 0f;
12234 value = 250000f;
12235 noTileCollide = true;
12236 boss = true;
12237 Opacity = 0f;
12238 dontTakeDamage = true;
12239 npcSlots = 16f;
12240 }
12241 else if (type == 637 || type == 638)
12242 {
12243 townNPC = true;
12244 friendly = true;
12245 width = 18;
12246 height = 28;
12247 if (type == 637)
12248 {
12249 height = 20;
12250 }
12251 aiStyle = 7;
12252 damage = 10;
12253 defense = 15;
12254 lifeMax = 250;
12257 knockBackResist = 0.5f;
12258 housingCategory = 1;
12259 }
12260 else if (type >= 639 && type <= 645)
12261 {
12262 width = 18;
12263 height = 20;
12264 aiStyle = 7;
12265 damage = 0;
12266 defense = 0;
12267 lifeMax = 5;
12270 catchItem = (short)(4831 + (type - 639));
12271 }
12272 else if (type >= 646 && type <= 652)
12273 {
12274 width = 18;
12275 height = 20;
12276 aiStyle = 7;
12277 damage = 0;
12278 defense = 0;
12279 lifeMax = 5;
12282 catchItem = (short)(4838 + (type - 646));
12283 }
12284 else if (type == 653)
12285 {
12286 width = 10;
12287 height = 10;
12288 aiStyle = 65;
12289 damage = 0;
12290 defense = 0;
12291 lifeMax = 5;
12294 npcSlots = 0.25f;
12295 noGravity = true;
12296 lavaImmune = true;
12297 catchItem = 4845;
12298 }
12299 else if (type == 654)
12300 {
12301 width = 10;
12302 height = 10;
12303 aiStyle = 64;
12304 damage = 0;
12305 defense = 0;
12306 lifeMax = 5;
12309 npcSlots = 0.2f;
12310 noGravity = true;
12311 lavaImmune = true;
12312 catchItem = 4847;
12313 }
12314 else if (type == 655)
12315 {
12316 width = 14;
12317 height = 14;
12318 aiStyle = 67;
12319 damage = 0;
12320 defense = 0;
12321 lifeMax = 5;
12324 npcSlots = 0.5f;
12325 noGravity = true;
12326 lavaImmune = true;
12327 catchItem = 4849;
12328 }
12329 else if (type == 656)
12330 {
12331 townNPC = true;
12332 friendly = true;
12333 width = 18;
12334 height = 20;
12335 aiStyle = 7;
12336 damage = 10;
12337 defense = 15;
12338 lifeMax = 250;
12341 knockBackResist = 0.5f;
12342 housingCategory = 1;
12343 }
12344 else if (type == 657)
12345 {
12346 width = 114;
12347 height = 100;
12348 aiStyle = 121;
12349 damage = 60;
12350 defense = 26;
12351 lifeMax = 18000;
12354 lavaImmune = true;
12355 knockBackResist = 0f;
12356 value = 60000f;
12357 boss = true;
12358 npcSlots = 5f;
12359 }
12360 else if (type == 658 || type == 659)
12361 {
12362 width = 24;
12363 height = 18;
12364 aiStyle = 1;
12365 damage = 40;
12366 defense = 35;
12367 lifeMax = 150;
12368 scale = 1f;
12371 }
12372 else if (type == 660)
12373 {
12374 width = 40;
12375 height = 30;
12376 aiStyle = 14;
12377 damage = 50;
12378 defense = 30;
12379 lifeMax = 120;
12382 knockBackResist = 0.8f;
12383 scale = 1f;
12384 }
12385 else if (type == 661)
12386 {
12387 width = 10;
12388 height = 10;
12389 aiStyle = 65;
12390 damage = 0;
12391 defense = 0;
12392 lifeMax = 5;
12395 npcSlots = 0.25f;
12396 noGravity = true;
12397 lavaImmune = true;
12398 catchItem = 4961;
12399 rarity = 4;
12400 }
12401 else if (type == 662)
12402 {
12403 width = 18;
12404 height = 40;
12405 aiStyle = 122;
12406 damage = 75;
12407 defense = 22;
12408 lifeMax = 500;
12411 knockBackResist = 0.2f;
12412 value = 0f;
12413 noTileCollide = true;
12414 lavaImmune = true;
12415 trapImmune = true;
12416 noGravity = true;
12417 }
12418 else if (type == 663)
12419 {
12420 townNPC = true;
12421 friendly = true;
12422 width = 18;
12423 height = 40;
12424 aiStyle = 7;
12425 damage = 10;
12426 defense = 15;
12427 lifeMax = 250;
12430 knockBackResist = 0.5f;
12431 }
12432 else if (type == 664)
12433 {
12434 lifeMax = 20;
12435 boss = true;
12436 }
12437 else if (type == 665)
12438 {
12439 width = 16;
12440 height = 16;
12441 aiStyle = 9;
12442 damage = 20;
12443 defense = 0;
12444 lifeMax = 1;
12447 noGravity = true;
12448 noTileCollide = true;
12449 alpha = 100;
12450 knockBackResist = 0f;
12451 }
12452 else if (type == 666)
12453 {
12454 width = 16;
12455 height = 16;
12456 aiStyle = 9;
12457 damage = 65;
12458 defense = 0;
12459 lifeMax = 1;
12460 HitSound = null;
12462 noGravity = true;
12463 noTileCollide = true;
12464 knockBackResist = 0f;
12465 scale = 0.9f;
12466 alpha = 80;
12467 }
12468 else if (type == 667)
12469 {
12470 width = 24;
12471 height = 18;
12472 aiStyle = 1;
12473 damage = 5;
12474 defense = 5;
12475 lifeMax = 300;
12476 knockBackResist *= 1.4f;
12477 rarity = 2;
12478 scale = 1f;
12479 value = Item.buyPrice(0, 15);
12482 }
12483 else if (type == 668)
12484 {
12485 width = 60;
12486 height = 154;
12487 aiStyle = 123;
12488 damage = 20;
12489 defense = 10;
12490 lifeMax = 7000;
12493 knockBackResist = 0f;
12494 boss = true;
12495 noGravity = true;
12496 noTileCollide = true;
12497 value = Item.buyPrice(0, 5);
12498 npcSlots = 10f;
12499 coldDamage = true;
12500 }
12501 else if (type == 669)
12502 {
12503 width = 10;
12504 height = 10;
12505 aiStyle = 115;
12506 damage = 0;
12507 defense = 0;
12508 lifeMax = 5;
12511 npcSlots = 0.25f;
12512 noGravity = true;
12513 catchItem = 5132;
12514 }
12515 else if (type == 670)
12516 {
12517 townNPC = true;
12518 friendly = true;
12519 width = 18;
12520 height = 20;
12521 aiStyle = 7;
12522 damage = 10;
12523 defense = 15;
12524 lifeMax = 250;
12527 knockBackResist = 0.5f;
12528 housingCategory = 1;
12529 }
12530 else if (type == 671)
12531 {
12532 width = 14;
12533 height = 14;
12534 aiStyle = 24;
12535 damage = 0;
12536 defense = 0;
12537 lifeMax = 5;
12539 knockBackResist = 0.8f;
12541 catchItem = 5212;
12542 npcSlots = 1f;
12543 }
12544 else if (type == 672)
12545 {
12546 width = 14;
12547 height = 14;
12548 aiStyle = 24;
12549 damage = 0;
12550 defense = 0;
12551 lifeMax = 5;
12553 knockBackResist = 0.8f;
12555 catchItem = 5300;
12556 npcSlots = 1f;
12557 }
12558 else if (type == 673)
12559 {
12560 width = 14;
12561 height = 14;
12562 aiStyle = 24;
12563 damage = 0;
12564 defense = 0;
12565 lifeMax = 5;
12567 knockBackResist = 0.8f;
12569 catchItem = 5311;
12570 npcSlots = 1f;
12571 }
12572 else if (type == 674)
12573 {
12574 width = 14;
12575 height = 14;
12576 aiStyle = 24;
12577 damage = 0;
12578 defense = 0;
12579 lifeMax = 5;
12581 knockBackResist = 0.8f;
12583 catchItem = 5312;
12584 npcSlots = 1f;
12585 }
12586 else if (type == 675)
12587 {
12588 width = 14;
12589 height = 14;
12590 aiStyle = 24;
12591 damage = 0;
12592 defense = 0;
12593 lifeMax = 5;
12595 knockBackResist = 0.8f;
12597 catchItem = 5313;
12598 npcSlots = 1f;
12599 }
12600 else if (type == 676)
12601 {
12602 width = 24;
12603 height = 18;
12604 aiStyle = 1;
12605 damage = 20;
12606 defense = 5;
12607 lifeMax = 80;
12608 scale = 1f;
12609 value = Item.buyPrice(0, 0, 1, 50);
12612 }
12613 else if (type == 677)
12614 {
12615 width = 10;
12616 height = 10;
12617 aiStyle = 64;
12618 damage = 0;
12619 defense = 0;
12620 lifeMax = 5;
12623 npcSlots = 0.2f;
12624 noGravity = true;
12625 catchItem = 5350;
12626 noTileCollide = true;
12627 }
12628 else if (type == 678 || type == 679 || type == 680 || type == 681 || type == 682 || type == 683 || type == 684)
12629 {
12630 townNPC = true;
12631 friendly = true;
12632 width = 18;
12633 height = 20;
12634 aiStyle = 7;
12635 damage = 10;
12636 defense = 15;
12637 lifeMax = 250;
12640 knockBackResist = 0.5f;
12641 housingCategory = 1;
12642 }
12643 else if (type == 685)
12644 {
12645 width = 30;
12646 height = 28;
12647 aiStyle = 1;
12648 damage = 0;
12649 defense = 10;
12650 knockBackResist = 0.3f;
12651 lifeMax = 250;
12654 value = 0f;
12655 rarity = 2;
12656 friendly = true;
12657 }
12658 else if (type == 686)
12659 {
12660 width = 20;
12661 height = 20;
12662 aiStyle = 125;
12663 damage = 0;
12664 defense = 0;
12665 knockBackResist = 0.3f;
12666 lifeMax = 1;
12668 value = 0f;
12669 rarity = 2;
12670 noGravity = true;
12671 noTileCollide = true;
12673 }
12674 else if (type == 687)
12675 {
12676 width = 18;
12677 height = 20;
12678 aiStyle = 7;
12679 damage = 0;
12680 defense = 0;
12681 lifeMax = 5;
12682 rarity = 2;
12685 catchItem = 2121;
12686 }
12688 {
12689 Array.Fill(buffImmune, value: true);
12690 }
12692 {
12694 {
12695 for (int m = 0; m < buffImmune.Length; m++)
12696 {
12698 }
12699 }
12700 for (int l = 0; l < NPCID.Sets.SpecificDebuffImmunity[type].Length; l++)
12701 {
12702 if ((!NPCID.Sets.SpecificDebuffImmunity[type][l]) ?? false)
12703 {
12704 buffImmune[l] = false;
12705 }
12706 }
12707 int i;
12708 for (i = 0; i < BuffID.Sets.GrantImmunityWith.Length; i++)
12709 {
12711 if (buffsToInherit.Count > 0 && buffsToInherit.All((int x) => !buffImmune[i]))
12712 {
12713 buffImmune[i] = false;
12714 }
12715 }
12716 for (int j = 0; j < NPCID.Sets.SpecificDebuffImmunity[type].Length; j++)
12717 {
12718 if (NPCID.Sets.SpecificDebuffImmunity[type][j] ?? false)
12719 {
12720 buffImmune[j] = true;
12721 }
12722 }
12723 }
12724 else
12725 {
12726 for (int i3 = 0; i3 < NPCID.Sets.SpecificDebuffImmunity[type].Length; i3++)
12727 {
12728 if (NPCID.Sets.SpecificDebuffImmunity[type][i3] ?? false)
12729 {
12730 buffImmune[i3] = true;
12731 }
12732 }
12733 for (int i2 = 0; i2 < BuffID.Sets.GrantImmunityWith.Length; i2++)
12734 {
12736 {
12738 {
12739 buffImmune[i2] = true;
12740 break;
12741 }
12742 }
12743 }
12744 for (int n = 0; n < NPCID.Sets.SpecificDebuffImmunity[type].Length; n++)
12745 {
12746 if ((!NPCID.Sets.SpecificDebuffImmunity[type][n]) ?? false)
12747 {
12748 buffImmune[n] = false;
12749 }
12750 }
12751 }
12752 NPCLoader.SetDefaults(this);
12753 if (Main.dedServ)
12754 {
12755 frame = default(Rectangle);
12756 }
12757 else if (TextureAssets.Npc[type] != null && TextureAssets.Npc[type].IsLoaded)
12758 {
12759 frame = new Rectangle(0, 0, TextureAssets.Npc[type].Width(), TextureAssets.Npc[type].Height() / Main.npcFrameCount[type]);
12760 }
12761 else
12762 {
12763 setFrameSize = true;
12764 }
12765 if (spawnparams.sizeScaleOverride.HasValue)
12766 {
12767 int num2 = (int)((float)width * scale);
12768 int num3 = (int)((float)height * scale);
12769 position.X += num2 / 2;
12770 position.Y += num3;
12771 scale = spawnparams.sizeScaleOverride.Value;
12772 width = (int)((float)width * scale);
12773 height = (int)((float)height * scale);
12774 if (height == 16 || height == 32)
12775 {
12776 height++;
12777 }
12778 position.X -= width / 2;
12779 position.Y -= height;
12780 }
12781 else
12782 {
12783 width = (int)((float)width * scale);
12784 height = (int)((float)height * scale);
12785 }
12786 life = lifeMax;
12787 defDamage = damage;
12789 netID = type;
12790 if (Main.zenithWorld)
12791 {
12793 }
12794 if (Main.getGoodWorld)
12795 {
12797 }
12798 else if (Main.tenthAnniversaryWorld)
12799 {
12801 }
12802 if (type >= 0 && Main.npcCatchable[type] && catchableNPCTempImmunityCounter < 1)
12803 {
12806 friendly = true;
12807 }
12808 ScaleStats(spawnparams.playerCountForMultiplayerDifficultyOverride, spawnparams.gameModeData.Value, spawnparams.strengthMultiplierOverride);
12809 life = lifeMax;
12810 }
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
Definition Entity.cs:57
int oldDirection
Definition Entity.cs:39
byte wetCount
Definition Entity.cs:63
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
Definition Entity.cs:21
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51
static Asset< Texture2D >[] Npc
static List< int >[] GrantImmunityWith
An NPC will automatically become immune (F:Terraria.NPC.buffImmune) to the indexed buff type if it is...
Definition BuffID.cs:102
static bool[] IsATagBuff
If true for a given T:Terraria.ID.BuffID, then that buff is not considered a typical debuff,...
Definition BuffID.cs:48
static bool[] ImmuneToAllBuffs
If true, this NPC type (F:Terraria.NPC.type) will be immune to all debuffs and "tag" buffs by default...
Definition NPCID.cs:668
static int[] TrailCacheLength
The length of this NPC type's (F:Terraria.NPC.type) F:Terraria.NPC.oldPos and F:Terraria....
Definition NPCID.cs:374
static bool[] ImmuneToRegularBuffs
If true, this NPC type (F:Terraria.NPC.type) will be immune to all debuffs except tag debuffs (F:Terr...
Definition NPCID.cs:675
static ? bool[][] SpecificDebuffImmunity
Indexed by NPC type and then Buff type. If true, this NPC type (F:Terraria.NPC.type) will be immune (...
Definition NPCID.cs:683
static readonly short Count
Definition NPCID.cs:12909
static readonly SoundStyle NPCHit21
Definition SoundID.cs:469
static readonly SoundStyle NPCDeath40
Definition SoundID.cs:623
static readonly SoundStyle DD2_OgreDeath
Definition SoundID.cs:155
static readonly SoundStyle NPCDeath66
Definition SoundID.cs:675
static readonly SoundStyle NPCHit48
Definition SoundID.cs:523
static readonly SoundStyle NPCHit29
Definition SoundID.cs:485
static readonly SoundStyle NPCHit8
Definition SoundID.cs:443
static readonly SoundStyle NPCHit3
Definition SoundID.cs:433
static readonly SoundStyle NPCDeath1
Definition SoundID.cs:545
static readonly SoundStyle NPCDeath19
Definition SoundID.cs:581
static readonly SoundStyle NPCHit46
Definition SoundID.cs:519
static readonly SoundStyle NPCDeath52
Definition SoundID.cs:647
static readonly SoundStyle DD2_DarkMageHurt
Definition SoundID.cs:95
static readonly SoundStyle NPCHit57
Definition SoundID.cs:541
static readonly SoundStyle DD2_KoboldFlyerDeath
Definition SoundID.cs:143
static readonly SoundStyle NPCDeath22
Definition SoundID.cs:587
static readonly SoundStyle NPCDeath62
Definition SoundID.cs:667
static readonly SoundStyle NPCDeath39
Definition SoundID.cs:621
static readonly SoundStyle DeerclopsHit
Definition SoundID.cs:231
static readonly SoundStyle NPCDeath32
Definition SoundID.cs:607
static readonly SoundStyle NPCHit24
Definition SoundID.cs:475
static readonly SoundStyle NPCDeath34
Definition SoundID.cs:611
static readonly SoundStyle DD2_WitherBeastDeath
Definition SoundID.cs:175
static readonly SoundStyle NPCDeath45
Definition SoundID.cs:633
static readonly SoundStyle NPCDeath59
Definition SoundID.cs:661
static readonly SoundStyle NPCHit45
Definition SoundID.cs:517
static readonly SoundStyle NPCDeath37
Definition SoundID.cs:617
static readonly SoundStyle NPCHit38
Definition SoundID.cs:503
static readonly SoundStyle NPCHit41
Definition SoundID.cs:509
static readonly SoundStyle NPCDeath53
Definition SoundID.cs:649
static readonly SoundStyle NPCDeath41
Definition SoundID.cs:625
static readonly SoundStyle NPCDeath46
Definition SoundID.cs:635
static readonly SoundStyle NPCHit7
Definition SoundID.cs:441
static readonly SoundStyle NPCDeath11
Definition SoundID.cs:565
static readonly SoundStyle NPCHit44
Definition SoundID.cs:515
static readonly SoundStyle NPCDeath57
Definition SoundID.cs:657
static readonly SoundStyle NPCHit40
Definition SoundID.cs:507
static readonly SoundStyle NPCDeath7
Definition SoundID.cs:557
static readonly SoundStyle NPCHit43
Definition SoundID.cs:513
static readonly SoundStyle DD2_GoblinBomberDeath
Definition SoundID.cs:113
static readonly SoundStyle NPCDeath42
Definition SoundID.cs:627
static readonly SoundStyle NPCDeath60
Definition SoundID.cs:663
static readonly SoundStyle DD2_WitherBeastHurt
Definition SoundID.cs:177
static readonly SoundStyle NPCDeath54
Definition SoundID.cs:651
static readonly SoundStyle DD2_BetsyHurt
Definition SoundID.cs:79
static readonly SoundStyle NPCHit19
Definition SoundID.cs:465
static readonly SoundStyle NPCDeath38
Definition SoundID.cs:619
static readonly SoundStyle NPCDeath24
Definition SoundID.cs:591
static readonly SoundStyle NPCDeath65
Definition SoundID.cs:673
static readonly SoundStyle NPCHit35
Definition SoundID.cs:497
static readonly SoundStyle NPCHit4
Definition SoundID.cs:435
static readonly SoundStyle NPCHit23
Definition SoundID.cs:473
static readonly SoundStyle NPCDeath48
Definition SoundID.cs:639
static readonly SoundStyle NPCDeath35
Definition SoundID.cs:613
static readonly SoundStyle NPCDeath36
Definition SoundID.cs:615
static readonly SoundStyle NPCDeath51
Definition SoundID.cs:645
static readonly SoundStyle DD2_GoblinDeath
Definition SoundID.cs:107
static readonly SoundStyle NPCHit53
Definition SoundID.cs:533
static readonly SoundStyle NPCHit25
Definition SoundID.cs:477
static readonly SoundStyle DD2_DarkMageDeath
Definition SoundID.cs:91
static readonly SoundStyle NPCDeath43
Definition SoundID.cs:629
static readonly SoundStyle NPCHit34
Definition SoundID.cs:495
static readonly SoundStyle NPCDeath9
Definition SoundID.cs:561
static readonly SoundStyle NPCDeath23
Definition SoundID.cs:589
static readonly SoundStyle DeerclopsDeath
Definition SoundID.cs:233
static readonly SoundStyle NPCDeath49
Definition SoundID.cs:641
static readonly SoundStyle NPCHit47
Definition SoundID.cs:521
static readonly SoundStyle NPCHit15
Definition SoundID.cs:457
static readonly SoundStyle NPCHit26
Definition SoundID.cs:479
static readonly SoundStyle DD2_KoboldFlyerHurt
Definition SoundID.cs:145
static readonly SoundStyle NPCDeath2
Definition SoundID.cs:547
static readonly SoundStyle NPCHit30
Definition SoundID.cs:487
static readonly SoundStyle NPCHit54
Definition SoundID.cs:535
static readonly SoundStyle NPCHit1
Definition SoundID.cs:429
static readonly SoundStyle NPCHit5
Definition SoundID.cs:437
static readonly SoundStyle NPCHit28
Definition SoundID.cs:483
static readonly SoundStyle NPCDeath31
Definition SoundID.cs:605
static readonly SoundStyle NPCDeath3
Definition SoundID.cs:549
static readonly SoundStyle NPCDeath64
Definition SoundID.cs:671
static readonly SoundStyle DD2_WyvernHurt
Definition SoundID.cs:181
static readonly SoundStyle NPCDeath6
Definition SoundID.cs:555
static readonly SoundStyle NPCHit27
Definition SoundID.cs:481
static readonly SoundStyle NPCHit11
Definition SoundID.cs:449
static readonly SoundStyle NPCDeath26
Definition SoundID.cs:595
static readonly SoundStyle DD2_SkeletonHurt
Definition SoundID.cs:167
static readonly SoundStyle NPCHit12
Definition SoundID.cs:451
static readonly SoundStyle DD2_JavelinThrowersHurt
Definition SoundID.cs:125
static readonly SoundStyle NPCDeath8
Definition SoundID.cs:559
static readonly SoundStyle DD2_KoboldHurt
Definition SoundID.cs:133
static readonly SoundStyle NPCHit39
Definition SoundID.cs:505
static readonly SoundStyle NPCDeath25
Definition SoundID.cs:593
static readonly SoundStyle NPCDeath10
Definition SoundID.cs:563
static readonly SoundStyle NPCHit32
Definition SoundID.cs:491
static readonly SoundStyle NPCHit55
Definition SoundID.cs:537
static readonly SoundStyle NPCDeath21
Definition SoundID.cs:585
static readonly SoundStyle NPCDeath15
Definition SoundID.cs:573
static readonly SoundStyle DD2_GoblinHurt
Definition SoundID.cs:109
static readonly SoundStyle NPCDeath55
Definition SoundID.cs:653
static readonly SoundStyle NPCDeath29
Definition SoundID.cs:601
static readonly SoundStyle NPCDeath44
Definition SoundID.cs:631
static readonly SoundStyle DD2_JavelinThrowersDeath
Definition SoundID.cs:123
static readonly SoundStyle NPCHit42
Definition SoundID.cs:511
static readonly SoundStyle DD2_OgreHurt
Definition SoundID.cs:159
static readonly SoundStyle NPCDeath18
Definition SoundID.cs:579
static readonly SoundStyle NPCDeath4
Definition SoundID.cs:551
static readonly SoundStyle NPCDeath5
Definition SoundID.cs:553
static readonly SoundStyle NPCHit13
Definition SoundID.cs:453
static readonly SoundStyle DD2_WyvernDeath
Definition SoundID.cs:179
static readonly SoundStyle NPCHit9
Definition SoundID.cs:445
static readonly SoundStyle DD2_SkeletonDeath
Definition SoundID.cs:165
static readonly SoundStyle NPCHit31
Definition SoundID.cs:489
static readonly SoundStyle NPCDeath63
Definition SoundID.cs:669
static readonly SoundStyle DD2_LightningBugHurt
Definition SoundID.cs:149
static readonly SoundStyle NPCHit37
Definition SoundID.cs:501
static readonly SoundStyle DD2_GoblinBomberHurt
Definition SoundID.cs:115
static readonly SoundStyle DD2_BetsyDeath
Definition SoundID.cs:69
static readonly SoundStyle NPCHit18
Definition SoundID.cs:463
static readonly SoundStyle NPCHit33
Definition SoundID.cs:493
static readonly SoundStyle DD2_LightningBugDeath
Definition SoundID.cs:147
static readonly SoundStyle NPCHit51
Definition SoundID.cs:529
static readonly SoundStyle DD2_CrystalCartImpact
Definition SoundID.cs:195
static readonly SoundStyle NPCDeath47
Definition SoundID.cs:637
static readonly SoundStyle DD2_DrakinDeath
Definition SoundID.cs:101
static readonly SoundStyle NPCHit14
Definition SoundID.cs:455
static readonly SoundStyle NPCHit6
Definition SoundID.cs:439
static readonly SoundStyle NPCDeath17
Definition SoundID.cs:577
static readonly SoundStyle DD2_KoboldDeath
Definition SoundID.cs:129
static readonly SoundStyle NPCDeath56
Definition SoundID.cs:655
static readonly SoundStyle NPCDeath20
Definition SoundID.cs:583
static readonly SoundStyle NPCHit49
Definition SoundID.cs:525
static readonly SoundStyle NPCDeath12
Definition SoundID.cs:567
static readonly SoundStyle NPCHit36
Definition SoundID.cs:499
static readonly SoundStyle NPCDeath50
Definition SoundID.cs:643
static readonly SoundStyle NPCHit50
Definition SoundID.cs:527
static readonly SoundStyle NPCHit56
Definition SoundID.cs:539
static readonly SoundStyle NPCDeath33
Definition SoundID.cs:609
static readonly SoundStyle NPCDeath30
Definition SoundID.cs:603
static readonly SoundStyle NPCHit2
Definition SoundID.cs:431
static readonly SoundStyle DD2_DrakinHurt
Definition SoundID.cs:103
static readonly SoundStyle NPCDeath16
Definition SoundID.cs:575
static readonly SoundStyle NPCHit52
Definition SoundID.cs:531
static readonly SoundStyle NPCDeath14
Definition SoundID.cs:571
static readonly SoundStyle NPCHit20
Definition SoundID.cs:467
static readonly SoundStyle NPCDeath27
Definition SoundID.cs:597
static readonly SoundStyle NPCDeath28
Definition SoundID.cs:599
static readonly SoundStyle NPCHit22
Definition SoundID.cs:471
This serves as the central class from which buff-related functions are supported and carried out.
Definition BuffLoader.cs:18
This class serves as a place for you to place all your properties and hooks for each NPC....
Definition ModNPC.cs:21
static void SetDefaults(NPC npc, bool createModNPC=true)
Definition NPCLoader.cs:443
This serves as the central class from which NPC-related functions are carried out....
Definition NPCLoader.cs:26
int breath
Definition NPC.cs:1207
bool boss
Set to true if the NPC is a boss. Prevents off-screen despawn. Bosses also need [AutoloadBossHead] an...
Definition NPC.cs:1141
Vector2 netOffset
Definition NPC.cs:502
int timeLeft
Definition NPC.cs:1017
bool dontCountMe
Definition NPC.cs:645
bool netAlways
Definition NPC.cs:596
void SpawnWithHigherTime(int timeMult)
Definition NPC.cs:2194
bool dryadBane
Definition NPC.cs:714
int netSpam
Definition NPC.cs:466
int defense
How resistant to damage this NPC is. The List of NPCs wiki pagecan be useful for finding appropriat...
Definition NPC.cs:1033
int damage
The amount of contact damage this NPC deals. Changing this WILL NOT change the amount of damage done...
Definition NPC.cs:1027
int IEntityWithGlobals< GlobalNPC >. Type
Definition NPC.cs:1573
bool immortal
Definition NPC.cs:700
float[] localAI
Acts like F:Terraria.NPC.ai, but does not sync to the server. Many vanilla T:Terraria....
Definition NPC.cs:1003
int spriteDirection
Definition NPC.cs:1143
bool chaseable
Definition NPC.cs:702
float Opacity
Definition NPC.cs:1517
int oldTarget
Definition NPC.cs:1114
bool confused
Definition NPC.cs:692
bool onFire2
Definition NPC.cs:666
bool venom
Definition NPC.cs:678
float lavaMovementSpeed
Definition NPC.cs:438
bool stinky
Definition NPC.cs:696
GlobalNPC[] _globals
Definition NPC.cs:1282
bool soulDrain
Definition NPC.cs:682
bool poisoned
Definition NPC.cs:674
static readonly int maxBuffs
Definition NPC.cs:647
bool reflectsProjectiles
Definition NPC.cs:1213
int lifeMax
The maximum life of this NPC.
Definition NPC.cs:1077
int lifeRegenExpectedLossPerSecond
Definition NPC.cs:690
bool dryadWard
Definition NPC.cs:698
string GivenName
The GIVEN name of this NPC. Can be set directly. Given names are unique to each NPC,...
Definition NPC.cs:1468
bool markedByScytheWhip
Definition NPC.cs:676
int aiStyle
Selects which vanilla code to use for the AI method. Vanilla NPC AI styles are enumerated in the T:Te...
Definition NPC.cs:1013
int breathCounter
Definition NPC.cs:1211
bool coldDamage
Denotes whether or not this NPC counts as dealing cold damage for the purposes of the Warmth Potion....
Definition NPC.cs:1049
bool ichor
Definition NPC.cs:662
bool setFrameSize
Definition NPC.cs:584
float takenDamageMultiplier
Definition NPC.cs:538
bool hide
Indicates that this NPC is drawn at a specific layer in the render order. Must use in conjunction wit...
Definition NPC.cs:1098
static bool downedMechBossAny
Denotes whether or not ANY Mechanical Boss has been defeated at least once in the current world.
Definition NPC.cs:949
int townNpcVariationIndex
Definition NPC.cs:500
bool netUpdate2
Definition NPC.cs:1132
bool canDisplayBuffs
Definition NPC.cs:658
bool CanBeReplacedByOtherNPCs
Definition NPC.cs:486
bool despawnEncouraged
Definition NPC.cs:1217
float[] oldRot
Definition NPC.cs:582
bool dontTakeDamageFromHostiles
Definition NPC.cs:718
bool netShimmer
Definition NPC.cs:1219
bool noGravity
If true, the npc will not be affected by gravity. Demon Eyes and other floating npc use this....
Definition NPC.cs:1122
bool oiled
Definition NPC.cs:722
float waterMovementSpeed
Definition NPC.cs:436
int[] buffTime
Definition NPC.cs:651
int defDefense
Stores the value of F:Terraria.NPC.defense at the end of SetDefaults. Useful for scaling defense in A...
Definition NPC.cs:1043
bool needsUniqueInfoUpdate
Definition NPC.cs:578
void getGoodAdjustments()
Definition NPC.cs:12891
float[] ai
An array with 4 slots used for any sort of data storage, which is occasionally synced from the server...
Definition NPC.cs:997
bool SpawnedFromStatue
Definition NPC.cs:484
int extraValue
Definition NPC.cs:1158
IBigProgressBar BossBar
Assign a special boss bar, vanilla or modded. Not used by vanilla.
Definition NPC.cs:1612
Rectangle targetRect
Definition NPC.cs:1079
void getZenithSeedAdjustmentsBeforeEverything()
Definition NPC.cs:12882
bool midas
Definition NPC.cs:660
int housingCategory
Definition NPC.cs:1184
float strengthMultiplier
Definition NPC.cs:1172
int homeTileX
Definition NPC.cs:1180
float knockBackResist
How much of the knockback it receives will actually apply. 1f: full knockback; 0f: no knockback....
Definition NPC.cs:1110
bool dontTakeDamage
Definition NPC.cs:1160
bool friendly
Indicates that an NPC is friendly to players. If true, a player won't damage the NPC and the NPC won'...
Definition NPC.cs:1197
float value
How many copper coins the NPC will drop when killed (100 copper coins = 1 silver coin etc....
Definition NPC.cs:1156
void LazySetLiquidMovementDD2()
Definition NPC.cs:13027
bool onFire
Definition NPC.cs:664
float scale
Makes the NPC bigger or smaller. Bigger than 1f is bigger. Defaults to 1f.
Definition NPC.cs:1104
bool trapImmune
Definition NPC.cs:1051
int lifeRegen
Definition NPC.cs:686
bool betsysCurse
Definition NPC.cs:720
bool collideX
Definition NPC.cs:1134
bool collideY
Definition NPC.cs:1136
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
Definition NPC.cs:990
int alpha
0 is opaque, and 255 is transparent. Note that this is the opposite of how alpha is typically express...
Definition NPC.cs:1092
Color color
Definition NPC.cs:1085
static int maxAI
Definition NPC.cs:464
bool[] playerInteraction
Tracks which T:Terraria.Players have damaged this NPC. Damaging boss minions or other parts of a boss...
Definition NPC.cs:529
int altTexture
Definition NPC.cs:498
float rotation
Definition NPC.cs:1116
bool bloodButchered
Definition NPC.cs:710
bool GravityIgnoresSpace
Set to disable the effect of being in space on NPC gravity.
Definition NPC.cs:1316
bool behindTiles
Indicates that this NPC draws behind solid tiles. See ExampleDrawBehindNPCfor examples of how to us...
Definition NPC.cs:1149
SoundStyle? HitSound
The sound that plays when this npc is hit. Set this to an existing T:Terraria.ID.SoundID entry or ass...
Definition NPC.cs:1059
double frameCounter
Definition NPC.cs:1081
float shimmerTransparency
Definition NPC.cs:643
bool GravityIgnoresLiquid
Set to disable the effect of being submerged in liquid on NPC gravity. Note that being submerged in...
Definition NPC.cs:1322
bool shimmering
Definition NPC.cs:684
bool lavaImmune
Definition NPC.cs:1151
bool noTileCollide
If true, the npc does not collide with tiles, making the npc pass through tiles freely....
Definition NPC.cs:1128
int defDamage
Stores the value of F:Terraria.NPC.damage at the end of SetDefaults. Useful for scaling damage in AI ...
Definition NPC.cs:1038
int catchableNPCTempImmunityCounter
Definition NPC.cs:1162
float npcSlots
Represents how much this npc counts towards the npc spawn limit. Small critters like worms or flies h...
Definition NPC.cs:633
int catchItem
The numerical ID of the item that this NPC becomes when caught. Mainly used for critters that can be...
Definition NPC.cs:509
bool HideStrikeDamage
If true, damage combat text will not be shown by M:Terraria.NPC.StrikeNPC(Terraria....
Definition NPC.cs:1605
bool[] buffImmune
Contains the NPC buff immunities for this NPC. The default values in this array are populated from F:...
Definition NPC.cs:656
bool catchableNPCOriginallyFriendly
Definition NPC.cs:1284
bool ShowNameOnHover
Definition NPC.cs:1582
bool canGhostHeal
Definition NPC.cs:704
int netID
Similar to F:Terraria.NPC.type, but accounts for negative T:Terraria.ID.NPCID values.
Definition NPC.cs:1168
int netStream
Definition NPC.cs:574
int rarity
How rare the NPC is for the Lifeform Analyzer. For example: 4 is for Tim and Mimics,...
Definition NPC.cs:520
float nameOver
Definition NPC.cs:482
bool justHit
Definition NPC.cs:1015
bool tentacleSpiked
Definition NPC.cs:708
void SetDefaultsFromNetId(int id, NPCSpawnParams spawnparams=default(NPCSpawnParams))
Definition NPC.cs:2621
static bool downedGolemBoss
Denotes whether or not Golem has been defeated at least once in the current world.
Definition NPC.cs:842
bool celled
Definition NPC.cs:712
bool javelined
Definition NPC.cs:706
bool homeless
Definition NPC.cs:1178
short releaseOwner
Identifies the player who released this NPC into the world. Used mainly for released critters....
Definition NPC.cs:514
int life
The current life of the NPC. Automatically set to the value of F:Terraria.NPC.lifeMax at the end of S...
Definition NPC.cs:1072
bool shadowFlame
Definition NPC.cs:680
void ScaleStats(int? activePlayersCount, GameModeData gameModeData, float? strengthOverride)
Definition NPC.cs:13077
bool onFrostBurn2
Definition NPC.cs:672
bool daybreak
Definition NPC.cs:716
SoundStyle? DeathSound
The sound that plays when this npc dies. Set this to an existing T:Terraria.ID.SoundID entry or assig...
Definition NPC.cs:1067
void getTenthAnniversaryAdjustments()
Definition NPC.cs:12812
bool loveStruck
Definition NPC.cs:694
float honeyMovementSpeed
Definition NPC.cs:440
int[] buffType
Definition NPC.cs:649
static int activeTime
Definition NPC.cs:637
bool onFire3
Definition NPC.cs:668
int realLife
Stores the index (the F:Terraria.Entity.whoAmI) of a single NPC. This NPC will then share a health po...
Definition NPC.cs:604
bool onFrostBurn
Definition NPC.cs:670
Rectangle frame
Definition NPC.cs:1083
int lifeRegenCount
Definition NPC.cs:688
bool netUpdate
Definition NPC.cs:1130
Vector2[] oldPos
Definition NPC.cs:580
bool GravityIgnoresType
Set to disable vanilla type and AI based NPC gravity calculations. Affects types 258,...
Definition NPC.cs:1311
int statsAreScaledForThisManyPlayers
Definition NPC.cs:1170
int target
Definition NPC.cs:1019
int netSkip
Definition NPC.cs:594
bool townNPC
Definition NPC.cs:1174
int homeTileY
Definition NPC.cs:1182

References Terraria.NPC._globals, Terraria.Entity.active, Terraria.NPC.activeTime, Terraria.NPC.ai, Terraria.NPC.aiStyle, Terraria.NPC.alpha, Terraria.NPC.altTexture, Terraria.NPC.behindTiles, Terraria.NPC.betsysCurse, Terraria.NPC.bloodButchered, Terraria.NPC.boss, Terraria.NPC.BossBar, Terraria.NPC.breath, Terraria.NPC.breathCounter, Terraria.ModLoader.BuffLoader.BuffCount, Terraria.NPC.buffImmune, Terraria.NPC.buffTime, Terraria.NPC.buffType, Terraria.Item.buyPrice(), Terraria.NPC.CanBeReplacedByOtherNPCs, Terraria.NPC.canDisplayBuffs, Terraria.NPC.canGhostHeal, Terraria.NPC.catchableNPCOriginallyFriendly, Terraria.NPC.catchableNPCTempImmunityCounter, Terraria.NPC.catchItem, Terraria.NPC.celled, Terraria.NPC.chaseable, Terraria.NPC.coldDamage, Terraria.NPC.collideX, Terraria.NPC.collideY, Terraria.NPC.color, Terraria.NPC.confused, Terraria.ID.NPCID.Count, Terraria.NPC.damage, Terraria.NPC.daybreak, Terraria.ID.SoundID.DD2_BetsyDeath, Terraria.ID.SoundID.DD2_BetsyHurt, Terraria.ID.SoundID.DD2_CrystalCartImpact, Terraria.ID.SoundID.DD2_DarkMageDeath, Terraria.ID.SoundID.DD2_DarkMageHurt, Terraria.ID.SoundID.DD2_DrakinDeath, Terraria.ID.SoundID.DD2_DrakinHurt, Terraria.ID.SoundID.DD2_GoblinBomberDeath, Terraria.ID.SoundID.DD2_GoblinBomberHurt, Terraria.ID.SoundID.DD2_GoblinDeath, Terraria.ID.SoundID.DD2_GoblinHurt, Terraria.ID.SoundID.DD2_JavelinThrowersDeath, Terraria.ID.SoundID.DD2_JavelinThrowersHurt, Terraria.ID.SoundID.DD2_KoboldDeath, Terraria.ID.SoundID.DD2_KoboldFlyerDeath, Terraria.ID.SoundID.DD2_KoboldFlyerHurt, Terraria.ID.SoundID.DD2_KoboldHurt, Terraria.ID.SoundID.DD2_LightningBugDeath, Terraria.ID.SoundID.DD2_LightningBugHurt, Terraria.ID.SoundID.DD2_OgreDeath, Terraria.ID.SoundID.DD2_OgreHurt, Terraria.ID.SoundID.DD2_SkeletonDeath, Terraria.ID.SoundID.DD2_SkeletonHurt, Terraria.ID.SoundID.DD2_WitherBeastDeath, Terraria.ID.SoundID.DD2_WitherBeastHurt, Terraria.ID.SoundID.DD2_WyvernDeath, Terraria.ID.SoundID.DD2_WyvernHurt, Terraria.NPC.DeathSound, Terraria.Main.dedServ, Terraria.ID.SoundID.DeerclopsDeath, Terraria.ID.SoundID.DeerclopsHit, Terraria.NPC.defDamage, Terraria.NPC.defDefense, Terraria.NPC.defense, Terraria.NPC.despawnEncouraged, Terraria.Entity.direction, Terraria.NPC.dontCountMe, Terraria.NPC.dontTakeDamage, Terraria.NPC.dontTakeDamageFromHostiles, Terraria.NPC.downedGolemBoss, Terraria.NPC.downedMechBossAny, Terraria.NPC.dryadBane, Terraria.NPC.dryadWard, Terraria.Main.expertMode, Terraria.NPC.extraValue, Terraria.NPC.frame, Terraria.NPC.frameCounter, Terraria.NPC.friendly, Terraria.Main.GameModeInfo, Terraria.NPC.getGoodAdjustments(), Terraria.Main.getGoodWorld, Terraria.NPC.getTenthAnniversaryAdjustments(), Terraria.NPC.getZenithSeedAdjustmentsBeforeEverything(), Terraria.NPC.GivenName, Terraria.ID.BuffID.Sets.GrantImmunityWith, Terraria.NPC.GravityIgnoresLiquid, Terraria.NPC.GravityIgnoresSpace, Terraria.NPC.GravityIgnoresType, Terraria.Main.hardMode, Terraria.Entity.height, Terraria.NPC.hide, Terraria.NPC.HideStrikeDamage, Terraria.NPC.HitSound, Terraria.NPC.homeless, Terraria.NPC.homeTileX, Terraria.NPC.homeTileY, Terraria.NPC.honeyMovementSpeed, Terraria.NPC.housingCategory, Terraria.NPC.ichor, Terraria.NPC.immortal, Terraria.ID.NPCID.Sets.ImmuneToAllBuffs, Terraria.ID.NPCID.Sets.ImmuneToRegularBuffs, Terraria.ID.BuffID.Sets.IsATagBuff, Terraria.NPC.javelined, Terraria.NPC.justHit, Terraria.NPC.knockBackResist, Terraria.NPC.lavaImmune, Terraria.NPC.lavaMovementSpeed, Terraria.Entity.lavaWet, Terraria.NPC.LazySetLiquidMovementDD2(), Terraria.NPC.life, Terraria.NPC.lifeMax, Terraria.NPC.lifeRegen, Terraria.NPC.lifeRegenCount, Terraria.NPC.lifeRegenExpectedLossPerSecond, Terraria.NPC.localAI, Terraria.NPC.loveStruck, Terraria.NPC.markedByScytheWhip, Terraria.Main.masterMode, Terraria.NPC.maxAI, Terraria.NPC.maxBuffs, Terraria.NPC.midas, Terraria.NPC.nameOver, Terraria.NPC.needsUniqueInfoUpdate, Terraria.NPC.netAlways, Terraria.NPC.netID, Terraria.NPC.netOffset, Terraria.NPC.netShimmer, Terraria.NPC.netSkip, Terraria.NPC.netSpam, Terraria.NPC.netStream, Terraria.NPC.netUpdate, Terraria.NPC.netUpdate2, Terraria.NPC.noGravity, Terraria.NPC.noTileCollide, Terraria.GameContent.TextureAssets.Npc, Terraria.Main.npcCatchable, Terraria.ID.SoundID.NPCDeath1, Terraria.ID.SoundID.NPCDeath10, Terraria.ID.SoundID.NPCDeath11, Terraria.ID.SoundID.NPCDeath12, Terraria.ID.SoundID.NPCDeath14, Terraria.ID.SoundID.NPCDeath15, Terraria.ID.SoundID.NPCDeath16, Terraria.ID.SoundID.NPCDeath17, Terraria.ID.SoundID.NPCDeath18, Terraria.ID.SoundID.NPCDeath19, Terraria.ID.SoundID.NPCDeath2, Terraria.ID.SoundID.NPCDeath20, Terraria.ID.SoundID.NPCDeath21, Terraria.ID.SoundID.NPCDeath22, Terraria.ID.SoundID.NPCDeath23, Terraria.ID.SoundID.NPCDeath24, Terraria.ID.SoundID.NPCDeath25, Terraria.ID.SoundID.NPCDeath26, Terraria.ID.SoundID.NPCDeath27, Terraria.ID.SoundID.NPCDeath28, Terraria.ID.SoundID.NPCDeath29, Terraria.ID.SoundID.NPCDeath3, Terraria.ID.SoundID.NPCDeath30, Terraria.ID.SoundID.NPCDeath31, Terraria.ID.SoundID.NPCDeath32, Terraria.ID.SoundID.NPCDeath33, Terraria.ID.SoundID.NPCDeath34, Terraria.ID.SoundID.NPCDeath35, Terraria.ID.SoundID.NPCDeath36, Terraria.ID.SoundID.NPCDeath37, Terraria.ID.SoundID.NPCDeath38, Terraria.ID.SoundID.NPCDeath39, Terraria.ID.SoundID.NPCDeath4, Terraria.ID.SoundID.NPCDeath40, Terraria.ID.SoundID.NPCDeath41, Terraria.ID.SoundID.NPCDeath42, Terraria.ID.SoundID.NPCDeath43, Terraria.ID.SoundID.NPCDeath44, Terraria.ID.SoundID.NPCDeath45, Terraria.ID.SoundID.NPCDeath46, Terraria.ID.SoundID.NPCDeath47, Terraria.ID.SoundID.NPCDeath48, Terraria.ID.SoundID.NPCDeath49, Terraria.ID.SoundID.NPCDeath5, Terraria.ID.SoundID.NPCDeath50, Terraria.ID.SoundID.NPCDeath51, Terraria.ID.SoundID.NPCDeath52, Terraria.ID.SoundID.NPCDeath53, Terraria.ID.SoundID.NPCDeath54, Terraria.ID.SoundID.NPCDeath55, Terraria.ID.SoundID.NPCDeath56, Terraria.ID.SoundID.NPCDeath57, Terraria.ID.SoundID.NPCDeath59, Terraria.ID.SoundID.NPCDeath6, Terraria.ID.SoundID.NPCDeath60, Terraria.ID.SoundID.NPCDeath62, Terraria.ID.SoundID.NPCDeath63, Terraria.ID.SoundID.NPCDeath64, Terraria.ID.SoundID.NPCDeath65, Terraria.ID.SoundID.NPCDeath66, Terraria.ID.SoundID.NPCDeath7, Terraria.ID.SoundID.NPCDeath8, Terraria.ID.SoundID.NPCDeath9, Terraria.Main.npcFrameCount, Terraria.ID.SoundID.NPCHit1, Terraria.ID.SoundID.NPCHit11, Terraria.ID.SoundID.NPCHit12, Terraria.ID.SoundID.NPCHit13, Terraria.ID.SoundID.NPCHit14, Terraria.ID.SoundID.NPCHit15, Terraria.ID.SoundID.NPCHit18, Terraria.ID.SoundID.NPCHit19, Terraria.ID.SoundID.NPCHit2, Terraria.ID.SoundID.NPCHit20, Terraria.ID.SoundID.NPCHit21, Terraria.ID.SoundID.NPCHit22, Terraria.ID.SoundID.NPCHit23, Terraria.ID.SoundID.NPCHit24, Terraria.ID.SoundID.NPCHit25, Terraria.ID.SoundID.NPCHit26, Terraria.ID.SoundID.NPCHit27, Terraria.ID.SoundID.NPCHit28, Terraria.ID.SoundID.NPCHit29, Terraria.ID.SoundID.NPCHit3, Terraria.ID.SoundID.NPCHit30, Terraria.ID.SoundID.NPCHit31, Terraria.ID.SoundID.NPCHit32, Terraria.ID.SoundID.NPCHit33, Terraria.ID.SoundID.NPCHit34, Terraria.ID.SoundID.NPCHit35, Terraria.ID.SoundID.NPCHit36, Terraria.ID.SoundID.NPCHit37, Terraria.ID.SoundID.NPCHit38, Terraria.ID.SoundID.NPCHit39, Terraria.ID.SoundID.NPCHit4, Terraria.ID.SoundID.NPCHit40, Terraria.ID.SoundID.NPCHit41, Terraria.ID.SoundID.NPCHit42, Terraria.ID.SoundID.NPCHit43, Terraria.ID.SoundID.NPCHit44, Terraria.ID.SoundID.NPCHit45, Terraria.ID.SoundID.NPCHit46, Terraria.ID.SoundID.NPCHit47, Terraria.ID.SoundID.NPCHit48, Terraria.ID.SoundID.NPCHit49, Terraria.ID.SoundID.NPCHit5, Terraria.ID.SoundID.NPCHit50, Terraria.ID.SoundID.NPCHit51, Terraria.ID.SoundID.NPCHit52, Terraria.ID.SoundID.NPCHit53, Terraria.ID.SoundID.NPCHit54, Terraria.ID.SoundID.NPCHit55, Terraria.ID.SoundID.NPCHit56, Terraria.ID.SoundID.NPCHit57, Terraria.ID.SoundID.NPCHit6, Terraria.ID.SoundID.NPCHit7, Terraria.ID.SoundID.NPCHit8, Terraria.ID.SoundID.NPCHit9, Terraria.NPC.npcSlots, Terraria.NPC.oiled, Terraria.Entity.oldDirection, Terraria.NPC.oldPos, Terraria.NPC.oldRot, Terraria.NPC.oldTarget, Terraria.NPC.onFire, Terraria.NPC.onFire2, Terraria.NPC.onFire3, Terraria.NPC.onFrostBurn, Terraria.NPC.onFrostBurn2, Terraria.NPC.Opacity, Terraria.NPC.playerInteraction, Terraria.NPC.poisoned, Terraria.NPC.rarity, Terraria.NPC.realLife, Terraria.NPC.reflectsProjectiles, Terraria.NPC.releaseOwner, Terraria.Main.remixWorld, Terraria.NPC.rotation, Terraria.NPC.scale, Terraria.NPC.ScaleStats(), Terraria.ModLoader.NPCLoader.SetDefaults(), Terraria.NPC.SetDefaultsFromNetId(), Terraria.NPC.setFrameSize, Terraria.NPC.shadowFlame, Terraria.NPC.shimmering, Terraria.NPC.shimmerTransparency, Terraria.NPC.ShowNameOnHover, Terraria.NPC.soulDrain, Terraria.NPC.SpawnedFromStatue, Terraria.NPC.SpawnWithHigherTime(), Terraria.ID.NPCID.Sets.SpecificDebuffImmunity, Terraria.NPC.spriteDirection, Terraria.NPC.statsAreScaledForThisManyPlayers, Terraria.NPC.stinky, Terraria.NPC.strengthMultiplier, Terraria.NPC.takenDamageMultiplier, Terraria.NPC.target, Terraria.NPC.targetRect, Terraria.NPC.tentacleSpiked, Terraria.Main.tenthAnniversaryWorld, Terraria.NPC.timeLeft, Terraria.NPC.townNPC, Terraria.NPC.townNpcVariationIndex, Terraria.ID.NPCID.Sets.TrailCacheLength, Terraria.NPC.trapImmune, Terraria.NPC.type, Terraria.NPC.Type, Terraria.NPC.value, Terraria.NPC.venom, Terraria.NPC.waterMovementSpeed, Terraria.Entity.wet, Terraria.Entity.wetCount, Terraria.Entity.width, and Terraria.Main.zenithWorld.

Referenced by Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.NPCKillCounterInfoElement(), Terraria.GameContent.Animations.Segments.NPCSegment.NPCSegment(), Terraria.GameContent.Bestiary.UnlockableNPCEntryIcon.UnlockableNPCEntryIcon(), Terraria.ModLoader.IO.WorldIO.LoadNPCs(), Terraria.GameContent.Bestiary.NPCStatsReportInfoElement.RefreshStats(), Terraria.NPC.SetDefaults_ForNetId(), Terraria.NPC.SetDefaults_ForNetId(), Terraria.NPC.SetDefaultsFromNetId(), Terraria.NPC.SetDefaultsKeepPlayerInteraction(), Terraria.GameContent.UI.BigProgressBar.BrainOfCthuluBigProgressBar.ValidateAndCollectNecessaryInfo(), Terraria.GameContent.UI.BigProgressBar.EaterOfWorldsProgressBar.ValidateAndCollectNecessaryInfo(), Terraria.GameContent.UI.BigProgressBar.GolemHeadProgressBar.ValidateAndCollectNecessaryInfo(), Terraria.GameContent.UI.BigProgressBar.MartianSaucerBigProgressBar.ValidateAndCollectNecessaryInfo(), Terraria.GameContent.UI.BigProgressBar.MoonLordProgressBar.ValidateAndCollectNecessaryInfo(), and Terraria.GameContent.UI.BigProgressBar.PirateShipBigProgressBar.ValidateAndCollectNecessaryInfo().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: