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

◆ SetDefaults()

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

Definition at line 2523 of file NPC.cs.

2524 {
2525 if (spawnparams.gameModeData == null)
2526 {
2527 spawnparams.gameModeData = Main.GameModeInfo;
2528 }
2529 if (Main.getGoodWorld && spawnparams.sizeScaleOverride.HasValue)
2530 {
2531 spawnparams.sizeScaleOverride = (spawnparams.sizeScaleOverride + spawnparams.sizeScaleOverride * spawnparams.sizeScaleOverride) / 2f;
2532 }
2533 if (Type < 0)
2534 {
2536 return;
2537 }
2539 honeyMovementSpeed = 0.25f;
2540 netOffset *= 0f;
2541 altTexture = 0;
2543 nameOver = 0f;
2545 extraValue = 0;
2546 for (int i = 0; i < playerInteraction.Length; i++)
2547 {
2548 playerInteraction[i] = false;
2549 }
2550 rarity = 0;
2551 dontCountMe = false;
2552 releaseOwner = 255;
2553 catchItem = 0;
2554 needsUniqueInfoUpdate = true;
2555 netStream = 32;
2556 netID = 0;
2557 netAlways = false;
2558 netSpam = 0;
2559 SpawnedFromStatue = false;
2562 if (netShimmer)
2563 {
2565 netShimmer = false;
2566 }
2568 strengthMultiplier = 1f;
2569 int num = 10;
2570 if (Type >= 0)
2571 {
2573 }
2574 if (num != oldPos.Length)
2575 {
2576 Array.Resize(ref oldPos, num);
2577 Array.Resize(ref oldRot, num);
2578 }
2579 for (int j = 0; j < oldPos.Length; j++)
2580 {
2581 oldRot[j] = 0f;
2582 oldPos[j].X = 0f;
2583 oldPos[j].Y = 0f;
2584 }
2585 for (int k = 0; k < maxBuffs; k++)
2586 {
2587 buffTime[k] = 0;
2588 buffType[k] = 0;
2589 }
2590 for (int l = 0; l < BuffID.Count; l++)
2591 {
2592 buffImmune[l] = false;
2593 }
2594 setFrameSize = false;
2595 netSkip = -2;
2596 realLife = -1;
2597 lifeRegen = 0;
2599 lifeRegenCount = 0;
2600 markedByScytheWhip = false;
2601 poisoned = false;
2602 soulDrain = false;
2603 venom = false;
2604 shadowFlame = false;
2605 canDisplayBuffs = true;
2606 onFire = false;
2607 midas = false;
2608 ichor = false;
2609 onFrostBurn = false;
2610 onFrostBurn2 = false;
2611 shimmering = false;
2612 confused = false;
2613 loveStruck = false;
2615 stinky = false;
2616 dryadWard = false;
2617 onFire2 = false;
2618 onFire3 = false;
2619 justHit = false;
2620 dontTakeDamage = false;
2622 npcSlots = 1f;
2623 lavaImmune = false;
2624 lavaWet = false;
2625 wetCount = 0;
2626 wet = false;
2627 townNPC = false;
2628 homeless = false;
2629 homeTileX = -1;
2630 homeTileY = -1;
2631 housingCategory = 0;
2632 friendly = false;
2633 behindTiles = false;
2634 boss = false;
2635 noTileCollide = false;
2636 rotation = 0f;
2637 active = true;
2638 alpha = 0;
2639 color = default(Color);
2640 collideX = false;
2641 collideY = false;
2642 direction = 0;
2644 frameCounter = 0.0;
2645 netUpdate = true;
2646 netUpdate2 = false;
2647 knockBackResist = 1f;
2648 GivenName = "";
2649 noGravity = false;
2650 scale = 1f;
2651 HitSound = null;
2652 DeathSound = null;
2653 spriteDirection = -1;
2654 target = 255;
2655 oldTarget = target;
2656 targetRect = default(Rectangle);
2658 type = Type;
2659 value = 0f;
2660 coldDamage = false;
2661 trapImmune = false;
2662 hide = false;
2663 immortal = false;
2664 chaseable = true;
2665 breath = 200;
2666 breathCounter = 0;
2667 reflectsProjectiles = false;
2668 canGhostHeal = true;
2669 javelined = false;
2670 tentacleSpiked = false;
2671 bloodButchered = false;
2672 daybreak = false;
2673 celled = false;
2674 dryadBane = false;
2675 betsysCurse = false;
2676 oiled = false;
2677 despawnEncouraged = false;
2678 for (int m = 0; m < maxAI; m++)
2679 {
2680 ai[m] = 0f;
2681 }
2682 for (int n = 0; n < maxAI; n++)
2683 {
2684 localAI[n] = 0f;
2685 }
2686 if (type == 1)
2687 {
2688 width = 24;
2689 height = 18;
2690 aiStyle = 1;
2691 damage = 7;
2692 defense = 2;
2693 lifeMax = 25;
2696 alpha = 175;
2697 color = new Color(0, 80, 255, 100);
2698 value = 25f;
2699 }
2700 else if (type == 2)
2701 {
2702 width = 30;
2703 height = 32;
2704 aiStyle = 2;
2705 damage = 18;
2706 defense = 2;
2707 lifeMax = 60;
2709 knockBackResist = 0.8f;
2711 value = 75f;
2712 }
2713 else if (type == 3)
2714 {
2715 width = 18;
2716 height = 40;
2717 aiStyle = 3;
2718 damage = 14;
2719 defense = 6;
2720 lifeMax = 45;
2723 knockBackResist = 0.5f;
2724 value = 60f;
2725 }
2726 else if (type == 430)
2727 {
2728 width = 18;
2729 height = 40;
2730 aiStyle = 3;
2731 damage = 14;
2732 defense = 6;
2733 lifeMax = 45;
2736 knockBackResist = 0.5f;
2737 value = 60f;
2738 }
2739 else if (type == 431)
2740 {
2741 width = 18;
2742 height = 40;
2743 aiStyle = 3;
2744 damage = 16;
2745 defense = 8;
2746 lifeMax = 50;
2749 knockBackResist = 0.45f;
2750 value = 80f;
2751 }
2752 else if (type == 432)
2753 {
2754 width = 18;
2755 height = 40;
2756 aiStyle = 3;
2757 damage = 16;
2758 defense = 8;
2759 lifeMax = 50;
2762 knockBackResist = 0.45f;
2763 value = 65f;
2764 }
2765 else if (type == 433)
2766 {
2767 width = 18;
2768 height = 40;
2769 aiStyle = 3;
2770 damage = 13;
2771 defense = 6;
2772 lifeMax = 40;
2775 knockBackResist = 0.55f;
2776 value = 55f;
2777 }
2778 else if (type == 434)
2779 {
2780 width = 18;
2781 height = 40;
2782 aiStyle = 3;
2783 damage = 13;
2784 defense = 8;
2785 lifeMax = 45;
2788 knockBackResist = 0.45f;
2789 value = 80f;
2790 }
2791 else if (type == 435)
2792 {
2793 width = 18;
2794 height = 40;
2795 aiStyle = 3;
2796 damage = 16;
2797 defense = 4;
2798 lifeMax = 45;
2801 knockBackResist = 0.55f;
2802 value = 70f;
2803 }
2804 else if (type == 436)
2805 {
2806 width = 18;
2807 height = 40;
2808 aiStyle = 3;
2809 damage = 12;
2810 defense = 4;
2811 lifeMax = 38;
2814 knockBackResist = 0.6f;
2815 value = 65f;
2816 }
2817 else if (type == 4)
2818 {
2819 width = 100;
2820 height = 110;
2821 aiStyle = 4;
2822 damage = 15;
2823 defense = 12;
2824 lifeMax = 2800;
2827 knockBackResist = 0f;
2828 noGravity = true;
2829 noTileCollide = true;
2831 boss = true;
2832 value = 30000f;
2833 npcSlots = 5f;
2834 }
2835 else if (type == 5)
2836 {
2837 width = 20;
2838 height = 20;
2839 aiStyle = 5;
2840 damage = 12;
2841 defense = 0;
2842 lifeMax = 8;
2845 noGravity = true;
2846 noTileCollide = true;
2847 }
2848 else if (type == 6)
2849 {
2850 npcSlots = 1f;
2851 width = 30;
2852 height = 30;
2853 aiStyle = 5;
2854 damage = 22;
2855 defense = 8;
2856 lifeMax = 40;
2859 noGravity = true;
2860 knockBackResist = 0.5f;
2861 value = 90f;
2862 if (Main.remixWorld)
2863 {
2864 scale *= 1.3f;
2865 damage = (int)((float)damage * scale);
2866 defense = (int)((float)defense * scale);
2867 lifeMax = (int)((float)lifeMax * scale);
2868 value = (int)(value * scale);
2869 }
2870 else if (Main.getGoodWorld)
2871 {
2872 scale *= 1.3f;
2873 }
2874 }
2875 else if (type == 7)
2876 {
2877 npcSlots = 3.5f;
2878 width = 22;
2879 height = 22;
2880 aiStyle = 6;
2881 damage = 31;
2882 defense = 2;
2883 lifeMax = 100;
2886 noGravity = true;
2887 noTileCollide = true;
2888 knockBackResist = 0f;
2889 behindTiles = true;
2890 value = 140f;
2891 netAlways = true;
2892 if (Main.remixWorld)
2893 {
2894 scale *= 1.3f;
2895 damage = (int)((float)damage * scale);
2896 defense = (int)((float)defense * scale);
2897 lifeMax = (int)((float)lifeMax * scale);
2898 value = (int)(value * scale);
2899 }
2900 }
2901 else if (type == 8)
2902 {
2903 width = 22;
2904 height = 22;
2905 aiStyle = 6;
2906 netAlways = true;
2907 damage = 16;
2908 defense = 6;
2909 lifeMax = 100;
2912 noGravity = true;
2913 noTileCollide = true;
2914 knockBackResist = 0f;
2915 behindTiles = true;
2916 value = 140f;
2917 dontCountMe = true;
2918 if (Main.remixWorld)
2919 {
2920 scale *= 1.3f;
2921 damage = (int)((float)damage * scale);
2922 defense = (int)((float)defense * scale);
2923 lifeMax = (int)((float)lifeMax * scale);
2924 value = (int)(value * scale);
2925 }
2926 }
2927 else if (type == 9)
2928 {
2929 width = 22;
2930 height = 22;
2931 aiStyle = 6;
2932 netAlways = true;
2933 damage = 13;
2934 defense = 10;
2935 lifeMax = 100;
2938 noGravity = true;
2939 noTileCollide = true;
2940 knockBackResist = 0f;
2941 behindTiles = true;
2942 value = 140f;
2943 dontCountMe = true;
2944 if (Main.remixWorld)
2945 {
2946 scale *= 1.3f;
2947 damage = (int)((float)damage * scale);
2948 defense = (int)((float)defense * scale);
2949 lifeMax = (int)((float)lifeMax * scale);
2950 value = (int)(value * scale);
2951 }
2952 }
2953 else if (type == 10)
2954 {
2955 width = 14;
2956 height = 14;
2957 aiStyle = 6;
2958 netAlways = true;
2959 damage = 8;
2960 defense = 0;
2961 lifeMax = 30;
2964 noGravity = true;
2965 noTileCollide = true;
2966 knockBackResist = 0f;
2967 behindTiles = true;
2968 value = 40f;
2969 }
2970 else if (type == 11)
2971 {
2972 width = 14;
2973 height = 14;
2974 aiStyle = 6;
2975 netAlways = true;
2976 damage = 4;
2977 defense = 4;
2978 lifeMax = 30;
2981 noGravity = true;
2982 noTileCollide = true;
2983 knockBackResist = 0f;
2984 behindTiles = true;
2985 value = 40f;
2986 dontCountMe = true;
2987 }
2988 else if (type == 12)
2989 {
2990 width = 14;
2991 height = 14;
2992 aiStyle = 6;
2993 netAlways = true;
2994 damage = 4;
2995 defense = 6;
2996 lifeMax = 30;
2999 noGravity = true;
3000 noTileCollide = true;
3001 knockBackResist = 0f;
3002 behindTiles = true;
3003 value = 40f;
3004 dontCountMe = true;
3005 }
3006 else if (type == 13)
3007 {
3008 npcSlots = 5f;
3009 width = 38;
3010 height = 38;
3011 aiStyle = 6;
3012 netAlways = true;
3013 damage = 22;
3014 defense = 2;
3015 lifeMax = 150;
3018 noGravity = true;
3019 noTileCollide = true;
3020 knockBackResist = 0f;
3021 behindTiles = true;
3022 value = 800f;
3023 scale = 1f;
3024 alpha = 255;
3025 }
3026 else if (type == 14)
3027 {
3028 width = 38;
3029 height = 38;
3030 aiStyle = 6;
3031 netAlways = true;
3032 damage = 13;
3033 defense = 4;
3034 lifeMax = 150;
3037 noGravity = true;
3038 noTileCollide = true;
3039 knockBackResist = 0f;
3040 behindTiles = true;
3041 value = 800f;
3042 scale = 1f;
3043 dontCountMe = true;
3044 alpha = 255;
3045 }
3046 else if (type == 15)
3047 {
3048 width = 38;
3049 height = 38;
3050 aiStyle = 6;
3051 netAlways = true;
3052 damage = 11;
3053 defense = 8;
3054 lifeMax = 150;
3057 noGravity = true;
3058 noTileCollide = true;
3059 knockBackResist = 0f;
3060 behindTiles = true;
3061 value = 800f;
3062 scale = 1f;
3063 dontCountMe = true;
3064 alpha = 255;
3065 }
3066 else if (type == 16)
3067 {
3068 npcSlots = 2f;
3069 width = 36;
3070 height = 24;
3071 aiStyle = 1;
3072 damage = 20;
3073 defense = 7;
3074 lifeMax = 90;
3077 alpha = 120;
3078 color = new Color(0, 0, 0, 50);
3079 value = 75f;
3080 scale = 1.25f;
3081 knockBackResist = 0.6f;
3082 }
3083 else if (type == 17)
3084 {
3085 townNPC = true;
3086 friendly = true;
3087 width = 18;
3088 height = 40;
3089 aiStyle = 7;
3090 damage = 10;
3091 defense = 15;
3092 lifeMax = 250;
3095 knockBackResist = 0.5f;
3096 }
3097 else if (type == 18)
3098 {
3099 townNPC = true;
3100 friendly = true;
3101 width = 18;
3102 height = 40;
3103 aiStyle = 7;
3104 damage = 10;
3105 defense = 15;
3106 lifeMax = 250;
3109 knockBackResist = 0.5f;
3110 }
3111 else if (type == 19)
3112 {
3113 townNPC = true;
3114 friendly = true;
3115 width = 18;
3116 height = 40;
3117 aiStyle = 7;
3118 damage = 10;
3119 defense = 15;
3120 lifeMax = 250;
3123 knockBackResist = 0.5f;
3124 }
3125 else if (type == 20)
3126 {
3127 townNPC = true;
3128 friendly = true;
3129 width = 18;
3130 height = 40;
3131 aiStyle = 7;
3132 damage = 10;
3133 defense = 15;
3134 lifeMax = 250;
3137 knockBackResist = 0.5f;
3138 }
3139 else if (type == 21)
3140 {
3141 width = 18;
3142 height = 40;
3143 aiStyle = 3;
3144 damage = 20;
3145 defense = 8;
3146 lifeMax = 60;
3149 knockBackResist = 0.5f;
3150 value = 100f;
3151 }
3152 else if (type == 22)
3153 {
3154 townNPC = true;
3155 friendly = true;
3156 width = 18;
3157 height = 40;
3158 aiStyle = 7;
3159 damage = 10;
3160 defense = 15;
3161 lifeMax = 250;
3164 knockBackResist = 0.5f;
3165 }
3166 else if (type == 23)
3167 {
3168 width = 22;
3169 height = 22;
3170 aiStyle = 5;
3171 damage = 40;
3172 defense = 6;
3173 lifeMax = 26;
3176 noGravity = true;
3177 noTileCollide = true;
3178 value = 80f;
3179 knockBackResist = 0.4f;
3180 }
3181 else if (type == 24)
3182 {
3183 npcSlots = 3f;
3184 width = 18;
3185 height = 40;
3186 aiStyle = 8;
3187 damage = 30;
3188 defense = 16;
3189 lifeMax = 70;
3192 knockBackResist = 0.5f;
3193 lavaImmune = true;
3194 value = 350f;
3195 }
3196 else if (type == 25)
3197 {
3198 width = 16;
3199 height = 16;
3200 aiStyle = 9;
3201 damage = 30;
3202 defense = 0;
3203 lifeMax = 1;
3206 noGravity = true;
3207 noTileCollide = true;
3208 knockBackResist = 0f;
3209 alpha = 100;
3210 }
3211 else if (type == 31)
3212 {
3213 width = 18;
3214 height = 40;
3215 aiStyle = 3;
3216 damage = 26;
3217 defense = 8;
3218 lifeMax = 80;
3221 knockBackResist = 0.8f;
3222 value = 130f;
3223 }
3224 else if (type == 32)
3225 {
3226 width = 18;
3227 height = 40;
3228 aiStyle = 8;
3229 damage = 20;
3230 defense = 2;
3231 lifeMax = 50;
3234 knockBackResist = 0.6f;
3235 value = 140f;
3236 npcSlots = 2f;
3237 }
3238 else if (type == 33)
3239 {
3240 width = 16;
3241 height = 16;
3242 aiStyle = 9;
3243 damage = 20;
3244 defense = 0;
3245 lifeMax = 1;
3248 noGravity = true;
3249 noTileCollide = true;
3250 alpha = 255;
3251 knockBackResist = 0f;
3252 }
3253 else if (type == 34)
3254 {
3255 width = 26;
3256 height = 28;
3257 aiStyle = 10;
3258 damage = 35;
3259 defense = 6;
3260 lifeMax = 40;
3263 noGravity = true;
3264 noTileCollide = true;
3265 value = 150f;
3266 knockBackResist = 0.2f;
3267 npcSlots = 0.75f;
3268 }
3269 else if (type == 35)
3270 {
3271 width = 80;
3272 height = 102;
3273 aiStyle = 11;
3274 damage = 32;
3275 defense = 10;
3276 lifeMax = 4400;
3279 noGravity = true;
3280 noTileCollide = true;
3281 value = 50000f;
3282 knockBackResist = 0f;
3283 boss = true;
3284 npcSlots = 6f;
3285 }
3286 else if (type == 36)
3287 {
3288 width = 52;
3289 height = 52;
3290 aiStyle = 12;
3291 damage = 20;
3292 defense = 14;
3293 lifeMax = 600;
3296 noGravity = true;
3297 noTileCollide = true;
3298 knockBackResist = 0f;
3299 }
3300 else if (type == 37)
3301 {
3302 townNPC = true;
3303 friendly = true;
3304 width = 18;
3305 height = 40;
3306 aiStyle = 7;
3307 damage = 10;
3308 defense = 15;
3309 lifeMax = 250;
3312 knockBackResist = 0.5f;
3313 }
3314 else if (type == 38)
3315 {
3316 townNPC = true;
3317 friendly = true;
3318 width = 18;
3319 height = 40;
3320 aiStyle = 7;
3321 damage = 10;
3322 defense = 15;
3323 lifeMax = 250;
3326 knockBackResist = 0.5f;
3327 }
3328 else if (type == 39)
3329 {
3330 npcSlots = 6f;
3331 width = 22;
3332 height = 22;
3333 aiStyle = 6;
3334 netAlways = true;
3335 damage = 36;
3336 defense = 12;
3337 lifeMax = 300;
3340 noGravity = true;
3341 noTileCollide = true;
3342 knockBackResist = 0f;
3343 behindTiles = true;
3344 value = 1200f;
3345 if (Main.getGoodWorld)
3346 {
3347 lifeMax += 100;
3348 defense += 2;
3349 damage += 4;
3350 scale = 1.1f;
3351 if (Main.remixWorld)
3352 {
3353 lifeMax += 50;
3354 scale *= 1.2f;
3355 defense += 4;
3356 }
3357 }
3358 }
3359 else if (type == 40)
3360 {
3361 width = 22;
3362 height = 22;
3363 aiStyle = 6;
3364 netAlways = true;
3365 damage = 20;
3366 defense = 18;
3367 lifeMax = 300;
3370 noGravity = true;
3371 noTileCollide = true;
3372 knockBackResist = 0f;
3373 behindTiles = true;
3374 value = 1200f;
3375 dontCountMe = true;
3376 if (Main.getGoodWorld)
3377 {
3378 lifeMax += 100;
3379 defense += 2;
3380 damage += 4;
3381 scale = 1.1f;
3382 if (Main.remixWorld)
3383 {
3384 lifeMax += 50;
3385 scale *= 1.2f;
3386 defense += 4;
3387 }
3388 }
3389 }
3390 else if (type == 41)
3391 {
3392 width = 22;
3393 height = 22;
3394 aiStyle = 6;
3395 netAlways = true;
3396 damage = 16;
3397 defense = 18;
3398 lifeMax = 300;
3401 noGravity = true;
3402 noTileCollide = true;
3403 knockBackResist = 0f;
3404 behindTiles = true;
3405 value = 1200f;
3406 dontCountMe = true;
3407 if (Main.getGoodWorld)
3408 {
3409 lifeMax += 100;
3410 defense += 2;
3411 damage += 4;
3412 scale = 1.1f;
3413 if (Main.remixWorld)
3414 {
3415 lifeMax += 50;
3416 scale *= 1.2f;
3417 defense += 4;
3418 }
3419 }
3420 }
3421 else if (type == 42)
3422 {
3423 width = 34;
3424 height = 32;
3425 aiStyle = 5;
3426 damage = 26;
3427 defense = 12;
3428 lifeMax = 48;
3430 knockBackResist = 0.5f;
3432 value = 200f;
3433 noGravity = true;
3434 }
3435 else if (type == 43)
3436 {
3437 noGravity = true;
3438 noTileCollide = true;
3439 width = 30;
3440 height = 30;
3441 aiStyle = 13;
3442 damage = 34;
3443 defense = 10;
3444 lifeMax = 110;
3446 knockBackResist = 0f;
3448 value = 350f;
3449 }
3450 else if (type == 44)
3451 {
3452 width = 18;
3453 height = 40;
3454 aiStyle = 3;
3455 damage = 22;
3456 defense = 9;
3457 lifeMax = 70;
3460 knockBackResist = 0.5f;
3461 value = 250f;
3462 rarity = 1;
3463 }
3464 else if (type == 45)
3465 {
3466 width = 18;
3467 height = 40;
3468 aiStyle = 8;
3469 damage = 20;
3470 defense = 4;
3471 lifeMax = 200;
3474 knockBackResist = 0.6f;
3475 value = 5000f;
3476 rarity = 4;
3477 }
3478 else if (type == 46 || type == 303 || type == 337 || type == 540)
3479 {
3480 width = 18;
3481 height = 20;
3482 aiStyle = 7;
3483 damage = 0;
3484 defense = 0;
3485 lifeMax = 5;
3488 catchItem = 2019;
3489 }
3490 else if (type == 47)
3491 {
3492 width = 18;
3493 height = 20;
3494 aiStyle = 3;
3495 damage = 20;
3496 defense = 4;
3497 lifeMax = 70;
3500 value = 500f;
3501 }
3502 else if (type == 48)
3503 {
3504 width = 24;
3505 height = 34;
3506 aiStyle = 14;
3507 damage = 25;
3508 defense = 8;
3509 lifeMax = 100;
3511 knockBackResist = 0.6f;
3513 value = 300f;
3514 }
3515 else if (type == 49)
3516 {
3517 npcSlots = 0.5f;
3518 width = 22;
3519 height = 18;
3520 aiStyle = 14;
3521 damage = 13;
3522 defense = 2;
3523 lifeMax = 16;
3525 knockBackResist = 0.8f;
3527 value = 90f;
3528 }
3529 else if (type == 50)
3530 {
3531 boss = true;
3532 width = 98;
3533 height = 92;
3534 aiStyle = 15;
3535 damage = 40;
3536 defense = 10;
3537 lifeMax = 2000;
3538 knockBackResist = 0f;
3541 alpha = 30;
3542 value = 10000f;
3543 scale = 1.25f;
3545 npcSlots = 5f;
3546 }
3547 else if (type == 51)
3548 {
3549 npcSlots = 0.5f;
3550 width = 22;
3551 height = 18;
3552 aiStyle = 14;
3553 damage = 20;
3554 defense = 4;
3555 lifeMax = 34;
3557 knockBackResist = 0.8f;
3559 value = 80f;
3560 }
3561 else if (type == 52)
3562 {
3563 width = 18;
3564 height = 40;
3565 aiStyle = 3;
3566 damage = 20;
3567 defense = 10;
3568 lifeMax = 500;
3571 knockBackResist = 0.5f;
3572 value = 1000f;
3573 rarity = 2;
3574 }
3575 else if (type == 53)
3576 {
3577 width = 18;
3578 height = 40;
3579 aiStyle = 3;
3580 damage = 14;
3581 defense = 8;
3582 lifeMax = 200;
3585 knockBackResist = 0.5f;
3586 value = 1000f;
3587 rarity = 2;
3588 }
3589 else if (type == 54)
3590 {
3591 townNPC = true;
3592 friendly = true;
3593 width = 18;
3594 height = 40;
3595 aiStyle = 7;
3596 damage = 10;
3597 defense = 15;
3598 lifeMax = 250;
3601 knockBackResist = 0.5f;
3602 }
3603 else if (type == 55)
3604 {
3605 noGravity = true;
3606 width = 20;
3607 height = 18;
3608 aiStyle = 16;
3609 damage = 0;
3610 defense = 0;
3611 lifeMax = 5;
3614 knockBackResist = 0.5f;
3615 catchItem = 261;
3616 }
3617 else if (type == 56)
3618 {
3619 noTileCollide = true;
3620 noGravity = true;
3621 width = 30;
3622 height = 30;
3623 aiStyle = 13;
3624 damage = 25;
3625 defense = 10;
3626 lifeMax = 60;
3628 knockBackResist = 0f;
3630 value = 90f;
3631 }
3632 else if (type == 57)
3633 {
3634 noGravity = true;
3635 width = 18;
3636 height = 20;
3637 aiStyle = 16;
3638 damage = 30;
3639 defense = 6;
3640 lifeMax = 100;
3643 value = 500f;
3644 }
3645 else if (type == 58)
3646 {
3647 npcSlots = 0.5f;
3648 noGravity = true;
3649 width = 18;
3650 height = 20;
3651 aiStyle = 16;
3652 damage = 25;
3653 defense = 2;
3654 lifeMax = 30;
3657 value = 50f;
3658 }
3659 else if (type == 59)
3660 {
3661 width = 24;
3662 height = 18;
3663 aiStyle = 1;
3664 damage = 15;
3665 defense = 10;
3666 lifeMax = 50;
3669 scale = 1.1f;
3670 alpha = 50;
3671 lavaImmune = true;
3672 value = 120f;
3673 if (Main.remixWorld)
3674 {
3675 damage = 7;
3676 defense = 2;
3677 lifeMax = 25;
3678 value = 25f;
3679 }
3680 }
3681 else if (type == 60)
3682 {
3683 npcSlots = 0.5f;
3684 width = 22;
3685 height = 18;
3686 aiStyle = 14;
3687 damage = 35;
3688 defense = 8;
3689 lifeMax = 46;
3691 knockBackResist = 0.8f;
3693 value = 120f;
3694 scale = 1.1f;
3695 lavaImmune = true;
3696 }
3697 else if (type == 61)
3698 {
3699 width = 36;
3700 height = 36;
3701 aiStyle = 17;
3702 damage = 15;
3703 defense = 4;
3704 lifeMax = 40;
3705 knockBackResist = 0.8f;
3708 value = 60f;
3709 }
3710 else if (type == 62)
3711 {
3712 npcSlots = 2f;
3713 width = 28;
3714 height = 48;
3715 aiStyle = 14;
3716 damage = 32;
3717 defense = 8;
3718 lifeMax = 120;
3720 knockBackResist = 0.8f;
3722 value = 300f;
3723 lavaImmune = true;
3724 }
3725 else if (type == 63)
3726 {
3727 noGravity = true;
3728 width = 26;
3729 height = 26;
3730 aiStyle = 18;
3731 damage = 25;
3732 defense = 4;
3733 lifeMax = 34;
3736 value = 100f;
3737 alpha = 20;
3738 }
3739 else if (type == 64)
3740 {
3741 noGravity = true;
3742 width = 26;
3743 height = 26;
3744 aiStyle = 18;
3745 damage = 30;
3746 defense = 6;
3747 lifeMax = 70;
3750 value = 100f;
3751 alpha = 20;
3752 }
3753 else if (type == 65)
3754 {
3755 noGravity = true;
3756 width = 100;
3757 height = 24;
3758 aiStyle = 16;
3759 damage = 40;
3760 defense = 2;
3761 lifeMax = 300;
3764 value = 400f;
3765 knockBackResist = 0.7f;
3766 }
3767 else if (type == 66)
3768 {
3769 npcSlots = 2f;
3770 width = 28;
3771 height = 48;
3772 aiStyle = 14;
3773 damage = 32;
3774 defense = 8;
3775 lifeMax = 140;
3777 knockBackResist = 0.8f;
3779 value = 1000f;
3780 lavaImmune = true;
3781 rarity = 1;
3782 }
3783 else if (type == 67)
3784 {
3785 width = 28;
3786 height = 20;
3787 aiStyle = 3;
3788 damage = 20;
3789 defense = 10;
3790 lifeMax = 40;
3793 value = 60f;
3794 }
3795 else if (type == 68)
3796 {
3797 width = 80;
3798 height = 102;
3799 aiStyle = 11;
3800 damage = 1000;
3801 defense = 9999;
3802 lifeMax = 9999;
3805 noGravity = true;
3806 noTileCollide = true;
3807 knockBackResist = 0f;
3808 }
3809 else if (type == 69)
3810 {
3811 width = 24;
3812 height = 24;
3813 aiStyle = 19;
3814 damage = 10;
3815 defense = 6;
3816 lifeMax = 45;
3819 knockBackResist = 0f;
3820 value = 60f;
3821 behindTiles = true;
3822 }
3823 else if (type == 70)
3824 {
3825 npcSlots = 0.3f;
3826 width = 34;
3827 height = 34;
3828 aiStyle = 20;
3829 damage = 32;
3830 defense = 100;
3831 lifeMax = 100;
3834 knockBackResist = 0f;
3835 noGravity = true;
3836 noTileCollide = true;
3837 dontTakeDamage = true;
3838 scale = 1.5f;
3839 }
3840 else if (type == 71)
3841 {
3842 npcSlots = 2f;
3843 width = 36;
3844 height = 24;
3845 aiStyle = 1;
3846 damage = 30;
3847 defense = 7;
3848 lifeMax = 150;
3851 alpha = 60;
3852 value = 150f;
3853 scale = 1.25f;
3854 knockBackResist = 0.6f;
3855 rarity = 1;
3856 }
3857 else if (type == 72)
3858 {
3859 npcSlots = 0.3f;
3860 width = 34;
3861 height = 34;
3862 aiStyle = 21;
3863 damage = 24;
3864 defense = 100;
3865 lifeMax = 100;
3866 alpha = 100;
3867 behindTiles = true;
3870 knockBackResist = 0f;
3871 noGravity = true;
3872 dontTakeDamage = true;
3873 scale = 1.2f;
3874 }
3875 else if (type == 73)
3876 {
3877 scale = 0.95f;
3878 width = 18;
3879 height = 40;
3880 aiStyle = 3;
3881 damage = 20;
3882 defense = 6;
3883 lifeMax = 80;
3886 knockBackResist = 0.7f;
3887 value = 200f;
3888 rarity = 1;
3889 }
3890 else if (type == 74 || type == 297 || type == 298)
3891 {
3892 width = 14;
3893 height = 14;
3894 aiStyle = 24;
3895 damage = 0;
3896 defense = 0;
3897 lifeMax = 5;
3899 knockBackResist = 0.8f;
3901 if (type == 74)
3902 {
3903 catchItem = 2015;
3904 }
3905 if (type == 297)
3906 {
3907 catchItem = 2016;
3908 }
3909 if (type == 298)
3910 {
3911 catchItem = 2017;
3912 }
3913 npcSlots = 0.4f;
3914 }
3915 else if (type == 75)
3916 {
3917 noGravity = true;
3918 width = 20;
3919 height = 20;
3920 aiStyle = 22;
3921 damage = 55;
3922 defense = 20;
3923 lifeMax = 150;
3925 knockBackResist = 0.6f;
3927 value = 350f;
3928 }
3929 else if (type == 77)
3930 {
3931 width = 18;
3932 height = 40;
3933 aiStyle = 3;
3934 damage = 40;
3935 defense = 28;
3936 lifeMax = 260;
3939 knockBackResist = 0.4f;
3940 value = 400f;
3941 }
3942 else if (type == 78)
3943 {
3944 width = 18;
3945 height = 40;
3946 aiStyle = 3;
3947 damage = 50;
3948 defense = 16;
3949 lifeMax = 130;
3952 knockBackResist = 0.6f;
3953 value = 600f;
3954 }
3955 else if (type == 79)
3956 {
3957 width = 18;
3958 height = 40;
3959 aiStyle = 3;
3960 damage = 60;
3961 defense = 18;
3962 lifeMax = 180;
3965 knockBackResist = 0.5f;
3966 value = 700f;
3967 }
3968 else if (type == 80)
3969 {
3970 width = 18;
3971 height = 40;
3972 aiStyle = 3;
3973 damage = 55;
3974 defense = 18;
3975 lifeMax = 200;
3978 knockBackResist = 0.55f;
3979 value = 700f;
3980 }
3981 else if (type == 81)
3982 {
3983 width = 40;
3984 height = 30;
3985 aiStyle = 1;
3986 damage = 55;
3987 defense = 20;
3988 lifeMax = 170;
3991 alpha = 55;
3992 value = 400f;
3993 scale = 1.1f;
3994 }
3995 else if (type == 82)
3996 {
3997 noGravity = true;
3998 noTileCollide = true;
3999 width = 24;
4000 height = 44;
4001 aiStyle = 22;
4002 damage = 65;
4003 defense = 16;
4004 lifeMax = 160;
4007 alpha = 100;
4008 value = 500f;
4009 knockBackResist = 0.7f;
4010 if (Main.remixWorld)
4011 {
4012 scale *= 1.2f;
4013 damage = (int)((float)damage * scale);
4014 defense = (int)((float)defense * scale);
4015 lifeMax = (int)((float)lifeMax * scale);
4016 value = (int)(value * scale);
4017 }
4018 }
4019 else if (type == 83)
4020 {
4021 width = 40;
4022 height = 40;
4023 aiStyle = 23;
4024 damage = 80;
4025 defense = 18;
4026 lifeMax = 200;
4029 value = 1000f;
4030 knockBackResist = 0.4f;
4031 }
4032 else if (type == 84)
4033 {
4034 width = 40;
4035 height = 40;
4036 aiStyle = 23;
4037 damage = 80;
4038 defense = 18;
4039 lifeMax = 200;
4042 value = 1000f;
4043 knockBackResist = 0.4f;
4044 }
4045 else if (type == 85)
4046 {
4047 width = 24;
4048 height = 24;
4049 aiStyle = 25;
4050 damage = 80;
4051 defense = 30;
4052 lifeMax = 500;
4055 value = 100000f;
4056 knockBackResist = 0.3f;
4057 rarity = 4;
4058 if (Main.remixWorld && !Main.hardMode)
4059 {
4060 damage = 30;
4061 defense = 12;
4062 lifeMax = 300;
4063 value = Item.buyPrice(0, 2);
4064 }
4065 }
4066 else if (type == 86)
4067 {
4068 width = 46;
4069 height = 42;
4070 aiStyle = 26;
4071 damage = 65;
4072 defense = 30;
4073 lifeMax = 400;
4076 knockBackResist = 0.3f;
4077 value = 1000f;
4078 }
4079 else if (type == 87)
4080 {
4081 noTileCollide = true;
4082 npcSlots = 5f;
4083 width = 32;
4084 height = 32;
4085 aiStyle = 6;
4086 netAlways = true;
4087 damage = 80;
4088 defense = 10;
4089 lifeMax = 4000;
4092 noGravity = true;
4093 knockBackResist = 0f;
4094 value = 10000f;
4095 scale = 1f;
4096 }
4097 else if (type == 88)
4098 {
4099 noTileCollide = true;
4100 width = 32;
4101 height = 32;
4102 aiStyle = 6;
4103 netAlways = true;
4104 damage = 40;
4105 defense = 20;
4106 lifeMax = 4000;
4109 noGravity = true;
4110 knockBackResist = 0f;
4111 value = 10000f;
4112 scale = 1f;
4113 dontCountMe = true;
4114 }
4115 else if (type == 89)
4116 {
4117 noTileCollide = true;
4118 width = 32;
4119 height = 32;
4120 aiStyle = 6;
4121 netAlways = true;
4122 damage = 40;
4123 defense = 20;
4124 lifeMax = 4000;
4127 noGravity = true;
4128 knockBackResist = 0f;
4129 value = 2000f;
4130 scale = 1f;
4131 dontCountMe = true;
4132 }
4133 else if (type == 90)
4134 {
4135 noTileCollide = true;
4136 width = 32;
4137 height = 32;
4138 aiStyle = 6;
4139 netAlways = true;
4140 damage = 40;
4141 defense = 20;
4142 lifeMax = 4000;
4145 noGravity = true;
4146 knockBackResist = 0f;
4147 value = 10000f;
4148 scale = 1f;
4149 dontCountMe = true;
4150 }
4151 else if (type == 91)
4152 {
4153 noTileCollide = true;
4154 width = 32;
4155 height = 32;
4156 aiStyle = 6;
4157 netAlways = true;
4158 damage = 40;
4159 defense = 20;
4160 lifeMax = 4000;
4163 noGravity = true;
4164 knockBackResist = 0f;
4165 value = 10000f;
4166 scale = 1f;
4167 dontCountMe = true;
4168 }
4169 else if (type == 92)
4170 {
4171 noTileCollide = true;
4172 width = 32;
4173 height = 32;
4174 aiStyle = 6;
4175 netAlways = true;
4176 damage = 40;
4177 defense = 20;
4178 lifeMax = 4000;
4181 noGravity = true;
4182 knockBackResist = 0f;
4183 value = 10000f;
4184 scale = 1f;
4185 dontCountMe = true;
4186 }
4187 else if (type == 93)
4188 {
4189 npcSlots = 0.5f;
4190 width = 26;
4191 height = 20;
4192 aiStyle = 14;
4193 damage = 45;
4194 defense = 16;
4195 lifeMax = 100;
4197 knockBackResist = 0.75f;
4199 value = 400f;
4200 }
4201 else if (type == 94)
4202 {
4203 npcSlots = 1f;
4204 width = 44;
4205 height = 44;
4206 aiStyle = 5;
4207 damage = 60;
4208 defense = 32;
4209 lifeMax = 230;
4212 noGravity = true;
4213 knockBackResist = 0.55f;
4214 value = 500f;
4215 }
4216 else if (type == 95)
4217 {
4218 width = 22;
4219 height = 22;
4220 aiStyle = 6;
4221 netAlways = true;
4222 damage = 45;
4223 defense = 10;
4224 lifeMax = 200;
4227 noGravity = true;
4228 noTileCollide = true;
4229 knockBackResist = 0f;
4230 behindTiles = true;
4231 scale = 0.9f;
4232 value = 300f;
4233 }
4234 else if (type == 96)
4235 {
4236 width = 22;
4237 height = 22;
4238 aiStyle = 6;
4239 netAlways = true;
4240 damage = 28;
4241 defense = 20;
4242 lifeMax = 200;
4245 noGravity = true;
4246 noTileCollide = true;
4247 knockBackResist = 0f;
4248 behindTiles = true;
4249 scale = 0.9f;
4250 value = 300f;
4251 dontCountMe = true;
4252 }
4253 else if (type == 97)
4254 {
4255 width = 22;
4256 height = 22;
4257 aiStyle = 6;
4258 netAlways = true;
4259 damage = 26;
4260 defense = 30;
4261 lifeMax = 200;
4264 noGravity = true;
4265 noTileCollide = true;
4266 knockBackResist = 0f;
4267 behindTiles = true;
4268 scale = 0.9f;
4269 value = 300f;
4270 dontCountMe = true;
4271 }
4272 else if (type == 98)
4273 {
4274 npcSlots = 3.5f;
4275 width = 22;
4276 height = 22;
4277 aiStyle = 6;
4278 netAlways = true;
4279 damage = 70;
4280 defense = 36;
4281 lifeMax = 500;
4284 noGravity = true;
4285 noTileCollide = true;
4286 knockBackResist = 0f;
4287 behindTiles = true;
4288 value = 700f;
4289 }
4290 else if (type == 99)
4291 {
4292 width = 22;
4293 height = 22;
4294 aiStyle = 6;
4295 netAlways = true;
4296 damage = 55;
4297 defense = 40;
4298 lifeMax = 500;
4301 noGravity = true;
4302 noTileCollide = true;
4303 knockBackResist = 0f;
4304 behindTiles = true;
4305 value = 700f;
4306 dontCountMe = true;
4307 }
4308 else if (type == 100)
4309 {
4310 width = 22;
4311 height = 22;
4312 aiStyle = 6;
4313 netAlways = true;
4314 damage = 40;
4315 defense = 44;
4316 lifeMax = 500;
4319 noGravity = true;
4320 noTileCollide = true;
4321 knockBackResist = 0f;
4322 behindTiles = true;
4323 value = 700f;
4324 dontCountMe = true;
4325 }
4326 else if (type == 101)
4327 {
4328 noGravity = true;
4329 noTileCollide = true;
4330 behindTiles = true;
4331 width = 30;
4332 height = 30;
4333 aiStyle = 13;
4334 damage = 70;
4335 defense = 30;
4336 lifeMax = 320;
4338 knockBackResist = 0.2f;
4340 value = 600f;
4341 }
4342 else if (type == 102)
4343 {
4344 npcSlots = 0.5f;
4345 noGravity = true;
4346 width = 18;
4347 height = 20;
4348 aiStyle = 16;
4349 damage = 80;
4350 defense = 22;
4351 lifeMax = 90;
4354 value = 500f;
4355 }
4356 else if (type == 103)
4357 {
4358 noGravity = true;
4359 width = 26;
4360 height = 26;
4361 aiStyle = 18;
4362 damage = 80;
4363 defense = 30;
4364 lifeMax = 120;
4367 value = 800f;
4368 alpha = 20;
4369 }
4370 else if (type == 104)
4371 {
4372 width = 18;
4373 height = 40;
4374 aiStyle = 3;
4375 damage = 70;
4376 defense = 38;
4377 lifeMax = 350;
4380 knockBackResist = 0.4f;
4381 value = 1000f;
4382 }
4383 else if (type == 105)
4384 {
4385 friendly = true;
4386 width = 18;
4387 height = 34;
4388 aiStyle = 0;
4389 damage = 10;
4390 defense = 15;
4391 lifeMax = 250;
4394 knockBackResist = 0.5f;
4395 rarity = 1;
4396 }
4397 else if (type == 106)
4398 {
4399 friendly = true;
4400 width = 18;
4401 height = 40;
4402 aiStyle = 0;
4403 damage = 10;
4404 defense = 15;
4405 lifeMax = 250;
4408 knockBackResist = 0.5f;
4409 rarity = 1;
4410 }
4411 else if (type == 107)
4412 {
4413 townNPC = true;
4414 friendly = true;
4415 width = 18;
4416 height = 40;
4417 aiStyle = 7;
4418 damage = 10;
4419 defense = 15;
4420 lifeMax = 250;
4423 knockBackResist = 0.5f;
4424 }
4425 else if (type == 108)
4426 {
4427 townNPC = true;
4428 friendly = true;
4429 width = 18;
4430 height = 40;
4431 aiStyle = 7;
4432 damage = 10;
4433 defense = 15;
4434 lifeMax = 250;
4437 knockBackResist = 0.5f;
4438 }
4439 else if (type == 109)
4440 {
4441 width = 34;
4442 height = 78;
4443 aiStyle = 3;
4444 damage = 60;
4445 defense = 25;
4446 lifeMax = 800;
4449 knockBackResist = 0.2f;
4450 value = 10000f;
4451 rarity = 1;
4452 }
4453 else if (type == 110)
4454 {
4455 width = 18;
4456 height = 40;
4457 aiStyle = 3;
4458 damage = 45;
4459 defense = 14;
4460 lifeMax = 210;
4463 knockBackResist = 0.55f;
4464 value = 400f;
4465 }
4466 else if (type == 112)
4467 {
4468 width = 16;
4469 height = 16;
4470 aiStyle = 9;
4471 damage = 65;
4472 defense = 0;
4473 lifeMax = 1;
4474 HitSound = null;
4476 noGravity = true;
4477 noTileCollide = true;
4478 knockBackResist = 0f;
4479 scale = 0.9f;
4480 alpha = 80;
4481 }
4482 else if (type == 113)
4483 {
4484 npcSlots = 10f;
4485 width = 100;
4486 height = 100;
4487 aiStyle = 27;
4488 damage = 50;
4489 defense = 12;
4490 lifeMax = 8000;
4493 noGravity = true;
4494 noTileCollide = true;
4495 behindTiles = true;
4496 knockBackResist = 0f;
4497 scale = 1.2f;
4498 boss = true;
4499 value = 80000f;
4500 }
4501 else if (type == 114)
4502 {
4503 width = 100;
4504 height = 100;
4505 aiStyle = 28;
4506 damage = 50;
4507 defense = 0;
4508 lifeMax = 8000;
4511 noGravity = true;
4512 noTileCollide = true;
4513 behindTiles = true;
4514 knockBackResist = 0f;
4515 scale = 1.2f;
4516 value = 80000f;
4517 }
4518 else if (type == 115)
4519 {
4520 width = 30;
4521 height = 30;
4522 aiStyle = 29;
4523 damage = 30;
4524 defense = 10;
4525 lifeMax = 240;
4528 noGravity = true;
4529 behindTiles = true;
4530 noTileCollide = true;
4531 knockBackResist = 1.1f;
4532 }
4533 else if (type == 116)
4534 {
4535 width = 30;
4536 height = 32;
4537 aiStyle = 2;
4538 damage = 30;
4539 defense = 6;
4540 lifeMax = 80;
4542 knockBackResist = 0.8f;
4544 }
4545 else if (type == 117)
4546 {
4547 width = 14;
4548 height = 14;
4549 aiStyle = 6;
4550 netAlways = true;
4551 damage = 26;
4552 defense = 2;
4553 lifeMax = 60;
4556 noGravity = true;
4557 noTileCollide = true;
4558 knockBackResist = 0f;
4559 behindTiles = true;
4560 }
4561 else if (type == 118)
4562 {
4563 width = 14;
4564 height = 14;
4565 aiStyle = 6;
4566 netAlways = true;
4567 damage = 22;
4568 defense = 6;
4569 lifeMax = 60;
4570 if (Main.getGoodWorld)
4571 {
4572 damage += 10;
4573 defense += 14;
4574 lifeMax *= 3;
4575 }
4578 noGravity = true;
4579 noTileCollide = true;
4580 knockBackResist = 0f;
4581 behindTiles = true;
4582 }
4583 else if (type == 119)
4584 {
4585 width = 14;
4586 height = 14;
4587 aiStyle = 6;
4588 netAlways = true;
4589 damage = 18;
4590 defense = 10;
4591 lifeMax = 60;
4594 noGravity = true;
4595 noTileCollide = true;
4596 knockBackResist = 0f;
4597 behindTiles = true;
4598 }
4599 else if (type == 120)
4600 {
4601 width = 18;
4602 height = 40;
4603 aiStyle = 3;
4604 damage = 40;
4605 defense = 30;
4606 lifeMax = 370;
4609 knockBackResist = 0.4f;
4610 value = 600f;
4611 }
4612 else if (type == 121)
4613 {
4614 width = 40;
4615 height = 30;
4616 aiStyle = 14;
4617 damage = 45;
4618 defense = 20;
4619 lifeMax = 60;
4621 alpha = 55;
4622 knockBackResist = 0.8f;
4623 scale = 1.1f;
4624 }
4625 else if (type == 122)
4626 {
4627 noGravity = true;
4628 width = 20;
4629 height = 20;
4630 aiStyle = 22;
4631 damage = 60;
4632 defense = 22;
4633 lifeMax = 220;
4635 knockBackResist = 0.8f;
4637 value = 600f;
4638 }
4639 else if (type == 123)
4640 {
4641 friendly = true;
4642 width = 18;
4643 height = 34;
4644 aiStyle = 0;
4645 damage = 10;
4646 defense = 15;
4647 lifeMax = 250;
4650 knockBackResist = 0.5f;
4651 scale = 0.9f;
4652 rarity = 1;
4653 }
4654 else if (type == 124)
4655 {
4656 townNPC = true;
4657 friendly = true;
4658 width = 18;
4659 height = 40;
4660 aiStyle = 7;
4661 damage = 10;
4662 defense = 15;
4663 lifeMax = 250;
4666 knockBackResist = 0.5f;
4667 }
4668 else if (type == 125)
4669 {
4670 width = 100;
4671 height = 110;
4672 aiStyle = 30;
4673 defense = 10;
4674 damage = 45;
4675 lifeMax = 20000;
4678 knockBackResist = 0f;
4679 noGravity = true;
4680 noTileCollide = true;
4682 boss = true;
4683 value = 120000f;
4684 npcSlots = 5f;
4685 }
4686 else if (type == 126)
4687 {
4688 width = 100;
4689 height = 110;
4690 aiStyle = 31;
4691 defense = 10;
4692 damage = 50;
4693 lifeMax = 23000;
4696 knockBackResist = 0f;
4697 noGravity = true;
4698 noTileCollide = true;
4700 boss = true;
4701 value = 120000f;
4702 npcSlots = 5f;
4703 }
4704 else if (type == 127)
4705 {
4706 width = 80;
4707 height = 102;
4708 aiStyle = 32;
4709 damage = 47;
4710 defense = 24;
4711 lifeMax = 28000;
4714 noGravity = true;
4715 noTileCollide = true;
4716 value = 120000f;
4717 knockBackResist = 0f;
4718 boss = true;
4719 npcSlots = 6f;
4720 }
4721 else if (type == 128)
4722 {
4723 width = 52;
4724 height = 52;
4725 aiStyle = 35;
4726 damage = 30;
4727 defense = 23;
4728 lifeMax = 7000;
4731 noGravity = true;
4732 noTileCollide = true;
4733 knockBackResist = 0f;
4734 netAlways = true;
4735 }
4736 else if (type == 129)
4737 {
4738 width = 52;
4739 height = 52;
4740 aiStyle = 33;
4741 damage = 56;
4742 defense = 38;
4743 lifeMax = 9000;
4746 noGravity = true;
4747 noTileCollide = true;
4748 knockBackResist = 0f;
4749 netAlways = true;
4750 }
4751 else if (type == 130)
4752 {
4753 width = 52;
4754 height = 52;
4755 aiStyle = 34;
4756 damage = 52;
4757 defense = 34;
4758 lifeMax = 9000;
4761 noGravity = true;
4762 noTileCollide = true;
4763 knockBackResist = 0f;
4764 netAlways = true;
4765 }
4766 else if (type == 131)
4767 {
4768 width = 52;
4769 height = 52;
4770 aiStyle = 36;
4771 damage = 29;
4772 defense = 20;
4773 lifeMax = 6000;
4776 noGravity = true;
4777 noTileCollide = true;
4778 knockBackResist = 0f;
4779 netAlways = true;
4780 }
4781 else if (type == 132)
4782 {
4783 width = 18;
4784 height = 40;
4785 aiStyle = 3;
4786 damage = 15;
4787 defense = 5;
4788 lifeMax = 40;
4791 knockBackResist = 0.5f;
4792 value = 65f;
4793 }
4794 else if (type == 133)
4795 {
4796 width = 30;
4797 height = 32;
4798 aiStyle = 2;
4799 damage = 40;
4800 defense = 20;
4801 lifeMax = 300;
4803 knockBackResist = 0.8f;
4805 value = 500f;
4806 }
4807 else if (type == 134)
4808 {
4809 npcSlots = 5f;
4810 width = 38;
4811 height = 38;
4812 aiStyle = 37;
4813 defense = 0;
4814 damage = 70;
4815 lifeMax = 80000;
4818 noGravity = true;
4819 noTileCollide = true;
4820 knockBackResist = 0f;
4821 behindTiles = true;
4822 value = 120000f;
4823 scale = 1.25f;
4824 boss = true;
4825 netAlways = true;
4826 alpha = 255;
4827 }
4828 else if (type == 135)
4829 {
4830 npcSlots = 5f;
4831 width = 38;
4832 height = 38;
4833 aiStyle = 37;
4834 damage = 55;
4835 defense = 30;
4836 lifeMax = 80000;
4839 noGravity = true;
4840 noTileCollide = true;
4841 knockBackResist = 0f;
4842 behindTiles = true;
4843 netAlways = true;
4844 scale = 1.25f;
4845 dontCountMe = true;
4846 alpha = 255;
4847 }
4848 else if (type == 136)
4849 {
4850 npcSlots = 5f;
4851 width = 38;
4852 height = 38;
4853 aiStyle = 37;
4854 damage = 40;
4855 defense = 35;
4856 lifeMax = 80000;
4859 noGravity = true;
4860 noTileCollide = true;
4861 knockBackResist = 0f;
4862 behindTiles = true;
4863 scale = 1.25f;
4864 netAlways = true;
4865 dontCountMe = true;
4866 alpha = 255;
4867 }
4868 else if (type == 139)
4869 {
4870 npcSlots = 1f;
4871 width = 30;
4872 height = 30;
4873 aiStyle = 5;
4874 damage = 50;
4875 defense = 20;
4876 lifeMax = 200;
4879 noGravity = true;
4880 knockBackResist = 0.8f;
4881 noTileCollide = true;
4882 }
4883 else if (type == 137)
4884 {
4885 width = 26;
4886 height = 20;
4887 aiStyle = 14;
4888 damage = 75;
4889 defense = 30;
4890 lifeMax = 200;
4892 knockBackResist = 0.75f;
4894 value = 500f;
4895 }
4896 else if (type == 138)
4897 {
4898 width = 24;
4899 height = 18;
4900 aiStyle = 1;
4901 damage = 70;
4902 defense = 30;
4903 lifeMax = 180;
4906 alpha = 100;
4907 value = 400f;
4908 knockBackResist = 0.85f;
4909 scale = 1.05f;
4910 }
4911 else if (type == 140)
4912 {
4913 width = 18;
4914 height = 40;
4915 aiStyle = 3;
4916 damage = 55;
4917 defense = 28;
4918 lifeMax = 260;
4921 knockBackResist = 0.4f;
4922 value = 400f;
4923 }
4924 else if (type == 141)
4925 {
4926 width = 34;
4927 height = 28;
4928 aiStyle = 1;
4929 damage = 50;
4930 defense = 18;
4931 lifeMax = 150;
4934 alpha = 55;
4935 value = 400f;
4936 scale = 1.1f;
4937 knockBackResist = 0.8f;
4938 }
4939 else if (type == 142)
4940 {
4941 townNPC = true;
4942 friendly = true;
4943 width = 18;
4944 height = 40;
4945 aiStyle = 7;
4946 damage = 10;
4947 defense = 15;
4948 lifeMax = 250;
4951 knockBackResist = 0.5f;
4952 }
4953 else if (type == 143)
4954 {
4955 width = 26;
4956 height = 40;
4957 aiStyle = 38;
4958 damage = 50;
4959 defense = 20;
4960 lifeMax = 200;
4963 knockBackResist = 0.6f;
4964 value = 400f;
4965 coldDamage = true;
4966 }
4967 else if (type == 144)
4968 {
4969 width = 26;
4970 height = 40;
4971 aiStyle = 38;
4972 damage = 65;
4973 defense = 26;
4974 lifeMax = 240;
4977 knockBackResist = 0.6f;
4978 value = 400f;
4979 coldDamage = true;
4980 }
4981 else if (type == 145)
4982 {
4983 width = 26;
4984 height = 40;
4985 aiStyle = 38;
4986 damage = 55;
4987 defense = 22;
4988 lifeMax = 220;
4991 knockBackResist = 0.6f;
4992 value = 400f;
4993 coldDamage = true;
4994 }
4995 else if (type == 147)
4996 {
4997 width = 24;
4998 height = 18;
4999 aiStyle = 1;
5000 damage = 8;
5001 defense = 4;
5002 lifeMax = 30;
5005 alpha = 50;
5006 value = 50f;
5007 coldDamage = true;
5008 }
5009 else if (type == 148)
5010 {
5011 width = 16;
5012 height = 34;
5013 aiStyle = 7;
5014 damage = 0;
5015 defense = 0;
5016 lifeMax = 5;
5019 catchItem = 2205;
5020 }
5021 else if (type == 149)
5022 {
5023 width = 16;
5024 height = 34;
5025 aiStyle = 7;
5026 damage = 0;
5027 defense = 0;
5028 lifeMax = 5;
5031 catchItem = 2205;
5032 }
5033 else if (type == 150)
5034 {
5035 npcSlots = 0.5f;
5036 width = 22;
5037 height = 22;
5038 aiStyle = 14;
5039 damage = 18;
5040 defense = 6;
5041 lifeMax = 30;
5043 knockBackResist = 0.8f;
5045 value = 250f;
5046 coldDamage = true;
5047 }
5048 else if (type == 151)
5049 {
5050 npcSlots = 0.5f;
5051 width = 22;
5052 height = 22;
5053 aiStyle = 14;
5054 damage = 50;
5055 defense = 16;
5056 lifeMax = 160;
5058 knockBackResist = 0.6f;
5060 value = 400f;
5061 scale = 1.15f;
5062 lavaImmune = true;
5063 }
5064 else if (type == 152)
5065 {
5066 npcSlots = 0.5f;
5067 width = 38;
5068 height = 34;
5069 aiStyle = 14;
5070 damage = 80;
5071 defense = 24;
5072 lifeMax = 220;
5074 knockBackResist = 0.65f;
5076 value = 400f;
5077 }
5078 else if (type == 153)
5079 {
5080 npcSlots = 2f;
5081 width = 46;
5082 height = 32;
5083 aiStyle = 39;
5084 damage = 80;
5085 defense = 30;
5086 lifeMax = 470;
5088 knockBackResist = 0.3f;
5090 value = 500f;
5091 noGravity = false;
5092 }
5093 else if (type == 154)
5094 {
5095 npcSlots = 1.5f;
5096 width = 46;
5097 height = 32;
5098 aiStyle = 39;
5099 damage = 55;
5100 defense = 28;
5101 lifeMax = 400;
5103 knockBackResist = 0.3f;
5105 value = 450f;
5106 noGravity = false;
5107 coldDamage = true;
5108 }
5109 else if (type == 155)
5110 {
5111 width = 46;
5112 height = 30;
5113 aiStyle = 26;
5114 damage = 65;
5115 defense = 30;
5116 lifeMax = 300;
5119 knockBackResist = 0.3f;
5120 value = 1000f;
5121 }
5122 else if (type == 156)
5123 {
5124 npcSlots = 2f;
5125 width = 28;
5126 height = 48;
5127 aiStyle = 14;
5128 damage = 50;
5129 defense = 40;
5130 lifeMax = 600;
5132 knockBackResist = 0.5f;
5134 value = 1200f;
5135 lavaImmune = true;
5136 }
5137 else if (type == 157)
5138 {
5139 npcSlots = 0.5f;
5140 noGravity = true;
5141 width = 74;
5142 height = 20;
5143 aiStyle = 16;
5144 damage = 75;
5145 defense = 30;
5146 lifeMax = 200;
5149 value = 500f;
5150 }
5151 else if (type == 160)
5152 {
5153 townNPC = true;
5154 friendly = true;
5155 width = 18;
5156 height = 40;
5157 aiStyle = 7;
5158 damage = 10;
5159 defense = 15;
5160 lifeMax = 250;
5163 knockBackResist = 0.5f;
5164 }
5165 else if (type == 161)
5166 {
5167 width = 18;
5168 height = 40;
5169 aiStyle = 3;
5170 damage = 16;
5171 defense = 8;
5172 lifeMax = 50;
5175 knockBackResist = 0.45f;
5176 value = 80f;
5177 }
5178 else if (type == 163)
5179 {
5180 width = 50;
5181 height = 20;
5182 aiStyle = 3;
5183 damage = 90;
5184 defense = 40;
5185 lifeMax = 350;
5188 knockBackResist = 0.25f;
5189 value = 500f;
5190 npcSlots = 0.5f;
5192 }
5193 else if (type == 238)
5194 {
5195 noGravity = true;
5196 width = 36;
5197 height = 36;
5198 aiStyle = 40;
5199 damage = 100;
5200 defense = 40;
5201 lifeMax = 350;
5204 knockBackResist = 0.25f;
5205 value = 500f;
5207 npcSlots = 0.5f;
5208 }
5209 else if (type == 164)
5210 {
5211 width = 50;
5212 height = 20;
5213 aiStyle = 3;
5214 damage = 30;
5215 defense = 10;
5216 lifeMax = 80;
5219 knockBackResist = 0.25f;
5220 value = 100f;
5222 npcSlots = 0.5f;
5223 }
5224 else if (type == 165)
5225 {
5226 noGravity = true;
5227 width = 36;
5228 height = 36;
5229 aiStyle = 40;
5230 damage = 30;
5231 defense = 10;
5232 lifeMax = 80;
5235 knockBackResist = 0.25f;
5236 value = 100f;
5238 npcSlots = 0.5f;
5239 }
5240 else if (type == 167)
5241 {
5242 width = 18;
5243 height = 40;
5244 aiStyle = 3;
5245 damage = 24;
5246 defense = 10;
5247 lifeMax = 70;
5250 knockBackResist = 0.5f;
5251 value = 200f;
5252 }
5253 else if (type == 168)
5254 {
5255 width = 16;
5256 height = 34;
5257 aiStyle = 3;
5258 damage = 20;
5259 defense = 4;
5260 lifeMax = 70;
5263 value = 500f;
5264 }
5265 else if (type == 169)
5266 {
5267 noGravity = true;
5268 width = 18;
5269 height = 40;
5270 aiStyle = 22;
5271 damage = 55;
5272 defense = 20;
5273 lifeMax = 200;
5275 knockBackResist = 0.6f;
5277 value = 1500f;
5278 coldDamage = true;
5279 }
5280 else if (type == 170)
5281 {
5282 width = 44;
5283 height = 36;
5284 aiStyle = 2;
5285 damage = 70;
5286 defense = 16;
5287 lifeMax = 210;
5290 knockBackResist = 0.5f;
5291 value = 2000f;
5292 }
5293 else if (type == 171)
5294 {
5295 width = 44;
5296 height = 36;
5297 aiStyle = 2;
5298 damage = 70;
5299 defense = 16;
5300 lifeMax = 210;
5303 knockBackResist = 0.5f;
5304 value = 2000f;
5305 }
5306 else if (type == 172)
5307 {
5308 width = 18;
5309 height = 40;
5310 aiStyle = 8;
5311 damage = 200;
5312 defense = 30;
5313 lifeMax = 600;
5316 knockBackResist = 0.3f;
5317 value = 5000f;
5318 rarity = 4;
5319 }
5320 else if (type == 173)
5321 {
5322 npcSlots = 1f;
5323 width = 30;
5324 height = 30;
5325 aiStyle = 5;
5326 damage = 22;
5327 defense = 8;
5328 lifeMax = 40;
5331 noGravity = true;
5332 knockBackResist = 0.5f;
5333 value = 90f;
5334 if (Main.remixWorld)
5335 {
5336 scale *= 1.3f;
5337 damage = (int)((float)damage * scale);
5338 defense = (int)((float)defense * scale);
5339 lifeMax = (int)((float)lifeMax * scale);
5340 value = (int)(value * scale);
5341 }
5342 }
5343 else if (type == 174)
5344 {
5345 npcSlots = 1f;
5346 width = 52;
5347 height = 26;
5348 aiStyle = 41;
5349 damage = 65;
5350 defense = 26;
5351 lifeMax = 220;
5354 knockBackResist = 0.3f;
5355 value = 450f;
5356 }
5357 else if (type == 175)
5358 {
5359 noGravity = true;
5360 noTileCollide = true;
5361 width = 30;
5362 height = 30;
5363 aiStyle = 13;
5364 damage = 100;
5365 defense = 30;
5366 lifeMax = 300;
5368 knockBackResist = 0.25f;
5370 value = 650f;
5371 }
5372 else if (type == 176)
5373 {
5374 width = 34;
5375 height = 32;
5376 aiStyle = 5;
5377 damage = 70;
5378 defense = 22;
5379 lifeMax = 220;
5381 knockBackResist = 0.5f;
5383 value = 600f;
5384 noGravity = true;
5385 npcSlots = 1.5f;
5386 }
5387 else if (type == 177)
5388 {
5389 npcSlots = 1f;
5390 width = 58;
5391 height = 44;
5392 aiStyle = 41;
5393 damage = 80;
5394 defense = 26;
5395 lifeMax = 300;
5398 knockBackResist = 0.5f;
5399 value = 500f;
5400 }
5401 else if (type == 178)
5402 {
5403 townNPC = true;
5404 friendly = true;
5405 width = 18;
5406 height = 40;
5407 aiStyle = 7;
5408 damage = 10;
5409 defense = 15;
5410 lifeMax = 250;
5413 knockBackResist = 0.5f;
5414 }
5415 else if (type == 179)
5416 {
5417 width = 40;
5418 height = 40;
5419 aiStyle = 23;
5420 damage = 80;
5421 defense = 18;
5422 lifeMax = 200;
5425 value = 1000f;
5426 knockBackResist = 0.4f;
5427 }
5428 else if (type == 180)
5429 {
5430 width = 44;
5431 height = 36;
5432 aiStyle = 2;
5433 damage = 70;
5434 defense = 16;
5435 lifeMax = 210;
5438 knockBackResist = 0.5f;
5439 value = 2000f;
5440 }
5441 else if (type == 181)
5442 {
5443 width = 18;
5444 height = 44;
5445 aiStyle = 3;
5446 damage = 25;
5447 defense = 10;
5448 lifeMax = 70;
5451 knockBackResist = 0.4f;
5452 value = 200f;
5453 if (Main.remixWorld)
5454 {
5455 scale *= 1.1f;
5456 damage = (int)((double)((float)damage * scale) * 1.2);
5457 defense = (int)((double)((float)defense * scale) * 1.2);
5458 lifeMax = (int)((double)((float)lifeMax * scale) * 1.2);
5459 value = (int)((double)(value * scale) * 1.2);
5460 }
5461 }
5462 else if (type == 182)
5463 {
5464 noGravity = true;
5465 noTileCollide = true;
5466 width = 24;
5467 height = 62;
5468 aiStyle = 22;
5469 damage = 65;
5470 defense = 18;
5471 lifeMax = 240;
5474 alpha = 100;
5475 value = 500f;
5476 knockBackResist = 0.7f;
5477 }
5478 else if (type == 183)
5479 {
5480 width = 40;
5481 height = 30;
5482 aiStyle = 1;
5483 damage = 60;
5484 defense = 26;
5485 lifeMax = 200;
5488 alpha = 55;
5489 value = 400f;
5490 scale = 1.1f;
5491 }
5492 else if (type == 184)
5493 {
5494 width = 24;
5495 height = 18;
5496 aiStyle = 1;
5497 damage = 12;
5498 defense = 8;
5499 lifeMax = 60;
5500 scale = 1.1f;
5503 alpha = 50;
5504 value = 200f;
5505 coldDamage = true;
5506 }
5507 else if (type == 185)
5508 {
5509 width = 28;
5510 height = 28;
5511 aiStyle = 3;
5512 damage = 26;
5513 defense = 12;
5514 lifeMax = 70;
5517 knockBackResist = 1.1f;
5518 value = 200f;
5519 coldDamage = true;
5520 }
5521 else if (type == 186)
5522 {
5523 width = 18;
5524 height = 40;
5525 aiStyle = 3;
5526 damage = 16;
5527 defense = 8;
5528 lifeMax = 50;
5531 knockBackResist = 0.45f;
5532 value = 65f;
5533 }
5534 else if (type == 187)
5535 {
5536 width = 18;
5537 height = 40;
5538 aiStyle = 3;
5539 damage = 13;
5540 defense = 6;
5541 lifeMax = 40;
5544 knockBackResist = 0.55f;
5545 value = 55f;
5546 }
5547 else if (type == 188)
5548 {
5549 width = 18;
5550 height = 40;
5551 aiStyle = 3;
5552 damage = 13;
5553 defense = 8;
5554 lifeMax = 45;
5557 knockBackResist = 0.45f;
5558 value = 80f;
5559 }
5560 else if (type == 189)
5561 {
5562 width = 18;
5563 height = 40;
5564 aiStyle = 3;
5565 damage = 16;
5566 defense = 4;
5567 lifeMax = 45;
5570 knockBackResist = 0.55f;
5571 value = 70f;
5572 }
5573 else if (type == 190)
5574 {
5575 width = 30;
5576 height = 32;
5577 aiStyle = 2;
5578 damage = 18;
5579 defense = 4;
5580 lifeMax = 65;
5582 knockBackResist = 0.7f;
5584 value = 75f;
5585 }
5586 else if (type == 191)
5587 {
5588 width = 30;
5589 height = 32;
5590 aiStyle = 2;
5591 damage = 16;
5592 defense = 2;
5593 lifeMax = 60;
5595 knockBackResist = 0.85f;
5597 value = 75f;
5598 }
5599 else if (type == 192)
5600 {
5601 width = 30;
5602 height = 32;
5603 aiStyle = 2;
5604 damage = 18;
5605 defense = 2;
5606 lifeMax = 50;
5608 knockBackResist = 0.8f;
5610 value = 75f;
5611 }
5612 else if (type == 193)
5613 {
5614 width = 30;
5615 height = 32;
5616 aiStyle = 2;
5617 damage = 20;
5618 defense = 0;
5619 lifeMax = 60;
5621 knockBackResist = 0.8f;
5623 value = 75f;
5624 }
5625 else if (type == 194)
5626 {
5627 width = 30;
5628 height = 32;
5629 aiStyle = 2;
5630 damage = 14;
5631 defense = 4;
5632 lifeMax = 60;
5634 knockBackResist = 0.8f;
5636 value = 75f;
5637 }
5638 else if (type == 195)
5639 {
5640 width = 18;
5641 height = 40;
5642 aiStyle = 42;
5643 damage = 10;
5644 defense = 30;
5645 lifeMax = 250;
5648 knockBackResist = 0.5f;
5649 rarity = 2;
5650 value = Item.buyPrice(0, 2);
5651 }
5652 else if (type == 196)
5653 {
5654 width = 18;
5655 height = 40;
5656 aiStyle = 3;
5657 damage = 35;
5658 defense = 16;
5659 lifeMax = 300;
5662 knockBackResist = 0.4f;
5663 value = Item.buyPrice(0, 2);
5664 rarity = 2;
5665 }
5666 else if (type == 197)
5667 {
5668 width = 18;
5669 height = 40;
5670 aiStyle = 3;
5671 damage = 50;
5672 defense = 28;
5673 lifeMax = 280;
5676 knockBackResist = 0.45f;
5677 value = 500f;
5678 }
5679 else if (type == 198)
5680 {
5681 width = 18;
5682 height = 40;
5683 aiStyle = 3;
5684 damage = 38;
5685 defense = 20;
5686 lifeMax = 400;
5689 knockBackResist = 0.4f;
5690 value = 650f;
5691 }
5692 else if (type == 199)
5693 {
5694 width = 42;
5695 height = 30;
5696 aiStyle = 3;
5697 damage = 60;
5698 defense = 30;
5699 lifeMax = 400;
5702 knockBackResist = 0f;
5703 value = 650f;
5704 }
5705 else if (type == 200)
5706 {
5707 width = 18;
5708 height = 40;
5709 aiStyle = 3;
5710 damage = 12;
5711 defense = 4;
5712 lifeMax = 38;
5715 knockBackResist = 0.6f;
5716 value = 65f;
5717 }
5718 else if (type == 201)
5719 {
5720 width = 18;
5721 height = 40;
5722 aiStyle = 3;
5723 damage = 20;
5724 defense = 12;
5725 lifeMax = 55;
5728 knockBackResist = 0.5f;
5729 value = 130f;
5730 }
5731 else if (type == 202)
5732 {
5733 width = 18;
5734 height = 40;
5735 aiStyle = 3;
5736 damage = 18;
5737 defense = 8;
5738 lifeMax = 65;
5741 knockBackResist = 0.5f;
5742 value = 120f;
5743 }
5744 else if (type == 203)
5745 {
5746 width = 18;
5747 height = 40;
5748 aiStyle = 3;
5749 damage = 22;
5750 defense = 8;
5751 lifeMax = 60;
5754 knockBackResist = 0.5f;
5755 value = 110f;
5756 }
5757 else if (type == 204)
5758 {
5759 width = 24;
5760 height = 18;
5761 aiStyle = 1;
5762 damage = 28;
5763 defense = 8;
5764 lifeMax = 65;
5765 scale = 1.15f;
5768 alpha = 50;
5769 value = 300f;
5770 }
5771 else if (type == 205)
5772 {
5773 width = 40;
5774 height = 40;
5775 aiStyle = 5;
5776 damage = 70;
5777 defense = 28;
5778 lifeMax = 1000;
5780 knockBackResist = 0.4f;
5782 value = 600f;
5783 noGravity = true;
5784 rarity = 2;
5785 }
5786 else if (type == 206)
5787 {
5788 width = 18;
5789 height = 40;
5790 aiStyle = 3;
5791 damage = 60;
5792 defense = 30;
5793 lifeMax = 280;
5796 knockBackResist = 0.5f;
5797 value = 500f;
5798 coldDamage = true;
5799 }
5800 else if (type == 207)
5801 {
5802 townNPC = true;
5803 friendly = true;
5804 width = 18;
5805 height = 40;
5806 aiStyle = 7;
5807 damage = 10;
5808 defense = 15;
5809 lifeMax = 250;
5812 knockBackResist = 0.5f;
5813 }
5814 else if (type == 208)
5815 {
5816 townNPC = true;
5817 friendly = true;
5818 width = 18;
5819 height = 40;
5820 aiStyle = 7;
5821 damage = 10;
5822 defense = 15;
5823 lifeMax = 250;
5826 knockBackResist = 0.5f;
5827 }
5828 else if (type == 209)
5829 {
5830 townNPC = true;
5831 friendly = true;
5832 width = 18;
5833 height = 40;
5834 aiStyle = 7;
5835 damage = 10;
5836 defense = 15;
5837 lifeMax = 250;
5840 knockBackResist = 0.5f;
5841 }
5842 else if (type == 210)
5843 {
5844 width = 12;
5845 height = 12;
5846 aiStyle = 5;
5847 damage = 20;
5848 defense = 5;
5849 lifeMax = 20;
5851 knockBackResist = 0.5f;
5853 noGravity = true;
5854 }
5855 else if (type == 211)
5856 {
5857 width = 8;
5858 height = 8;
5859 aiStyle = 5;
5860 damage = 15;
5861 defense = 2;
5862 lifeMax = 10;
5864 knockBackResist = 0.5f;
5866 noGravity = true;
5867 }
5868 else if (type == 212)
5869 {
5870 width = 18;
5871 height = 40;
5872 aiStyle = 3;
5873 damage = 35;
5874 defense = 17;
5875 lifeMax = 300;
5878 knockBackResist = 0.4f;
5879 value = 700f;
5880 }
5881 else if (type == 213)
5882 {
5883 width = 18;
5884 height = 40;
5885 aiStyle = 3;
5886 damage = 50;
5887 defense = 22;
5888 lifeMax = 450;
5891 knockBackResist = 0.2f;
5892 value = 1000f;
5893 }
5894 else if (type == 214)
5895 {
5896 width = 18;
5897 height = 40;
5898 aiStyle = 3;
5899 damage = 30;
5900 defense = 14;
5901 lifeMax = 225;
5904 knockBackResist = 0.3f;
5905 value = 1000f;
5906 }
5907 else if (type == 215)
5908 {
5909 width = 18;
5910 height = 40;
5911 aiStyle = 3;
5912 damage = 35;
5913 defense = 20;
5914 lifeMax = 350;
5917 knockBackResist = 0.35f;
5918 value = 1500f;
5919 }
5920 else if (type == 216)
5921 {
5922 width = 18;
5923 height = 40;
5924 aiStyle = 3;
5925 damage = 70;
5926 defense = 30;
5927 lifeMax = 3000;
5930 knockBackResist = 0f;
5931 value = 50000f;
5932 rarity = 1;
5933 }
5934 else if (type == 217)
5935 {
5936 width = 28;
5937 height = 20;
5938 aiStyle = 3;
5939 damage = 20;
5940 defense = 10;
5941 lifeMax = 40;
5944 value = 60f;
5945 rarity = 1;
5946 }
5947 else if (type == 218)
5948 {
5949 width = 28;
5950 height = 20;
5951 aiStyle = 3;
5952 damage = 20;
5953 defense = 10;
5954 lifeMax = 40;
5957 value = 60f;
5958 rarity = 1;
5959 }
5960 else if (type == 219)
5961 {
5962 width = 28;
5963 height = 20;
5964 aiStyle = 3;
5965 damage = 20;
5966 defense = 10;
5967 lifeMax = 40;
5970 value = 60f;
5971 rarity = 1;
5972 }
5973 else if (type == 220)
5974 {
5975 width = 28;
5976 height = 20;
5977 aiStyle = 3;
5978 damage = 20;
5979 defense = 10;
5980 lifeMax = 40;
5983 value = 60f;
5984 rarity = 2;
5985 }
5986 else if (type == 221)
5987 {
5988 noGravity = true;
5989 width = 26;
5990 height = 26;
5991 aiStyle = 18;
5992 damage = 20;
5993 defense = 2;
5994 lifeMax = 30;
5997 value = 100f;
5998 alpha = 20;
5999 rarity = 1;
6000 }
6001 else if (type == 222)
6002 {
6003 width = 66;
6004 height = 66;
6005 aiStyle = 43;
6006 damage = 30;
6007 defense = 8;
6008 lifeMax = 3400;
6011 knockBackResist = 0f;
6012 noGravity = true;
6013 noTileCollide = true;
6015 boss = true;
6016 value = 50000f;
6017 npcSlots = 7f;
6018 }
6019 else if (type == 223)
6020 {
6021 width = 18;
6022 height = 40;
6023 aiStyle = 3;
6024 damage = 16;
6025 defense = 8;
6026 lifeMax = 50;
6029 knockBackResist = 0.45f;
6030 value = 70f;
6031 }
6032 else if (type == 224)
6033 {
6034 width = 32;
6035 height = 18;
6036 aiStyle = 44;
6037 damage = 9;
6038 defense = 4;
6039 lifeMax = 20;
6041 knockBackResist = 0.8f;
6043 value = 300f;
6044 }
6045 if (type == 225)
6046 {
6047 width = 38;
6048 height = 26;
6049 aiStyle = 1;
6050 damage = 10;
6051 defense = 5;
6052 lifeMax = 35;
6055 knockBackResist = 0.75f;
6056 value = 200f;
6057 }
6058 else if (type == 226)
6059 {
6060 npcSlots = 0.5f;
6061 width = 34;
6062 height = 50;
6063 aiStyle = 14;
6064 damage = 85;
6065 defense = 28;
6066 lifeMax = 260;
6068 knockBackResist = 0.65f;
6070 value = 400f;
6071 }
6072 else if (type == 227)
6073 {
6074 townNPC = true;
6075 friendly = true;
6076 width = 18;
6077 height = 40;
6078 aiStyle = 7;
6079 damage = 10;
6080 defense = 15;
6081 lifeMax = 250;
6084 knockBackResist = 0.5f;
6085 }
6086 else if (type == 228)
6087 {
6088 townNPC = true;
6089 friendly = true;
6090 width = 18;
6091 height = 40;
6092 aiStyle = 7;
6093 damage = 10;
6094 defense = 15;
6095 lifeMax = 250;
6098 knockBackResist = 0.5f;
6099 }
6100 else if (type == 229)
6101 {
6102 townNPC = true;
6103 friendly = true;
6104 width = 18;
6105 height = 40;
6106 aiStyle = 7;
6107 damage = 10;
6108 defense = 15;
6109 lifeMax = 250;
6112 knockBackResist = 0.5f;
6113 }
6114 else if (type == 230)
6115 {
6116 width = 18;
6117 height = 20;
6118 aiStyle = 7;
6119 damage = 0;
6120 defense = 0;
6121 lifeMax = 5;
6124 catchItem = 261;
6125 }
6126 else if (type == 231)
6127 {
6128 width = 34;
6129 height = 32;
6130 aiStyle = 5;
6131 damage = 22;
6132 defense = 16;
6133 lifeMax = 50;
6135 knockBackResist = 0.3f;
6137 value = 200f;
6138 noGravity = true;
6139 }
6140 else if (type == 232)
6141 {
6142 width = 34;
6143 height = 32;
6144 aiStyle = 5;
6145 damage = 28;
6146 defense = 12;
6147 lifeMax = 42;
6149 knockBackResist = 0.6f;
6151 value = 200f;
6152 noGravity = true;
6153 }
6154 else if (type == 233)
6155 {
6156 width = 34;
6157 height = 32;
6158 aiStyle = 5;
6159 damage = 30;
6160 defense = 14;
6161 lifeMax = 38;
6163 knockBackResist = 0.45f;
6165 value = 200f;
6166 noGravity = true;
6167 }
6168 else if (type == 234)
6169 {
6170 width = 34;
6171 height = 32;
6172 aiStyle = 5;
6173 damage = 32;
6174 defense = 6;
6175 lifeMax = 42;
6177 knockBackResist = 0.55f;
6179 value = 200f;
6180 noGravity = true;
6181 }
6182 else if (type == 235)
6183 {
6184 width = 34;
6185 height = 32;
6186 aiStyle = 5;
6187 damage = 34;
6188 defense = 4;
6189 lifeMax = 38;
6191 knockBackResist = 0.6f;
6193 value = 200f;
6194 noGravity = true;
6195 }
6196 else if (type == 236)
6197 {
6198 width = 50;
6199 height = 20;
6200 aiStyle = 3;
6201 damage = 100;
6202 defense = 28;
6203 lifeMax = 400;
6206 knockBackResist = 0.25f;
6207 value = 1000f;
6209 npcSlots = 0.75f;
6210 }
6211 else if (type == 237)
6212 {
6213 noGravity = true;
6214 width = 36;
6215 height = 36;
6216 aiStyle = 40;
6217 damage = 100;
6218 defense = 28;
6219 lifeMax = 400;
6222 knockBackResist = 0.25f;
6223 value = 1000f;
6225 npcSlots = 0.75f;
6226 }
6227 else if (type == 239)
6228 {
6229 width = 50;
6230 height = 20;
6231 aiStyle = 3;
6232 damage = 30;
6233 defense = 8;
6234 lifeMax = 60;
6237 knockBackResist = 0.5f;
6238 value = 130f;
6240 }
6241 else if (type == 240)
6242 {
6243 noGravity = true;
6244 width = 36;
6245 height = 36;
6246 aiStyle = 40;
6247 damage = 30;
6248 defense = 8;
6249 lifeMax = 60;
6252 knockBackResist = 0.5f;
6253 value = 130f;
6255 }
6256 else if (type == 241)
6257 {
6258 npcSlots = 0.5f;
6259 noGravity = true;
6260 width = 18;
6261 height = 20;
6262 aiStyle = 16;
6263 damage = 50;
6264 defense = 20;
6265 lifeMax = 150;
6268 value = 500f;
6269 }
6270 else if (type == 242)
6271 {
6272 noGravity = true;
6273 width = 26;
6274 height = 26;
6275 aiStyle = 18;
6276 damage = 75;
6277 defense = 20;
6278 lifeMax = 150;
6281 value = 800f;
6282 alpha = 20;
6283 }
6284 else if (type == 243)
6285 {
6286 width = 30;
6287 height = 114;
6288 aiStyle = 3;
6289 damage = 60;
6290 defense = 32;
6291 lifeMax = 4000;
6294 knockBackResist = 0.05f;
6295 value = Item.buyPrice(0, 1, 50);
6296 coldDamage = true;
6297 rarity = 2;
6298 }
6299 else if (type == 244)
6300 {
6301 width = 60;
6302 height = 42;
6303 aiStyle = 1;
6304 damage = 85;
6305 defense = 26;
6306 lifeMax = 400;
6309 alpha = 175;
6310 value = Item.buyPrice(0, 0, 20);
6311 knockBackResist = 0.3f;
6312 rarity = 1;
6313 }
6314 else if (type == 245)
6315 {
6316 width = 140;
6317 height = 140;
6318 aiStyle = 45;
6319 damage = 72;
6320 defense = 26;
6321 lifeMax = 15000;
6324 knockBackResist = 0f;
6325 value = Item.buyPrice(0, 15);
6326 alpha = 255;
6327 boss = true;
6328 npcSlots = 5f;
6329 }
6330 else if (type == 246)
6331 {
6332 noGravity = true;
6333 width = 70;
6334 height = 70;
6335 aiStyle = 46;
6336 damage = 64;
6337 defense = 20;
6338 lifeMax = 25000;
6340 DeathSound = null;
6341 knockBackResist = 0f;
6342 alpha = 255;
6343 }
6344 else if (type == 247 || type == 248)
6345 {
6346 noGravity = true;
6347 width = 40;
6348 height = 30;
6349 aiStyle = 47;
6350 damage = 59;
6351 defense = 28;
6352 lifeMax = 10000;
6355 alpha = 255;
6356 knockBackResist = 0f;
6357 }
6358 else if (type == 249)
6359 {
6360 noGravity = true;
6361 width = 70;
6362 height = 70;
6363 aiStyle = 48;
6364 damage = 80;
6365 defense = 32;
6366 lifeMax = 16000;
6369 knockBackResist = 0f;
6370 dontTakeDamage = true;
6371 }
6372 else if (type == 250)
6373 {
6374 width = 34;
6375 height = 26;
6376 aiStyle = 49;
6377 damage = 50;
6378 defense = 24;
6379 lifeMax = 300;
6382 knockBackResist = 0.3f;
6383 value = 300f;
6384 }
6385 else if (type == 251)
6386 {
6387 width = 18;
6388 height = 40;
6389 aiStyle = 3;
6390 damage = 50;
6391 defense = 30;
6392 lifeMax = 1000;
6395 knockBackResist = 0.3f;
6396 value = Item.buyPrice(0, 0, 50);
6397 rarity = 2;
6398 }
6399 else if (type == 252)
6400 {
6401 noGravity = true;
6402 npcSlots = 0.5f;
6403 width = 32;
6404 height = 32;
6405 aiStyle = 5;
6406 damage = 80;
6407 defense = 12;
6408 lifeMax = 100;
6410 knockBackResist = 0.7f;
6412 value = 500f;
6413 }
6414 else if (type == 254)
6415 {
6416 width = 18;
6417 height = 40;
6418 aiStyle = 3;
6419 damage = 40;
6420 defense = 10;
6421 lifeMax = 180;
6424 knockBackResist = 0.4f;
6425 value = 1000f;
6426 }
6427 else if (type == 255)
6428 {
6429 width = 18;
6430 height = 40;
6431 aiStyle = 3;
6432 damage = 38;
6433 defense = 16;
6434 lifeMax = 220;
6437 knockBackResist = 0.3f;
6438 value = 1200f;
6439 }
6440 else if (type == 256)
6441 {
6442 noGravity = true;
6443 width = 26;
6444 height = 26;
6445 aiStyle = 18;
6446 damage = 90;
6447 defense = 20;
6448 lifeMax = 140;
6451 value = 1200f;
6452 alpha = 20;
6453 npcSlots = 0.3f;
6454 }
6455 else if (type == 257)
6456 {
6457 width = 44;
6458 height = 34;
6459 aiStyle = 3;
6460 damage = 38;
6461 defense = 24;
6462 lifeMax = 230;
6465 knockBackResist = 0.3f;
6466 value = 1300f;
6467 npcSlots = 0.3f;
6468 }
6469 else if (type == 258)
6470 {
6471 width = 30;
6472 height = 24;
6473 aiStyle = 3;
6474 damage = 60;
6475 defense = 16;
6476 lifeMax = 220;
6479 knockBackResist = 0.3f;
6480 value = 1500f;
6481 npcSlots = 0.3f;
6482 }
6483 else if (type == 259)
6484 {
6485 noGravity = true;
6486 noTileCollide = true;
6487 width = 20;
6488 height = 20;
6489 aiStyle = 13;
6490 damage = 24;
6491 defense = 4;
6492 lifeMax = 90;
6494 knockBackResist = 0f;
6496 value = 350f;
6497 npcSlots = 0.3f;
6498 }
6499 else if (type == 260)
6500 {
6501 noGravity = true;
6502 noTileCollide = true;
6503 width = 36;
6504 height = 36;
6505 aiStyle = 13;
6506 damage = 70;
6507 defense = 20;
6508 lifeMax = 300;
6510 knockBackResist = 0f;
6512 value = 1250f;
6513 npcSlots = 0.3f;
6514 }
6515 else if (type == 261)
6516 {
6517 width = 12;
6518 height = 12;
6519 aiStyle = 50;
6520 damage = 80;
6521 defense = 0;
6522 lifeMax = 1;
6525 noGravity = true;
6526 noTileCollide = true;
6527 knockBackResist = 0f;
6528 npcSlots = 0f;
6529 }
6530 else if (type == 262)
6531 {
6532 noTileCollide = true;
6533 width = 86;
6534 height = 86;
6535 aiStyle = 51;
6536 damage = 50;
6537 defense = 14;
6538 lifeMax = 30000;
6541 knockBackResist = 0f;
6542 value = Item.buyPrice(0, 15);
6543 noGravity = true;
6544 boss = true;
6545 npcSlots = 16f;
6546 }
6547 else if (type == 263)
6548 {
6549 noTileCollide = true;
6550 noGravity = true;
6551 width = 40;
6552 height = 40;
6553 aiStyle = 52;
6554 damage = 60;
6555 defense = 24;
6556 lifeMax = 4000;
6557 dontTakeDamage = true;
6560 }
6561 else if (type == 264)
6562 {
6563 width = 24;
6564 height = 24;
6565 aiStyle = 53;
6566 damage = 60;
6567 defense = 20;
6568 lifeMax = 1000;
6571 noGravity = true;
6572 noTileCollide = true;
6573 }
6574 else if (type == 265)
6575 {
6576 width = 18;
6577 height = 18;
6578 aiStyle = 50;
6579 damage = 70;
6580 defense = 0;
6581 lifeMax = 1;
6584 noGravity = true;
6585 noTileCollide = true;
6586 knockBackResist = 0f;
6587 npcSlots = 0f;
6588 }
6589 else if (type == 266)
6590 {
6591 dontTakeDamage = true;
6592 width = 160;
6593 height = 110;
6594 aiStyle = 54;
6595 damage = 30;
6596 defense = 14;
6597 lifeMax = 1250;
6600 knockBackResist = 0.45f;
6601 noGravity = true;
6602 noTileCollide = true;
6604 boss = true;
6605 value = 50000f;
6606 npcSlots = 6f;
6607 }
6608 else if (type == 267)
6609 {
6610 width = 30;
6611 height = 30;
6612 aiStyle = 55;
6613 damage = 20;
6614 defense = 10;
6615 lifeMax = 100;
6618 noGravity = true;
6619 noTileCollide = true;
6620 knockBackResist = 0.8f;
6621 }
6622 else if (type == 268)
6623 {
6624 noGravity = true;
6625 width = 28;
6626 height = 56;
6627 aiStyle = 22;
6628 damage = 55;
6629 defense = 20;
6630 lifeMax = 340;
6633 knockBackResist = 0.6f;
6634 value = 450f;
6635 }
6636 else if (type == 269)
6637 {
6638 width = 18;
6639 height = 40;
6640 aiStyle = 3;
6641 damage = 70;
6642 defense = 34;
6643 lifeMax = 550;
6646 knockBackResist = 0.3f;
6647 value = 1000f;
6648 }
6649 else if (type == 270)
6650 {
6651 width = 18;
6652 height = 40;
6653 aiStyle = 3;
6654 damage = 55;
6655 defense = 50;
6656 lifeMax = 400;
6659 knockBackResist = 0.2f;
6660 value = 1000f;
6661 }
6662 else if (type == 271)
6663 {
6664 width = 18;
6665 height = 40;
6666 aiStyle = 3;
6667 damage = 70;
6668 defense = 40;
6669 lifeMax = 450;
6672 knockBackResist = 0.25f;
6673 value = 1000f;
6674 }
6675 else if (type == 272)
6676 {
6677 width = 18;
6678 height = 40;
6679 aiStyle = 3;
6680 damage = 75;
6681 defense = 28;
6682 lifeMax = 400;
6685 knockBackResist = 0.35f;
6686 value = 1000f;
6687 }
6688 else if (type == 273)
6689 {
6690 width = 18;
6691 height = 40;
6692 aiStyle = 3;
6693 damage = 45;
6694 defense = 50;
6695 lifeMax = 500;
6698 knockBackResist = 0.15f;
6699 value = 1000f;
6700 }
6701 else if (type == 274)
6702 {
6703 width = 18;
6704 height = 40;
6705 aiStyle = 3;
6706 damage = 65;
6707 defense = 34;
6708 lifeMax = 350;
6711 knockBackResist = 0.4f;
6712 value = 1000f;
6713 }
6714 else if (type == 275)
6715 {
6716 width = 18;
6717 height = 40;
6718 aiStyle = 3;
6719 damage = 45;
6720 defense = 50;
6721 lifeMax = 550;
6724 knockBackResist = 0.15f;
6725 value = 1000f;
6726 }
6727 else if (type == 276)
6728 {
6729 width = 18;
6730 height = 40;
6731 aiStyle = 3;
6732 damage = 85;
6733 defense = 54;
6734 lifeMax = 500;
6737 knockBackResist = 0.2f;
6738 value = 1000f;
6739 }
6740 else if (type == 277)
6741 {
6742 width = 18;
6743 height = 40;
6744 aiStyle = 3;
6745 damage = 70;
6746 defense = 32;
6747 lifeMax = 400;
6750 knockBackResist = 0.4f;
6751 value = 1000f;
6752 }
6753 else if (type == 278)
6754 {
6755 width = 18;
6756 height = 40;
6757 aiStyle = 3;
6758 damage = 65;
6759 defense = 48;
6760 lifeMax = 450;
6763 knockBackResist = 0.3f;
6764 value = 1000f;
6765 }
6766 else if (type == 279)
6767 {
6768 width = 18;
6769 height = 40;
6770 aiStyle = 3;
6771 damage = 40;
6772 defense = 54;
6773 lifeMax = 500;
6776 knockBackResist = 0.2f;
6777 value = 1000f;
6778 }
6779 else if (type == 280)
6780 {
6781 width = 18;
6782 height = 40;
6783 aiStyle = 3;
6784 damage = 75;
6785 defense = 34;
6786 lifeMax = 500;
6789 knockBackResist = 0.4f;
6790 value = 1000f;
6791 }
6792 else if (type == 281)
6793 {
6794 width = 18;
6795 height = 40;
6796 aiStyle = 8;
6797 damage = 40;
6798 defense = 20;
6799 lifeMax = 400;
6802 knockBackResist = 0.6f;
6803 value = 1500f;
6804 npcSlots = 2f;
6805 }
6806 else if (type == 282)
6807 {
6808 width = 18;
6809 height = 40;
6810 aiStyle = 8;
6811 damage = 35;
6812 defense = 28;
6813 lifeMax = 450;
6816 knockBackResist = 0.5f;
6817 value = 1500f;
6818 npcSlots = 2f;
6819 }
6820 else if (type == 283)
6821 {
6822 width = 18;
6823 height = 40;
6824 aiStyle = 8;
6825 damage = 50;
6826 defense = 18;
6827 lifeMax = 300;
6830 knockBackResist = 0.55f;
6831 value = 1500f;
6832 npcSlots = 2f;
6833 }
6834 else if (type == 284)
6835 {
6836 width = 18;
6837 height = 40;
6838 aiStyle = 8;
6839 damage = 35;
6840 defense = 24;
6841 lifeMax = 450;
6844 knockBackResist = 0.5f;
6845 value = 1500f;
6846 npcSlots = 2f;
6847 }
6848 else if (type == 285)
6849 {
6850 width = 18;
6851 height = 40;
6852 aiStyle = 8;
6853 damage = 50;
6854 defense = 12;
6855 lifeMax = 200;
6858 knockBackResist = 0.7f;
6859 value = 1500f;
6860 npcSlots = 2f;
6861 }
6862 else if (type == 286)
6863 {
6864 width = 18;
6865 height = 40;
6866 aiStyle = 8;
6867 damage = 60;
6868 defense = 10;
6869 lifeMax = 250;
6872 knockBackResist = 0.65f;
6873 value = 1500f;
6874 npcSlots = 2f;
6875 }
6876 else if (type == 287)
6877 {
6878 width = 18;
6879 height = 40;
6880 aiStyle = 3;
6881 damage = 90;
6882 defense = 42;
6883 lifeMax = 1000;
6886 knockBackResist = 0.3f;
6887 value = 2000f;
6888 rarity = 1;
6889 }
6890 else if (type == 288)
6891 {
6892 width = 20;
6893 height = 20;
6894 aiStyle = 56;
6895 damage = 70;
6896 defense = 30;
6897 lifeMax = 200;
6898 knockBackResist = 0.2f;
6901 value = 500f;
6902 noTileCollide = true;
6903 noGravity = true;
6904 }
6905 else if (type == 289)
6906 {
6907 width = 44;
6908 height = 44;
6909 aiStyle = 10;
6910 damage = 60;
6911 defense = 20;
6912 lifeMax = 400;
6915 noGravity = true;
6916 noTileCollide = true;
6917 value = 150f;
6918 knockBackResist = 0.2f;
6919 npcSlots = 0.75f;
6920 }
6921 else if (type == 290)
6922 {
6923 width = 34;
6924 height = 62;
6925 aiStyle = 3;
6926 damage = 100;
6927 defense = 50;
6928 lifeMax = 5000;
6931 knockBackResist = 0f;
6932 value = 50000f;
6933 rarity = 2;
6934 }
6935 else if (type == 291)
6936 {
6937 width = 18;
6938 height = 40;
6939 aiStyle = 3;
6940 damage = 60;
6941 defense = 28;
6942 lifeMax = 400;
6945 knockBackResist = 0.4f;
6946 value = 1000f;
6947 rarity = 1;
6948 }
6949 else if (type == 292)
6950 {
6951 width = 18;
6952 height = 40;
6953 aiStyle = 3;
6954 damage = 60;
6955 defense = 28;
6956 lifeMax = 400;
6959 knockBackResist = 0.4f;
6960 value = 1000f;
6961 rarity = 1;
6962 }
6963 else if (type == 293)
6964 {
6965 width = 18;
6966 height = 40;
6967 aiStyle = 3;
6968 damage = 60;
6969 defense = 28;
6970 lifeMax = 400;
6973 knockBackResist = 0.4f;
6974 value = 1000f;
6975 rarity = 1;
6976 }
6977 else if (type == 294)
6978 {
6979 width = 18;
6980 height = 40;
6981 aiStyle = 3;
6982 damage = 34;
6983 defense = 6;
6984 lifeMax = 70;
6987 knockBackResist = 0.9f;
6988 value = 130f;
6989 }
6990 else if (type == 295)
6991 {
6992 width = 18;
6993 height = 40;
6994 aiStyle = 3;
6995 damage = 28;
6996 defense = 12;
6997 lifeMax = 70;
7000 knockBackResist = 0.7f;
7001 value = 130f;
7002 }
7003 else if (type == 296)
7004 {
7005 width = 18;
7006 height = 40;
7007 aiStyle = 3;
7008 damage = 24;
7009 defense = 14;
7010 lifeMax = 120;
7013 knockBackResist = 0.6f;
7014 value = 130f;
7015 }
7016 else if (type == 299)
7017 {
7018 width = 18;
7019 height = 20;
7020 aiStyle = 7;
7021 damage = 0;
7022 defense = 0;
7023 lifeMax = 5;
7026 catchItem = 2018;
7027 }
7028 else if (type == 300)
7029 {
7030 width = 14;
7031 height = 12;
7032 aiStyle = 7;
7033 damage = 0;
7034 defense = 0;
7035 lifeMax = 5;
7038 npcSlots = 0.25f;
7039 catchItem = 2003;
7040 }
7041 else if (type == 301)
7042 {
7043 width = 36;
7044 height = 26;
7045 aiStyle = 17;
7046 damage = 12;
7047 defense = 2;
7048 lifeMax = 35;
7050 knockBackResist = 0.85f;
7052 value = 50f;
7053 }
7054 if (type == 302)
7055 {
7056 width = 24;
7057 height = 18;
7058 aiStyle = 1;
7059 damage = 7;
7060 defense = 2;
7061 lifeMax = 25;
7064 value = 25f;
7065 }
7066 else if (type == 304)
7067 {
7068 width = 34;
7069 height = 28;
7070 aiStyle = 1;
7071 damage = 80;
7072 defense = 20;
7073 lifeMax = 175;
7076 value = 500f;
7077 scale = 1.1f;
7078 knockBackResist = 0.5f;
7079 npcSlots = 0.3f;
7080 }
7081 else if (type >= 305 && type <= 314)
7082 {
7083 width = 18;
7084 height = 40;
7085 aiStyle = 3;
7088 value = 1200f;
7089 npcSlots = 0.5f;
7090 if (type == 305 || type == 310)
7091 {
7092 damage = 60;
7093 defense = 18;
7094 lifeMax = 500;
7095 knockBackResist = 0.4f;
7096 }
7097 else if (type == 306 || type == 311)
7098 {
7099 damage = 52;
7100 defense = 14;
7101 lifeMax = 400;
7102 knockBackResist = 0.2f;
7103 scale = 1.05f;
7104 }
7105 else if (type == 307 || type == 312)
7106 {
7107 damage = 78;
7108 defense = 16;
7109 lifeMax = 600;
7110 knockBackResist = 0.25f;
7111 scale = 0.9f;
7112 }
7113 else if (type == 308 || type == 313)
7114 {
7115 damage = 66;
7116 defense = 14;
7117 lifeMax = 650;
7118 knockBackResist = 0.35f;
7119 scale = 0.95f;
7120 }
7121 else if (type == 309 || type == 314)
7122 {
7123 damage = 52;
7124 defense = 26;
7125 lifeMax = 450;
7126 knockBackResist = 0.5f;
7127 scale = 1.1f;
7128 }
7129 }
7130 else if (type == 315)
7131 {
7132 width = 74;
7133 height = 70;
7134 aiStyle = 26;
7135 damage = 130;
7136 defense = 40;
7137 lifeMax = 5000;
7140 knockBackResist = 0f;
7141 value = 10000f;
7142 }
7143 else if (type == 316)
7144 {
7145 noGravity = true;
7146 noTileCollide = true;
7147 width = 24;
7148 height = 44;
7149 aiStyle = 22;
7150 damage = 15;
7151 defense = 4;
7152 lifeMax = 50;
7155 alpha = 100;
7156 value = 90f;
7157 knockBackResist = 0.5f;
7158 }
7159 else if (type == 317)
7160 {
7161 width = 30;
7162 height = 32;
7163 aiStyle = 2;
7164 damage = 16;
7165 defense = 6;
7166 lifeMax = 75;
7168 knockBackResist = 0.7f;
7170 value = 100f;
7171 }
7172 else if (type == 318)
7173 {
7174 width = 30;
7175 height = 32;
7176 aiStyle = 2;
7177 damage = 20;
7178 defense = 4;
7179 lifeMax = 60;
7181 knockBackResist = 0.65f;
7183 value = 100f;
7184 }
7185 else if (type == 319)
7186 {
7187 width = 18;
7188 height = 40;
7189 aiStyle = 3;
7190 damage = 20;
7191 defense = 6;
7192 lifeMax = 40;
7195 knockBackResist = 0.6f;
7196 value = 85f;
7197 scale = 0.9f;
7198 }
7199 else if (type == 320)
7200 {
7201 width = 18;
7202 height = 40;
7203 aiStyle = 3;
7204 damage = 15;
7205 defense = 8;
7206 lifeMax = 60;
7209 knockBackResist = 0.5f;
7210 value = 105f;
7211 scale = 1.05f;
7212 }
7213 else if (type == 321)
7214 {
7215 width = 18;
7216 height = 40;
7217 aiStyle = 3;
7218 damage = 20;
7219 defense = 14;
7220 lifeMax = 34;
7223 knockBackResist = 0.3f;
7224 value = 120f;
7225 scale = 1.1f;
7226 }
7227 else if (type == 322)
7228 {
7229 width = 18;
7230 height = 40;
7231 aiStyle = 3;
7232 damage = 23;
7233 defense = 0;
7234 lifeMax = 115;
7237 knockBackResist = 0.65f;
7238 value = 130f;
7239 }
7240 else if (type == 323)
7241 {
7242 width = 18;
7243 height = 40;
7244 aiStyle = 3;
7245 damage = 18;
7246 defense = 10;
7247 lifeMax = 65;
7250 knockBackResist = 0.5f;
7251 value = 120f;
7252 }
7253 else if (type == 324)
7254 {
7255 width = 18;
7256 height = 40;
7257 aiStyle = 3;
7258 damage = 22;
7259 defense = 10;
7260 lifeMax = 70;
7263 knockBackResist = 0.4f;
7264 value = 130f;
7265 scale = 1.05f;
7266 }
7267 else if (type == 325)
7268 {
7269 width = 164;
7270 height = 154;
7271 aiStyle = 57;
7272 damage = 120;
7273 defense = 34;
7274 lifeMax = 14000;
7277 knockBackResist = 0f;
7278 value = 10000f;
7279 npcSlots = 3f;
7280 }
7281 else if (type == 326)
7282 {
7283 width = 18;
7284 height = 40;
7285 aiStyle = 3;
7286 damage = 100;
7287 defense = 32;
7288 lifeMax = 1200;
7291 knockBackResist = 0.2f;
7292 value = 2000f;
7293 }
7294 else if (type == 327)
7295 {
7296 width = 100;
7297 height = 100;
7298 aiStyle = 58;
7299 damage = 50;
7300 defense = 40;
7301 lifeMax = 26000;
7304 noGravity = true;
7305 noTileCollide = true;
7306 value = 50000f;
7307 knockBackResist = 0f;
7308 npcSlots = 5f;
7309 }
7310 else if (type == 328)
7311 {
7312 width = 80;
7313 height = 80;
7314 aiStyle = 59;
7315 damage = 65;
7316 defense = 14;
7317 lifeMax = 5000;
7320 noGravity = true;
7321 noTileCollide = true;
7322 knockBackResist = 0f;
7323 dontTakeDamage = true;
7324 npcSlots = 0f;
7325 dontCountMe = true;
7326 }
7327 else if (type == 329)
7328 {
7329 width = 46;
7330 height = 30;
7331 aiStyle = 26;
7332 damage = 80;
7333 defense = 38;
7334 lifeMax = 1800;
7337 knockBackResist = 0.3f;
7338 value = 3000f;
7339 }
7340 else if (type == 330)
7341 {
7342 noGravity = true;
7343 noTileCollide = true;
7344 width = 24;
7345 height = 44;
7346 aiStyle = 22;
7347 damage = 90;
7348 defense = 44;
7349 lifeMax = 1250;
7352 alpha = 100;
7353 value = 4500f;
7354 knockBackResist = 0.4f;
7355 }
7356 else if (type == 331)
7357 {
7358 width = 18;
7359 height = 40;
7360 aiStyle = 3;
7361 damage = 14;
7362 defense = 6;
7363 lifeMax = 45;
7366 knockBackResist = 0.5f;
7367 value = 60f;
7368 }
7369 else if (type == 332)
7370 {
7371 width = 18;
7372 height = 40;
7373 aiStyle = 3;
7374 damage = 14;
7375 defense = 6;
7376 lifeMax = 45;
7379 knockBackResist = 0.5f;
7380 value = 60f;
7381 }
7382 if (type == 333)
7383 {
7384 width = 24;
7385 height = 18;
7386 aiStyle = 1;
7387 damage = 7;
7388 defense = 2;
7389 lifeMax = 25;
7392 value = 25f;
7393 }
7394 if (type == 334)
7395 {
7396 width = 24;
7397 height = 18;
7398 aiStyle = 1;
7399 damage = 6;
7400 defense = 2;
7401 lifeMax = 23;
7404 scale = 0.9f;
7405 value = 25f;
7406 }
7407 if (type == 335)
7408 {
7409 width = 24;
7410 height = 18;
7411 aiStyle = 1;
7412 damage = 8;
7413 defense = 3;
7414 lifeMax = 29;
7415 scale = 1.05f;
7418 value = 25f;
7419 }
7420 if (type == 336)
7421 {
7422 width = 24;
7423 height = 18;
7424 aiStyle = 1;
7425 damage = 5;
7426 defense = 1;
7427 lifeMax = 22;
7428 scale = 0.85f;
7431 value = 25f;
7432 }
7433 else if (type >= 338 && type <= 340)
7434 {
7435 width = 18;
7436 height = 40;
7437 aiStyle = 3;
7440 value = 1200f;
7441 npcSlots = 0.5f;
7442 if (type == 338)
7443 {
7444 damage = 65;
7445 defense = 18;
7446 lifeMax = 600;
7447 knockBackResist = 0.4f;
7448 }
7449 else if (type == 339)
7450 {
7451 damage = 52;
7452 defense = 24;
7453 lifeMax = 700;
7454 knockBackResist = 0.2f;
7455 scale = 1.05f;
7456 }
7457 else if (type == 340)
7458 {
7459 damage = 78;
7460 defense = 14;
7461 lifeMax = 500;
7462 knockBackResist = 0.25f;
7463 scale = 0.9f;
7464 }
7465 }
7466 else if (type == 341)
7467 {
7468 width = 24;
7469 height = 24;
7470 aiStyle = 25;
7471 damage = 100;
7472 defense = 32;
7473 lifeMax = 900;
7476 value = Item.buyPrice(0, 0, 20);
7477 knockBackResist = 0.25f;
7478 }
7479 else if (type == 342)
7480 {
7481 width = 18;
7482 height = 40;
7483 aiStyle = 3;
7484 damage = 90;
7485 defense = 26;
7486 lifeMax = 750;
7489 knockBackResist = 0.2f;
7490 value = 1800f;
7491 }
7492 else if (type == 343)
7493 {
7494 width = 38;
7495 height = 78;
7496 aiStyle = 3;
7497 damage = 140;
7498 defense = 50;
7499 lifeMax = 3500;
7502 knockBackResist = 0f;
7503 value = 3000f;
7504 npcSlots = 2f;
7505 coldDamage = true;
7506 }
7507 else if (type == 344)
7508 {
7509 width = 172;
7510 height = 130;
7511 aiStyle = 57;
7512 damage = 110;
7513 defense = 38;
7514 lifeMax = 13000;
7517 knockBackResist = 0f;
7518 value = 10000f;
7519 npcSlots = 3f;
7520 }
7521 else if (type == 345)
7522 {
7523 width = 130;
7524 height = 140;
7525 aiStyle = 60;
7526 damage = 120;
7527 defense = 38;
7528 lifeMax = 34000;
7531 knockBackResist = 0f;
7532 value = 50000f;
7533 noTileCollide = true;
7534 noGravity = true;
7535 npcSlots = 5f;
7536 coldDamage = true;
7537 }
7538 else if (type == 346)
7539 {
7540 width = 112;
7541 height = 140;
7542 aiStyle = 61;
7543 damage = 120;
7544 defense = 56;
7545 lifeMax = 18000;
7548 knockBackResist = 0f;
7549 value = 10000f;
7550 npcSlots = 4f;
7551 }
7552 else if (type == 347)
7553 {
7554 width = 50;
7555 height = 50;
7556 aiStyle = 62;
7557 damage = 60;
7558 defense = 28;
7559 lifeMax = 1200;
7561 knockBackResist = 0.4f;
7563 value = 1000f;
7564 noTileCollide = true;
7565 noGravity = true;
7566 npcSlots = 1.5f;
7567 }
7568 else if (type == 348)
7569 {
7570 width = 28;
7571 height = 76;
7572 aiStyle = 3;
7573 damage = 80;
7574 defense = 26;
7575 lifeMax = 1800;
7578 knockBackResist = 0.4f;
7579 value = 1500f;
7580 npcSlots = 1.5f;
7581 }
7582 else if (type == 349)
7583 {
7584 width = 28;
7585 height = 76;
7586 aiStyle = 3;
7587 damage = 100;
7588 defense = 42;
7589 lifeMax = 1800;
7592 knockBackResist = 0.1f;
7593 value = 1500f;
7594 npcSlots = 1.5f;
7595 }
7596 else if (type == 350)
7597 {
7598 width = 18;
7599 height = 40;
7600 aiStyle = 3;
7601 damage = 70;
7602 defense = 30;
7603 lifeMax = 900;
7606 knockBackResist = 0.45f;
7607 value = 900f;
7608 }
7609 else if (type == 351)
7610 {
7611 width = 18;
7612 height = 90;
7613 aiStyle = 3;
7614 damage = 100;
7615 defense = 40;
7616 lifeMax = 2500;
7619 knockBackResist = 0.1f;
7620 value = 3000f;
7621 npcSlots = 1.75f;
7622 }
7623 else if (type == 352)
7624 {
7625 width = 54;
7626 height = 54;
7627 aiStyle = 63;
7628 damage = 75;
7629 defense = 8;
7630 lifeMax = 450;
7633 value = 500f;
7634 knockBackResist = 0.4f;
7635 noGravity = true;
7636 noTileCollide = true;
7637 npcSlots = 2f;
7638 coldDamage = true;
7639 }
7640 else if (type == 353)
7641 {
7642 townNPC = true;
7643 friendly = true;
7644 width = 18;
7645 height = 40;
7646 aiStyle = 7;
7647 damage = 10;
7648 defense = 15;
7649 lifeMax = 250;
7652 knockBackResist = 0.5f;
7653 }
7654 else if (type == 354)
7655 {
7656 friendly = true;
7657 width = 18;
7658 height = 34;
7659 aiStyle = 0;
7660 damage = 10;
7661 defense = 15;
7662 lifeMax = 250;
7665 knockBackResist = 0.5f;
7666 scale = 0.9f;
7667 rarity = 1;
7668 }
7669 else if (type == 355)
7670 {
7671 width = 10;
7672 height = 10;
7673 aiStyle = 64;
7674 damage = 0;
7675 defense = 0;
7676 lifeMax = 5;
7679 npcSlots = 0.2f;
7680 noGravity = true;
7681 catchItem = 1992;
7682 }
7683 else if (type == 356)
7684 {
7685 width = 10;
7686 height = 10;
7687 aiStyle = 65;
7688 damage = 0;
7689 defense = 0;
7690 lifeMax = 5;
7693 npcSlots = 0.25f;
7694 noGravity = true;
7695 catchItem = 1994;
7696 }
7697 else if (type == 357)
7698 {
7699 width = 10;
7700 height = 4;
7701 aiStyle = 66;
7702 damage = 0;
7703 defense = 0;
7704 lifeMax = 5;
7707 npcSlots = 0.1f;
7708 catchItem = 2002;
7709 friendly = true;
7710 }
7711 else if (type == 358)
7712 {
7713 width = 12;
7714 height = 12;
7715 aiStyle = 64;
7716 damage = 0;
7717 defense = 0;
7718 lifeMax = 5;
7721 npcSlots = 0.2f;
7722 noGravity = true;
7723 catchItem = 2004;
7724 }
7725 else if (type == 359)
7726 {
7727 width = 12;
7728 height = 12;
7729 aiStyle = 67;
7730 damage = 0;
7731 defense = 0;
7732 lifeMax = 5;
7735 npcSlots = 0.5f;
7736 noGravity = true;
7737 catchItem = 2006;
7738 }
7739 else if (type == 360)
7740 {
7741 width = 14;
7742 height = 14;
7743 aiStyle = 67;
7744 damage = 0;
7745 defense = 0;
7746 lifeMax = 5;
7749 npcSlots = 0.5f;
7750 noGravity = true;
7751 catchItem = 2007;
7752 }
7753 else if (type == 361)
7754 {
7755 width = 12;
7756 height = 10;
7757 aiStyle = 7;
7758 damage = 0;
7759 defense = 0;
7760 lifeMax = 5;
7763 catchItem = 2121;
7764 }
7765 else if (type == 362)
7766 {
7767 width = 22;
7768 height = 26;
7769 aiStyle = 7;
7770 damage = 0;
7771 defense = 0;
7772 lifeMax = 5;
7775 catchItem = 2122;
7776 }
7777 else if (type == 363)
7778 {
7779 width = 28;
7780 height = 22;
7781 aiStyle = 68;
7782 damage = 0;
7783 defense = 0;
7784 lifeMax = 5;
7787 catchItem = 2122;
7788 }
7789 else if (type == 364)
7790 {
7791 width = 22;
7792 height = 26;
7793 aiStyle = 7;
7794 damage = 0;
7795 defense = 0;
7796 lifeMax = 5;
7799 catchItem = 2123;
7800 }
7801 else if (type == 365)
7802 {
7803 width = 28;
7804 height = 22;
7805 aiStyle = 68;
7806 damage = 0;
7807 defense = 0;
7808 lifeMax = 5;
7811 catchItem = 2123;
7812 }
7813 else if (type == 366 || type == 367)
7814 {
7815 width = 26;
7816 height = 18;
7817 aiStyle = 7;
7818 damage = 0;
7819 defense = 0;
7820 lifeMax = 5;
7823 catchItem = (short)(2156 + type - 366);
7824 }
7825 else if (type == 368)
7826 {
7827 townNPC = true;
7828 friendly = true;
7829 width = 18;
7830 height = 40;
7831 aiStyle = 7;
7832 damage = 10;
7833 defense = 15;
7834 lifeMax = 250;
7837 knockBackResist = 0.5f;
7838 }
7839 else if (type == 369)
7840 {
7841 townNPC = true;
7842 friendly = true;
7843 width = 18;
7844 height = 40;
7845 aiStyle = 7;
7846 damage = 10;
7847 defense = 15;
7848 lifeMax = 250;
7851 knockBackResist = 0.5f;
7852 }
7853 else if (type == 370)
7854 {
7855 width = 150;
7856 height = 100;
7857 aiStyle = 69;
7858 damage = 100;
7859 defense = 50;
7860 lifeMax = 60000;
7861 knockBackResist = 0f;
7862 noTileCollide = true;
7863 noGravity = true;
7864 npcSlots = 10f;
7867 value = 250000f;
7868 boss = true;
7869 netAlways = true;
7871 }
7872 else if (type == 371)
7873 {
7874 width = 36;
7875 height = 36;
7876 aiStyle = 70;
7877 damage = 100;
7878 defense = 0;
7879 lifeMax = 1;
7882 noGravity = true;
7883 noTileCollide = true;
7884 knockBackResist = 0f;
7885 alpha = 255;
7886 }
7887 else if (type == 372)
7888 {
7889 noGravity = true;
7890 width = 120;
7891 height = 24;
7892 aiStyle = 71;
7893 damage = 100;
7894 defense = 100;
7895 lifeMax = 100;
7898 knockBackResist = 0f;
7899 alpha = 255;
7900 }
7901 else if (type == 373)
7902 {
7903 noGravity = true;
7904 width = 100;
7905 height = 24;
7906 aiStyle = 71;
7907 damage = 120;
7908 defense = 100;
7909 lifeMax = 100;
7912 knockBackResist = 0f;
7913 alpha = 255;
7914 }
7915 else if (type == 374)
7916 {
7917 width = 20;
7918 height = 10;
7919 aiStyle = 66;
7920 damage = 0;
7921 defense = 0;
7922 lifeMax = 5;
7925 npcSlots = 0.15f;
7926 catchItem = 2673;
7927 rarity = 4;
7929 }
7930 else if (type == 375)
7931 {
7932 width = 10;
7933 height = 10;
7934 aiStyle = 6;
7935 damage = 0;
7936 defense = 0;
7937 lifeMax = 5;
7940 noGravity = true;
7941 noTileCollide = true;
7942 knockBackResist = 0f;
7943 behindTiles = true;
7944 npcSlots = 0.15f;
7945 catchItem = 2673;
7946 rarity = 4;
7948 }
7949 else if (type == 376)
7950 {
7951 friendly = true;
7952 width = 34;
7953 height = 8;
7954 aiStyle = 0;
7955 damage = 10;
7956 defense = 15;
7957 lifeMax = 250;
7960 knockBackResist = 0.5f;
7961 scale = 0.9f;
7962 rarity = 1;
7963 }
7964 else if (type == 377)
7965 {
7966 width = 14;
7967 height = 10;
7968 aiStyle = 1;
7969 damage = 0;
7970 defense = 0;
7971 lifeMax = 5;
7974 friendly = true;
7975 catchItem = 2740;
7976 npcSlots = 0.1f;
7977 }
7978 else if (type == 378)
7979 {
7980 npcSlots = 1f;
7981 width = 20;
7982 height = 26;
7983 aiStyle = 41;
7984 damage = 120;
7985 defense = 30;
7986 lifeMax = 200;
7989 knockBackResist = 0.5f;
7990 value = 450f;
7991 }
7992 else if (type >= 379 && type <= 380)
7993 {
7994 width = 18;
7995 height = 40;
7996 aiStyle = 3;
7997 damage = 45;
7998 defense = 14;
7999 lifeMax = 210;
8002 knockBackResist = 0.55f;
8003 value = 1000f;
8004 npcSlots = 0f;
8005 lavaImmune = true;
8006 netAlways = true;
8007 chaseable = false;
8008 }
8009 else if (type >= 381 && type <= 382)
8010 {
8011 width = 18;
8012 height = 40;
8013 aiStyle = 3;
8014 damage = 50;
8015 defense = 25;
8016 lifeMax = 350;
8019 knockBackResist = 0.35f;
8020 value = 1000f;
8021 }
8022 else if (type == 383)
8023 {
8024 lifeMax = 300;
8025 defense = 50;
8026 damage = 75;
8027 width = 18;
8028 height = 40;
8029 aiStyle = 3;
8032 value = 1200f;
8033 knockBackResist = 0.25f;
8034 }
8035 else if (type == 384)
8036 {
8037 lifeMax = 1000;
8038 width = 18;
8039 defense = 20;
8040 height = 40;
8041 aiStyle = 72;
8044 npcSlots = 0f;
8045 noTileCollide = true;
8046 canGhostHeal = false;
8047 }
8048 else if (type == 385)
8049 {
8050 lifeMax = 750;
8051 defense = 30;
8052 damage = 80;
8053 width = 18;
8054 height = 40;
8055 aiStyle = 3;
8058 value = 600f;
8059 knockBackResist = 0f;
8060 npcSlots = 0.75f;
8061 }
8062 else if (type == 386)
8063 {
8064 lifeMax = 400;
8065 defense = 34;
8066 damage = 40;
8067 width = 18;
8068 height = 40;
8069 aiStyle = 3;
8072 value = 1200f;
8073 knockBackResist = 0.4f;
8074 }
8075 else if (type == 387)
8076 {
8077 width = 20;
8078 height = 50;
8079 aiStyle = 73;
8080 damage = 10;
8081 defense = 40;
8082 lifeMax = 200;
8085 knockBackResist = 0f;
8086 canGhostHeal = false;
8087 }
8088 else if (type == 388)
8089 {
8090 width = 40;
8091 height = 30;
8092 aiStyle = 74;
8093 damage = 60;
8094 defense = 16;
8095 lifeMax = 300;
8097 knockBackResist = 0.4f;
8099 value = 1000f;
8100 noTileCollide = true;
8101 noGravity = true;
8102 npcSlots = 1.5f;
8103 canGhostHeal = false;
8104 }
8105 else if (type == 389)
8106 {
8107 lifeMax = 600;
8108 defense = 38;
8109 damage = 75;
8110 width = 18;
8111 height = 40;
8112 aiStyle = 3;
8115 value = 1200f;
8116 npcSlots = 0.5f;
8117 knockBackResist = 0.3f;
8118 }
8119 else if (type == 390)
8120 {
8121 damage = 65;
8122 defense = 30;
8123 lifeMax = 350;
8124 width = 18;
8125 height = 40;
8126 aiStyle = 75;
8129 value = 1200f;
8130 npcSlots = 0.5f;
8131 }
8132 else if (type == 391)
8133 {
8134 lifeMax = 600;
8135 defense = 30;
8136 damage = 85;
8137 width = 60;
8138 height = 40;
8139 aiStyle = 3;
8142 value = 1200f;
8143 npcSlots = 0.5f;
8144 knockBackResist = 0.1f;
8145 }
8146 else if (type == 392)
8147 {
8148 lifeMax = 100;
8149 defense = 100;
8150 damage = 50;
8151 width = 150;
8152 height = 80;
8153 aiStyle = 75;
8156 value = 0f;
8157 npcSlots = 0f;
8158 knockBackResist = 0f;
8159 noGravity = true;
8160 noTileCollide = true;
8161 dontTakeDamage = true;
8162 netAlways = true;
8163 }
8164 else if (type == 393)
8165 {
8166 lifeMax = 5000;
8167 defense = 20;
8168 damage = 60;
8169 width = 40;
8170 height = 16;
8171 aiStyle = 75;
8174 value = 0f;
8175 npcSlots = 1f;
8176 knockBackResist = 0f;
8177 noGravity = true;
8178 noTileCollide = true;
8179 netAlways = true;
8180 }
8181 else if (type == 394)
8182 {
8183 lifeMax = 3500;
8184 defense = 20;
8185 damage = 60;
8186 width = 46;
8187 height = 36;
8188 aiStyle = 75;
8191 value = 0f;
8192 npcSlots = 1f;
8193 knockBackResist = 0f;
8194 noGravity = true;
8195 noTileCollide = true;
8196 netAlways = true;
8197 }
8198 else if (type == 395)
8199 {
8200 lifeMax = 10000;
8201 defense = 0;
8202 damage = 80;
8203 width = 120;
8204 height = 90;
8205 aiStyle = 76;
8208 value = 0f;
8209 npcSlots = 6f;
8210 knockBackResist = 0f;
8211 noGravity = true;
8212 noTileCollide = true;
8213 dontTakeDamage = true;
8214 boss = true;
8215 netAlways = true;
8216 }
8217 else if (type == 399)
8218 {
8219 defense = 5;
8220 damage = 5;
8221 lifeMax = 500;
8222 aiStyle = 80;
8223 width = 42;
8224 height = 72;
8225 value = 0f;
8226 knockBackResist = 0f;
8229 npcSlots = 0f;
8230 noGravity = true;
8232 chaseable = false;
8233 netAlways = true;
8234 rarity = 1;
8235 }
8236 else if (type == 396)
8237 {
8238 lifeMax = 45000;
8239 defense = 50;
8240 damage = 0;
8241 width = 38;
8242 height = 56;
8243 aiStyle = 79;
8246 value = 0f;
8247 npcSlots = 6f;
8248 knockBackResist = 0f;
8249 noGravity = true;
8250 noTileCollide = true;
8251 boss = true;
8252 hide = true;
8253 netAlways = true;
8254 }
8255 else if (type == 397)
8256 {
8257 lifeMax = 25000;
8258 defense = 40;
8259 damage = 0;
8260 width = 46;
8261 height = 66;
8262 aiStyle = 78;
8265 value = 0f;
8266 npcSlots = 6f;
8267 knockBackResist = 0f;
8268 noGravity = true;
8269 noTileCollide = true;
8270 boss = true;
8271 hide = true;
8272 netAlways = true;
8273 }
8274 else if (type == 398)
8275 {
8276 lifeMax = 50000;
8277 defense = 70;
8278 damage = 0;
8279 width = 46;
8280 height = 66;
8281 aiStyle = 77;
8283 DeathSound = null;
8284 value = 1000000f;
8285 npcSlots = 6f;
8286 knockBackResist = 0f;
8287 noGravity = true;
8288 noTileCollide = true;
8289 dontTakeDamage = true;
8290 boss = true;
8291 behindTiles = true;
8292 hide = true;
8293 netAlways = true;
8294 }
8295 else if (type == 400)
8296 {
8297 defense = 0;
8298 damage = 60;
8299 lifeMax = 100;
8300 aiStyle = 81;
8301 width = 60;
8302 height = 60;
8303 value = 0f;
8304 knockBackResist = 0f;
8307 npcSlots = 0f;
8308 noGravity = true;
8309 dontTakeDamage = true;
8310 noTileCollide = true;
8311 netAlways = true;
8312 }
8313 else if (type == 401)
8314 {
8315 lifeMax = 400;
8316 defense = 0;
8317 damage = 0;
8318 width = 30;
8319 height = 30;
8320 aiStyle = 82;
8323 value = 0f;
8324 npcSlots = 0f;
8325 knockBackResist = 0f;
8326 noGravity = true;
8327 noTileCollide = true;
8328 hide = true;
8329 }
8330 else if (type == 437)
8331 {
8332 lifeMax = 400;
8333 defense = 0;
8334 damage = 0;
8335 width = 54;
8336 height = 54;
8337 aiStyle = 83;
8340 value = 0f;
8341 npcSlots = 0f;
8342 knockBackResist = 0f;
8343 noGravity = true;
8344 noTileCollide = true;
8345 dontTakeDamage = true;
8346 netAlways = true;
8347 chaseable = false;
8348 }
8349 else if (type == 438)
8350 {
8351 lifeMax = 400;
8352 defense = 0;
8353 damage = 0;
8354 width = 22;
8355 height = 40;
8356 aiStyle = 83;
8359 value = 0f;
8360 npcSlots = 0f;
8361 knockBackResist = 0f;
8362 lavaImmune = true;
8363 netAlways = true;
8364 chaseable = false;
8365 }
8366 else if (type == 439)
8367 {
8368 width = 24;
8369 height = 50;
8370 aiStyle = 84;
8371 damage = 50;
8372 defense = 42;
8373 lifeMax = 32000;
8374 knockBackResist = 0f;
8375 noTileCollide = true;
8376 noGravity = true;
8377 npcSlots = 10f;
8380 value = 100000f;
8381 boss = true;
8382 netAlways = true;
8384 }
8385 else if (type == 440)
8386 {
8387 width = 24;
8388 height = 50;
8389 aiStyle = 84;
8390 damage = 0;
8391 defense = 35;
8392 lifeMax = 10000;
8393 knockBackResist = 0f;
8394 noTileCollide = true;
8395 noGravity = true;
8396 npcSlots = 0f;
8399 netAlways = true;
8401 chaseable = false;
8402 }
8403 else if (type == 442)
8404 {
8405 width = 14;
8406 height = 14;
8407 aiStyle = 24;
8408 damage = 0;
8409 defense = 0;
8410 lifeMax = 5;
8412 knockBackResist = 0.8f;
8414 catchItem = 2889;
8415 npcSlots = 0.4f;
8416 rarity = 3;
8417 }
8418 else if (type == 443)
8419 {
8420 width = 18;
8421 height = 20;
8422 aiStyle = 7;
8423 damage = 0;
8424 defense = 0;
8425 lifeMax = 5;
8428 catchItem = 2890;
8429 rarity = 3;
8430 }
8431 else if (type == 444)
8432 {
8433 width = 10;
8434 height = 10;
8435 aiStyle = 65;
8436 damage = 0;
8437 defense = 0;
8438 lifeMax = 5;
8441 npcSlots = 0.25f;
8442 noGravity = true;
8443 catchItem = 2891;
8444 rarity = 3;
8445 }
8446 else if (type == 445)
8447 {
8448 width = 12;
8449 height = 10;
8450 aiStyle = 7;
8451 damage = 0;
8452 defense = 0;
8453 lifeMax = 5;
8456 catchItem = 2892;
8457 rarity = 3;
8458 }
8459 else if (type == 446)
8460 {
8461 width = 14;
8462 height = 10;
8463 aiStyle = 1;
8464 damage = 0;
8465 defense = 0;
8466 lifeMax = 5;
8469 friendly = true;
8470 catchItem = 2893;
8471 npcSlots = 0.1f;
8472 rarity = 3;
8473 }
8474 else if (type == 447)
8475 {
8476 width = 14;
8477 height = 12;
8478 aiStyle = 7;
8479 damage = 0;
8480 defense = 0;
8481 lifeMax = 5;
8484 npcSlots = 0.25f;
8485 catchItem = 2894;
8486 rarity = 3;
8487 }
8488 else if (type == 448)
8489 {
8490 width = 10;
8491 height = 4;
8492 aiStyle = 66;
8493 damage = 0;
8494 defense = 0;
8495 lifeMax = 5;
8498 npcSlots = 0.1f;
8499 catchItem = 2895;
8500 friendly = true;
8501 rarity = 3;
8502 }
8503 else if (type == 449)
8504 {
8505 width = 18;
8506 height = 40;
8507 aiStyle = 3;
8508 damage = 20;
8509 defense = 8;
8510 lifeMax = 60;
8513 knockBackResist = 0.5f;
8514 value = 100f;
8515 }
8516 else if (type == 450)
8517 {
8518 width = 18;
8519 height = 40;
8520 aiStyle = 3;
8521 damage = 20;
8522 defense = 12;
8523 lifeMax = 55;
8526 knockBackResist = 0.5f;
8527 value = 130f;
8528 }
8529 else if (type == 451)
8530 {
8531 width = 18;
8532 height = 40;
8533 aiStyle = 3;
8534 damage = 18;
8535 defense = 8;
8536 lifeMax = 65;
8539 knockBackResist = 0.5f;
8540 value = 120f;
8541 }
8542 else if (type == 452)
8543 {
8544 width = 18;
8545 height = 40;
8546 aiStyle = 3;
8547 damage = 22;
8548 defense = 8;
8549 lifeMax = 60;
8552 knockBackResist = 0.5f;
8553 value = 110f;
8554 }
8555 else if (type == 453)
8556 {
8557 friendly = true;
8558 width = 18;
8559 height = 40;
8560 aiStyle = 7;
8561 damage = 10;
8562 defense = 30;
8563 lifeMax = 250;
8566 knockBackResist = 0.5f;
8567 npcSlots = 7f;
8568 rarity = 1;
8569 }
8570 else if (type == 454)
8571 {
8572 noTileCollide = true;
8573 npcSlots = 5f;
8574 width = 32;
8575 height = 32;
8576 aiStyle = 6;
8577 netAlways = true;
8578 damage = 100;
8579 defense = 15;
8580 lifeMax = 10000;
8583 noGravity = true;
8584 knockBackResist = 0f;
8585 value = 0f;
8586 scale = 1f;
8587 alpha = 255;
8588 }
8589 else if (type == 459)
8590 {
8591 noTileCollide = true;
8592 width = 32;
8593 height = 32;
8594 aiStyle = 6;
8595 netAlways = true;
8596 damage = 50;
8597 defense = 30;
8598 lifeMax = 10000;
8601 noGravity = true;
8602 knockBackResist = 0f;
8603 value = 0f;
8604 scale = 1f;
8605 alpha = 255;
8606 dontCountMe = true;
8607 }
8608 else if (type == 455 || type == 456 || type == 457 || type == 458)
8609 {
8610 noTileCollide = true;
8611 width = 32;
8612 height = 32;
8613 aiStyle = 6;
8614 netAlways = true;
8615 damage = 50;
8616 defense = 30;
8617 lifeMax = 10000;
8620 noGravity = true;
8621 knockBackResist = 0f;
8622 value = 0f;
8623 scale = 1f;
8624 alpha = 255;
8625 dontCountMe = true;
8626 }
8627 else if (type == 464)
8628 {
8629 width = 18;
8630 height = 20;
8631 aiStyle = 3;
8632 damage = 21;
8633 defense = 5;
8634 lifeMax = 75;
8637 value = 500f;
8638 }
8639 else if (type == 465)
8640 {
8641 noGravity = true;
8642 width = 18;
8643 height = 20;
8644 aiStyle = 16;
8645 damage = 31;
8646 defense = 7;
8647 lifeMax = 110;
8650 value = 500f;
8651 }
8652 else if (type == 470)
8653 {
8654 width = 16;
8655 height = 34;
8656 aiStyle = 3;
8657 damage = 21;
8658 defense = 5;
8659 lifeMax = 75;
8662 value = 500f;
8663 }
8664 else if (type == 473 || type == 474 || type == 475 || type == 476)
8665 {
8666 width = 28;
8667 height = 44;
8668 aiStyle = 87;
8669 damage = 90;
8670 defense = 34;
8671 lifeMax = 3500;
8674 value = 30000f;
8675 knockBackResist = 0.1f;
8676 rarity = 5;
8677 }
8678 else if (type == 480)
8679 {
8680 width = 18;
8681 height = 40;
8682 aiStyle = 3;
8683 damage = 30;
8684 defense = 20;
8685 lifeMax = 400;
8688 knockBackResist = 0.15f;
8689 value = 1000f;
8690 rarity = 1;
8691 }
8692 else if (type == 481)
8693 {
8694 width = 18;
8695 height = 40;
8696 aiStyle = 3;
8697 damage = 22;
8698 defense = 10;
8699 lifeMax = 70;
8702 knockBackResist = 0.4f;
8703 value = 300f;
8704 }
8705 else if (type == 482)
8706 {
8707 width = 28;
8708 height = 48;
8709 aiStyle = 3;
8710 damage = 30;
8711 defense = 18;
8712 lifeMax = 110;
8715 knockBackResist = 0.35f;
8716 value = 500f;
8717 }
8718 else if (type == 483)
8719 {
8720 npcSlots = 0.5f;
8721 width = 20;
8722 height = 30;
8723 aiStyle = 91;
8724 damage = 24;
8725 defense = 8;
8726 lifeMax = 40;
8728 knockBackResist = 0.6f;
8730 value = 1000f;
8731 }
8732 else if (type >= 484 && type <= 487)
8733 {
8734 width = 10;
8735 height = 4;
8736 aiStyle = 66;
8737 damage = 0;
8738 defense = 0;
8739 lifeMax = 5;
8742 npcSlots = 0.1f;
8743 catchItem = (short)(3191 + type - 484);
8744 friendly = true;
8745 }
8746 else if (type == 488)
8747 {
8748 width = 18;
8749 height = 40;
8750 aiStyle = 92;
8751 damage = 0;
8752 defense = 0;
8753 lifeMax = 1000;
8756 knockBackResist = 0f;
8757 value = 0f;
8758 immortal = true;
8759 netAlways = true;
8760 }
8761 else if (type == 489)
8762 {
8763 width = 18;
8764 height = 40;
8765 aiStyle = 3;
8766 damage = 20;
8767 defense = 8;
8768 lifeMax = 75;
8771 knockBackResist = 0.4f;
8772 value = 150f;
8773 }
8774 else if (type == 490)
8775 {
8776 noGravity = true;
8777 width = 28;
8778 height = 30;
8779 aiStyle = 22;
8780 damage = 28;
8781 defense = 14;
8782 lifeMax = 50;
8784 knockBackResist = 0.6f;
8786 value = 150f;
8787 }
8788 else if (type == 491)
8789 {
8790 noGravity = true;
8791 width = 350;
8792 height = 120;
8793 aiStyle = 93;
8794 damage = 0;
8795 defense = 100;
8796 lifeMax = 50;
8798 knockBackResist = 0f;
8800 value = 0f;
8801 dontTakeDamage = true;
8802 netAlways = true;
8803 }
8804 else if (type == 492)
8805 {
8806 lifeMax = 2000;
8807 defense = 20;
8808 damage = 30;
8809 width = 30;
8810 height = 30;
8811 aiStyle = 75;
8814 value = 0f;
8815 npcSlots = 1f;
8816 knockBackResist = 0f;
8817 noGravity = true;
8818 noTileCollide = true;
8819 hide = true;
8820 netAlways = true;
8821 }
8822 else if (type >= 494 && type <= 495)
8823 {
8824 width = 28;
8825 height = 22;
8826 aiStyle = 3;
8827 damage = 28;
8828 defense = 6;
8829 lifeMax = 50;
8832 value = 120f;
8833 }
8834 else if (type >= 496 && type <= 497)
8835 {
8836 width = 28;
8837 height = 22;
8838 aiStyle = 39;
8839 damage = 16;
8840 defense = 12;
8841 lifeMax = 50;
8844 knockBackResist = 0.75f;
8845 value = 120f;
8846 }
8847 else if (type >= 498 && type <= 506)
8848 {
8849 width = 24;
8850 height = 44;
8851 aiStyle = 3;
8852 damage = 18;
8853 defense = 10;
8854 lifeMax = 65;
8857 knockBackResist = 0.45f;
8858 value = 120f;
8859 }
8860 else if (type == 441)
8861 {
8862 townNPC = true;
8863 friendly = true;
8864 width = 18;
8865 height = 40;
8866 aiStyle = 7;
8867 damage = 10;
8868 defense = 15;
8869 lifeMax = 250;
8872 knockBackResist = 0.5f;
8873 }
8874 else if (type == 513)
8875 {
8876 npcSlots = 4f;
8877 width = 22;
8878 height = 22;
8879 aiStyle = 6;
8880 damage = 18;
8881 defense = 0;
8882 lifeMax = 60;
8885 noGravity = true;
8886 noTileCollide = true;
8887 knockBackResist = 0f;
8888 behindTiles = true;
8889 value = 130f;
8890 }
8891 else if (type == 514)
8892 {
8893 width = 22;
8894 height = 22;
8895 aiStyle = 6;
8896 netAlways = true;
8897 damage = 7;
8898 defense = 12;
8899 lifeMax = 60;
8902 noGravity = true;
8903 noTileCollide = true;
8904 knockBackResist = 0f;
8905 behindTiles = true;
8906 value = 130f;
8907 dontCountMe = true;
8908 npcSlots = 0f;
8909 }
8910 else if (type == 515)
8911 {
8912 width = 22;
8913 height = 22;
8914 aiStyle = 6;
8915 netAlways = true;
8916 damage = 7;
8917 defense = 14;
8918 lifeMax = 60;
8921 noGravity = true;
8922 noTileCollide = true;
8923 knockBackResist = 0f;
8924 behindTiles = true;
8925 value = 130f;
8926 dontCountMe = true;
8927 npcSlots = 0f;
8928 }
8929 else if (type == 510)
8930 {
8931 npcSlots = 5f;
8932 width = 34;
8933 height = 34;
8934 aiStyle = 6;
8935 damage = 58;
8936 defense = 18;
8937 lifeMax = 500;
8940 noGravity = true;
8941 noTileCollide = true;
8942 knockBackResist = 0f;
8943 behindTiles = true;
8944 value = 700f;
8945 }
8946 else if (type == 511)
8947 {
8948 width = 34;
8949 height = 34;
8950 aiStyle = 6;
8951 netAlways = true;
8952 damage = 54;
8953 defense = 28;
8954 lifeMax = 500;
8957 noGravity = true;
8958 noTileCollide = true;
8959 knockBackResist = 0f;
8960 behindTiles = true;
8961 value = 700f;
8962 dontCountMe = true;
8963 npcSlots = 0f;
8964 }
8965 else if (type == 512)
8966 {
8967 width = 34;
8968 height = 34;
8969 aiStyle = 6;
8970 netAlways = true;
8971 damage = 50;
8972 defense = 34;
8973 lifeMax = 500;
8976 noGravity = true;
8977 noTileCollide = true;
8978 knockBackResist = 0f;
8979 behindTiles = true;
8980 value = 700f;
8981 dontCountMe = true;
8982 npcSlots = 0f;
8983 }
8984 else if (type == 508)
8985 {
8986 width = 50;
8987 height = 31;
8988 aiStyle = 3;
8989 damage = 38;
8990 defense = 16;
8991 lifeMax = 110;
8994 knockBackResist = 0.4f;
8995 value = 175f;
8996 }
8997 else if (type == 509)
8998 {
8999 width = 40;
9000 height = 31;
9001 aiStyle = 44;
9002 damage = 34;
9003 defense = 12;
9004 lifeMax = 90;
9005 knockBackResist = 0.3f;
9008 value = 195f;
9009 }
9010 else if (type == 580)
9011 {
9012 width = 26;
9013 height = 26;
9014 aiStyle = 3;
9015 damage = 25;
9016 defense = 10;
9017 lifeMax = 80;
9020 knockBackResist = 0.5f;
9021 value = 80f;
9022 npcSlots = 0.8f;
9023 }
9024 else if (type == 581)
9025 {
9026 width = 30;
9027 height = 22;
9028 aiStyle = 44;
9029 damage = 29;
9030 defense = 8;
9031 lifeMax = 60;
9032 knockBackResist = 0.5f;
9035 value = 90f;
9036 npcSlots = 0.8f;
9037 }
9038 else if (type >= 524 && type <= 527)
9039 {
9040 width = 24;
9041 height = 44;
9042 aiStyle = 3;
9043 damage = 50;
9044 defense = 26;
9045 lifeMax = 180;
9048 knockBackResist = 0.6f;
9049 value = 500f;
9050 npcSlots = 0.5f;
9051 switch (type)
9052 {
9053 case 525:
9054 lifeMax += 70;
9055 defense += 4;
9056 damage += 10;
9057 knockBackResist -= 0.1f;
9058 value += 150f;
9059 break;
9060 case 526:
9061 lifeMax += 40;
9062 defense += 6;
9063 damage += 14;
9064 knockBackResist -= 0.1f;
9065 value += 150f;
9066 break;
9067 case 527:
9068 lifeMax += 120;
9069 defense += 6;
9070 damage += 4;
9071 knockBackResist -= 0.2f;
9072 value += 250f;
9073 break;
9074 }
9075 }
9076 else if (type >= 528 && type <= 529)
9077 {
9078 width = 24;
9079 height = 44;
9080 aiStyle = 3;
9081 damage = 52;
9082 defense = 28;
9083 lifeMax = 350;
9086 knockBackResist = 0.35f;
9087 value = 600f;
9088 }
9089 else if (type == 530)
9090 {
9091 width = 50;
9092 height = 20;
9093 aiStyle = 3;
9094 damage = 66;
9095 defense = 24;
9096 lifeMax = 320;
9099 knockBackResist = 0.5f;
9100 value = 600f;
9102 }
9103 else if (type == 531)
9104 {
9105 noGravity = true;
9106 width = 36;
9107 height = 36;
9108 aiStyle = 40;
9109 damage = 66;
9110 defense = 24;
9111 lifeMax = 320;
9114 knockBackResist = 0.5f;
9115 value = 600f;
9117 }
9118 else if (type == 532)
9119 {
9120 width = 32;
9121 height = 31;
9122 aiStyle = 3;
9123 damage = 65;
9124 defense = 34;
9125 lifeMax = 270;
9128 knockBackResist = 0.3f;
9129 value = 800f;
9130 npcSlots = 0.75f;
9131 }
9132 else if (type == 533)
9133 {
9134 width = 28;
9135 height = 62;
9136 aiStyle = 8;
9137 damage = 40;
9138 defense = 20;
9139 lifeMax = 220;
9142 knockBackResist = 0f;
9143 value = 1200f;
9144 npcSlots = 2f;
9145 }
9146 else if (type == 493)
9147 {
9148 lifeMax = 20000;
9149 defense = 20;
9150 damage = 0;
9151 width = 130;
9152 height = 270;
9153 aiStyle = 94;
9156 value = 0f;
9157 knockBackResist = 0f;
9158 noGravity = true;
9159 noTileCollide = true;
9160 npcSlots = 0f;
9161 }
9162 else if (type == 402)
9163 {
9164 noTileCollide = true;
9165 npcSlots = 1f;
9166 width = 32;
9167 height = 32;
9168 aiStyle = 6;
9169 netAlways = true;
9170 damage = 80;
9171 defense = 10;
9172 lifeMax = 1200;
9175 noGravity = true;
9176 knockBackResist = 0f;
9177 value = 0f;
9178 scale = 1f;
9179 }
9180 else if (type == 405)
9181 {
9182 width = 44;
9183 height = 44;
9184 aiStyle = 85;
9185 damage = 120;
9186 defense = 50;
9187 lifeMax = 300;
9190 knockBackResist = 0.3f;
9191 noGravity = true;
9192 npcSlots = 2f;
9193 }
9194 else if (type == 406)
9195 {
9196 width = 22;
9197 height = 22;
9198 aiStyle = 95;
9199 damage = 70;
9200 defense = 0;
9201 lifeMax = 300;
9204 knockBackResist = 0.4f;
9205 noGravity = true;
9206 }
9207 else if (type == 411)
9208 {
9209 width = 22;
9210 height = 56;
9211 aiStyle = 3;
9212 damage = 80;
9213 defense = 34;
9214 lifeMax = 700;
9217 knockBackResist = 0.4f;
9218 }
9219 else if (type == 409)
9220 {
9221 width = 34;
9222 height = 42;
9223 aiStyle = 3;
9224 damage = 70;
9225 defense = 40;
9226 lifeMax = 800;
9229 knockBackResist = 0.4f;
9230 npcSlots = 3f;
9231 }
9232 else if (type == 410)
9233 {
9234 width = 22;
9235 height = 22;
9236 aiStyle = 26;
9237 damage = 80;
9238 defense = 10;
9239 lifeMax = 200;
9242 knockBackResist = 0.3f;
9243 npcSlots = 0.5f;
9244 }
9245 else if (type == 407)
9246 {
9247 width = 40;
9248 height = 60;
9249 aiStyle = 96;
9250 damage = 70;
9251 defense = 38;
9252 lifeMax = 1500;
9255 noGravity = true;
9256 knockBackResist = 0.03f;
9257 npcSlots = 3f;
9258 }
9259 else if (type == 507)
9260 {
9261 lifeMax = 20000;
9262 defense = 20;
9263 damage = 0;
9264 width = 130;
9265 height = 270;
9266 aiStyle = 94;
9269 value = 0f;
9270 knockBackResist = 0f;
9271 noGravity = true;
9272 noTileCollide = true;
9273 npcSlots = 0f;
9274 }
9275 else if (type == 423)
9276 {
9277 width = 50;
9278 height = 44;
9279 aiStyle = 26;
9280 damage = 90;
9281 defense = 46;
9282 lifeMax = 850;
9285 knockBackResist = 0.2f;
9286 npcSlots = 1f;
9287 }
9288 else if (type == 421)
9289 {
9290 width = 44;
9291 height = 44;
9292 aiStyle = 85;
9293 damage = 70;
9294 defense = 34;
9295 lifeMax = 330;
9298 knockBackResist = 0.5f;
9299 noGravity = true;
9300 npcSlots = 1f;
9301 }
9302 else if (type == 424)
9303 {
9304 width = 22;
9305 height = 56;
9306 aiStyle = 3;
9307 damage = 80;
9308 defense = 30;
9309 lifeMax = 700;
9312 knockBackResist = 0.6f;
9313 npcSlots = 2f;
9314 }
9315 else if (type == 420)
9316 {
9317 width = 40;
9318 height = 40;
9319 aiStyle = 97;
9320 damage = 75;
9321 defense = 20;
9322 lifeMax = 1300;
9325 knockBackResist = 0.5f;
9326 noTileCollide = true;
9327 noGravity = true;
9328 npcSlots = 3f;
9329 }
9330 else if (type == 422)
9331 {
9332 lifeMax = 20000;
9333 defense = 20;
9334 damage = 0;
9335 width = 130;
9336 height = 270;
9337 aiStyle = 94;
9340 value = 0f;
9341 knockBackResist = 0f;
9342 noGravity = true;
9343 noTileCollide = true;
9344 npcSlots = 0f;
9345 }
9346 else if (type == 425)
9347 {
9348 width = 30;
9349 height = 56;
9350 aiStyle = 3;
9351 damage = 100;
9352 defense = 40;
9353 lifeMax = 800;
9356 knockBackResist = 0.4f;
9357 }
9358 else if (type == 429)
9359 {
9360 width = 22;
9361 height = 56;
9362 aiStyle = 3;
9363 damage = 90;
9364 defense = 34;
9365 lifeMax = 700;
9368 knockBackResist = 0.6f;
9369 npcSlots = 2f;
9370 }
9371 else if (type == 428)
9372 {
9373 width = 24;
9374 height = 26;
9375 aiStyle = 3;
9376 damage = 50;
9377 defense = 6;
9378 lifeMax = 200;
9381 }
9382 else if (type == 427)
9383 {
9384 width = 40;
9385 height = 28;
9386 aiStyle = 3;
9387 damage = 75;
9388 defense = 20;
9389 lifeMax = 500;
9392 knockBackResist = 0.5f;
9393 npcSlots = 0.5f;
9394 }
9395 else if (type == 426)
9396 {
9397 width = 50;
9398 height = 62;
9399 aiStyle = 3;
9400 damage = 100;
9401 defense = 44;
9402 lifeMax = 1000;
9405 knockBackResist = 0.3f;
9406 }
9407 else if (type == 517)
9408 {
9409 lifeMax = 20000;
9410 defense = 20;
9411 damage = 0;
9412 width = 130;
9413 height = 270;
9414 aiStyle = 94;
9417 value = 0f;
9418 knockBackResist = 0f;
9419 noGravity = true;
9420 noTileCollide = true;
9421 npcSlots = 0f;
9422 }
9423 else if (type == 412)
9424 {
9425 width = 20;
9426 height = 20;
9427 aiStyle = 6;
9428 netAlways = true;
9429 damage = 120;
9430 defense = 1000;
9431 lifeMax = 10000;
9434 noGravity = true;
9435 noTileCollide = true;
9436 knockBackResist = 0f;
9437 dontTakeDamage = true;
9438 npcSlots = 2f;
9439 }
9440 else if (type == 413)
9441 {
9442 width = 20;
9443 height = 20;
9444 aiStyle = 6;
9445 netAlways = true;
9446 damage = 80;
9447 defense = 1000;
9448 lifeMax = 10000;
9451 noGravity = true;
9452 noTileCollide = true;
9453 knockBackResist = 0f;
9454 dontCountMe = true;
9455 dontTakeDamage = true;
9456 npcSlots = 0f;
9457 }
9458 else if (type == 414)
9459 {
9460 width = 20;
9461 height = 20;
9462 aiStyle = 6;
9463 netAlways = true;
9464 damage = 50;
9465 defense = 0;
9466 lifeMax = 10000;
9469 noGravity = true;
9470 noTileCollide = true;
9471 knockBackResist = 0f;
9472 dontCountMe = true;
9474 npcSlots = 0f;
9475 }
9476 else if (type == 415)
9477 {
9478 lifeMax = 800;
9479 defense = 32;
9480 damage = 55;
9481 width = 60;
9482 height = 40;
9483 aiStyle = 3;
9486 knockBackResist = 0.2f;
9487 }
9488 else if (type == 416)
9489 {
9490 damage = 80;
9491 defense = 28;
9492 lifeMax = 800;
9493 width = 18;
9494 height = 40;
9495 aiStyle = 75;
9498 knockBackResist = 0.2f;
9499 }
9500 else if (type == 518)
9501 {
9502 lifeMax = 1000;
9503 defense = 28;
9504 damage = 80;
9505 width = 22;
9506 height = 56;
9507 aiStyle = 3;
9510 knockBackResist = 0.4f;
9511 }
9512 else if (type == 417)
9513 {
9514 npcSlots = 2f;
9515 width = 46;
9516 height = 52;
9517 aiStyle = 39;
9518 damage = 80;
9519 defense = 34;
9520 lifeMax = 700;
9522 knockBackResist = 0f;
9524 }
9525 else if (type == 418)
9526 {
9527 width = 38;
9528 height = 38;
9529 aiStyle = 74;
9530 damage = 70;
9531 defense = 26;
9532 lifeMax = 600;
9535 noGravity = true;
9536 noTileCollide = true;
9537 knockBackResist = 0.2f;
9538 }
9539 else if (type == 419)
9540 {
9541 lifeMax = 800;
9542 defense = 30;
9543 damage = 90;
9544 width = 22;
9545 height = 56;
9546 aiStyle = 3;
9549 knockBackResist = 0.4f;
9550 }
9551 else if (type == 516)
9552 {
9553 width = 26;
9554 height = 26;
9555 aiStyle = 9;
9556 damage = 100;
9557 defense = 0;
9558 lifeMax = 1;
9559 HitSound = null;
9560 DeathSound = null;
9561 noGravity = true;
9562 noTileCollide = false;
9563 alpha = 0;
9564 knockBackResist = 0f;
9565 }
9566 else if (type == 519)
9567 {
9568 width = 26;
9569 height = 26;
9570 aiStyle = 99;
9571 damage = 120;
9572 defense = 0;
9573 lifeMax = 1;
9574 HitSound = null;
9575 DeathSound = null;
9576 noGravity = true;
9577 noTileCollide = false;
9578 alpha = 0;
9579 knockBackResist = 0f;
9580 }
9581 else if (type == 162)
9582 {
9583 width = 18;
9584 height = 40;
9585 aiStyle = 3;
9586 damage = 65;
9587 defense = 18;
9588 lifeMax = 350;
9591 knockBackResist = 0.3f;
9592 value = 600f;
9593 }
9594 else if (type == 166)
9595 {
9596 width = 18;
9597 height = 40;
9598 aiStyle = 3;
9599 damage = 70;
9600 defense = 26;
9601 lifeMax = 450;
9604 knockBackResist = 0.2f;
9605 value = 1000f;
9606 }
9607 else if (type == 253)
9608 {
9609 noGravity = true;
9610 noTileCollide = true;
9611 width = 24;
9612 height = 44;
9613 aiStyle = 22;
9614 damage = 80;
9615 defense = 22;
9616 lifeMax = 700;
9619 alpha = 100;
9620 value = 1500f;
9621 knockBackResist = 0.6f;
9622 }
9623 else if (type == 158)
9624 {
9625 npcSlots = 2f;
9626 width = 22;
9627 height = 22;
9628 aiStyle = 14;
9629 damage = 60;
9630 defense = 32;
9631 lifeMax = 750;
9633 knockBackResist = 0.75f;
9635 value = 5000f;
9636 }
9637 else if (type == 159)
9638 {
9639 npcSlots = 2f;
9640 width = 18;
9641 height = 40;
9642 aiStyle = 3;
9643 damage = 80;
9644 defense = 24;
9645 lifeMax = 750;
9648 knockBackResist = 0.4f;
9649 value = 5000f;
9650 }
9651 else if (type == 460)
9652 {
9653 width = 18;
9654 height = 40;
9655 aiStyle = 3;
9656 damage = 70;
9657 defense = 30;
9658 lifeMax = 700;
9661 knockBackResist = 0.25f;
9662 value = 1000f;
9663 }
9664 else if (type == 461)
9665 {
9666 width = 18;
9667 height = 40;
9668 aiStyle = 3;
9669 damage = 60;
9670 defense = 22;
9671 lifeMax = 400;
9674 knockBackResist = 0.3f;
9675 value = 1000f;
9676 }
9677 else if (type == 462)
9678 {
9679 width = 20;
9680 height = 24;
9681 aiStyle = 3;
9682 damage = 70;
9683 defense = 14;
9684 lifeMax = 270;
9687 knockBackResist = 0.7f;
9688 value = 600f;
9689 npcSlots = 0.5f;
9690 }
9691 else if (type == 463)
9692 {
9693 width = 18;
9694 height = 40;
9695 aiStyle = 3;
9696 damage = 100;
9697 defense = 34;
9698 lifeMax = 4000;
9701 knockBackResist = 0.1f;
9702 value = 3000f;
9703 }
9704 else if (type == 466)
9705 {
9706 width = 18;
9707 height = 40;
9708 aiStyle = 3;
9709 damage = 70;
9710 defense = 40;
9711 lifeMax = 550;
9714 knockBackResist = 0.5f;
9715 value = 1500f;
9716 }
9717 else if (type == 467)
9718 {
9719 width = 22;
9720 height = 22;
9721 aiStyle = 85;
9722 damage = 100;
9723 defense = 80;
9724 lifeMax = 350;
9727 value = 900f;
9728 knockBackResist = 0.7f;
9729 noGravity = true;
9730 }
9731 else if (type == 469)
9732 {
9733 width = 38;
9734 height = 26;
9735 aiStyle = 3;
9736 damage = 68;
9737 defense = 28;
9738 lifeMax = 600;
9741 knockBackResist = 0.35f;
9742 value = 1300f;
9743 }
9744 else if (type == 468)
9745 {
9746 width = 18;
9747 height = 40;
9748 aiStyle = 3;
9749 damage = 65;
9750 defense = 24;
9751 lifeMax = 500;
9754 knockBackResist = 0.6f;
9755 value = 1300f;
9756 }
9757 else if (type == 477)
9758 {
9759 noGravity = true;
9760 netAlways = true;
9761 width = 80;
9762 height = 50;
9763 aiStyle = 88;
9764 damage = 80;
9765 defense = 30;
9766 lifeMax = 6000;
9769 value = 50000f;
9770 knockBackResist = 0.2f;
9771 rarity = 1;
9772 }
9773 else if (type == 478)
9774 {
9775 width = 34;
9776 height = 34;
9777 aiStyle = 89;
9778 damage = 0;
9779 defense = 30;
9780 lifeMax = 200;
9783 value = 0f;
9784 knockBackResist = 0.7f;
9785 npcSlots = 0f;
9786 }
9787 else if (type == 479)
9788 {
9789 width = 46;
9790 height = 30;
9791 aiStyle = 90;
9792 damage = 50;
9793 defense = 14;
9794 lifeMax = 700;
9797 knockBackResist = 0.3f;
9798 value = 0f;
9799 npcSlots = 0.1f;
9800 }
9801 else if (type == 26)
9802 {
9803 scale = 0.9f;
9804 width = 18;
9805 height = 38;
9806 aiStyle = 3;
9807 damage = 12;
9808 defense = 4;
9809 lifeMax = 60;
9812 knockBackResist = 0.8f;
9813 value = 100f;
9814 }
9815 else if (type == 27)
9816 {
9817 scale = 0.95f;
9818 width = 18;
9819 height = 38;
9820 aiStyle = 3;
9821 damage = 20;
9822 defense = 6;
9823 lifeMax = 80;
9826 knockBackResist = 0.7f;
9827 value = 200f;
9828 }
9829 else if (type == 28)
9830 {
9831 scale = 1.1f;
9832 width = 18;
9833 height = 38;
9834 aiStyle = 3;
9835 damage = 25;
9836 defense = 8;
9837 lifeMax = 110;
9840 knockBackResist = 0.5f;
9841 value = 150f;
9842 }
9843 else if (type == 29)
9844 {
9845 width = 18;
9846 height = 38;
9847 aiStyle = 8;
9848 damage = 20;
9849 defense = 2;
9850 lifeMax = 40;
9853 knockBackResist = 0.6f;
9854 value = 200f;
9855 }
9856 else if (type == 30)
9857 {
9858 width = 16;
9859 height = 16;
9860 aiStyle = 9;
9861 damage = 20;
9862 defense = 0;
9863 lifeMax = 1;
9866 noGravity = true;
9867 noTileCollide = true;
9868 alpha = 100;
9869 knockBackResist = 0f;
9870 }
9871 else if (type == 111)
9872 {
9873 scale = 0.95f;
9874 width = 18;
9875 height = 38;
9876 aiStyle = 3;
9877 damage = 20;
9878 defense = 6;
9879 lifeMax = 80;
9882 knockBackResist = 0.7f;
9883 value = 200f;
9884 }
9885 else if (type == 471)
9886 {
9887 width = 18;
9888 height = 38;
9889 aiStyle = 3;
9890 damage = 80;
9891 defense = 26;
9892 lifeMax = 2000;
9895 knockBackResist = 0.15f;
9896 value = 5000f;
9897 rarity = 1;
9898 }
9899 else if (type == 472)
9900 {
9901 width = 40;
9902 height = 24;
9903 aiStyle = 86;
9904 damage = 50;
9905 defense = 18;
9906 lifeMax = 180;
9909 knockBackResist = 0f;
9910 value = 0f;
9911 npcSlots = 0.1f;
9912 }
9913 else if (type == 520)
9914 {
9915 width = 34;
9916 height = 110;
9917 aiStyle = 3;
9918 damage = 60;
9919 defense = 40;
9920 lifeMax = 2000;
9923 knockBackResist = 0f;
9924 }
9925 else if (type == 521)
9926 {
9927 width = 60;
9928 height = 60;
9929 aiStyle = 86;
9930 damage = 90;
9931 defense = 30;
9932 lifeMax = 2000;
9935 knockBackResist = 0f;
9936 }
9937 else if (type == 522)
9938 {
9939 width = 26;
9940 height = 26;
9941 aiStyle = 100;
9942 damage = 120;
9943 defense = 0;
9944 lifeMax = 400;
9945 HitSound = null;
9946 DeathSound = null;
9947 noGravity = true;
9948 noTileCollide = true;
9949 alpha = 0;
9950 knockBackResist = 0f;
9951 }
9952 else if (type == 523)
9953 {
9954 width = 42;
9955 height = 42;
9956 aiStyle = 101;
9957 damage = 30;
9958 defense = 0;
9959 lifeMax = 500;
9962 noGravity = true;
9963 noTileCollide = true;
9964 alpha = 0;
9965 knockBackResist = 0f;
9966 chaseable = false;
9967 alpha = 255;
9968 canGhostHeal = false;
9969 }
9970 else if (type == 534)
9971 {
9972 width = 18;
9973 height = 40;
9974 aiStyle = 3;
9975 damage = 14;
9976 defense = 20;
9977 lifeMax = 400;
9980 knockBackResist = 0.3f;
9981 value = 0f;
9982 lavaImmune = true;
9983 netAlways = true;
9984 rarity = 2;
9985 }
9986 else if (type == 535)
9987 {
9988 width = 24;
9989 height = 18;
9990 aiStyle = 1;
9991 damage = 14;
9992 defense = 5;
9993 lifeMax = 50;
9994 scale = 1.1f;
9997 alpha = 0;
9998 value = 40f;
9999 }
10000 else if (type == 536)
10001 {
10002 width = 18;
10003 height = 40;
10004 aiStyle = 3;
10005 damage = 14;
10006 defense = 8;
10007 lifeMax = 200;
10010 knockBackResist = 0.5f;
10011 value = 1000f;
10012 rarity = 2;
10013 }
10014 else if (type == 537)
10015 {
10016 npcSlots = 2f;
10017 width = 30;
10018 height = 24;
10019 aiStyle = 1;
10020 damage = 15;
10021 defense = 5;
10022 lifeMax = 50;
10025 alpha = 50;
10026 color = new Color(255, 250, 0, 0) * 0.2f;
10027 value = 75f;
10028 knockBackResist = 0.7f;
10029 }
10030 else if (type == 538)
10031 {
10032 width = 18;
10033 height = 20;
10034 aiStyle = 7;
10035 damage = 0;
10036 defense = 0;
10037 lifeMax = 5;
10040 catchItem = 3563;
10041 }
10042 else if (type == 539)
10043 {
10044 width = 18;
10045 height = 20;
10046 aiStyle = 7;
10047 damage = 0;
10048 defense = 0;
10049 lifeMax = 5;
10052 catchItem = 3564;
10053 rarity = 3;
10054 }
10055 else if (type == 541)
10056 {
10057 width = 30;
10058 height = 76;
10059 aiStyle = 102;
10060 damage = 40;
10061 defense = 30;
10062 lifeMax = 5000;
10065 knockBackResist = 0.05f;
10066 value = Item.buyPrice(0, 1, 50);
10067 rarity = 2;
10068 }
10069 else if (type == 542)
10070 {
10071 noGravity = true;
10072 width = 100;
10073 height = 24;
10074 aiStyle = 103;
10075 damage = 50;
10076 defense = 20;
10077 lifeMax = 360;
10080 value = 400f;
10081 knockBackResist = 0.9f;
10082 behindTiles = true;
10083 }
10084 else if (type == 543)
10085 {
10086 noGravity = true;
10087 width = 100;
10088 height = 24;
10089 aiStyle = 103;
10090 damage = 60;
10091 defense = 24;
10092 lifeMax = 380;
10095 value = 400f;
10096 knockBackResist = 0.8f;
10097 behindTiles = true;
10098 }
10099 else if (type == 544)
10100 {
10101 noGravity = true;
10102 width = 100;
10103 height = 24;
10104 aiStyle = 103;
10105 damage = 64;
10106 defense = 22;
10107 lifeMax = 400;
10110 value = 400f;
10111 knockBackResist = 0.8f;
10112 behindTiles = true;
10113 }
10114 else if (type == 545)
10115 {
10116 noGravity = true;
10117 width = 100;
10118 height = 24;
10119 aiStyle = 103;
10120 damage = 54;
10121 defense = 26;
10122 lifeMax = 450;
10125 value = 400f;
10126 knockBackResist = 0.7f;
10127 behindTiles = true;
10128 }
10129 else if (type == 546)
10130 {
10131 width = 30;
10132 height = 30;
10133 aiStyle = 26;
10134 damage = 30;
10135 defense = 6;
10136 lifeMax = 50;
10139 knockBackResist = 0.8f;
10140 value = 100f;
10141 }
10142 else if (type == 547)
10143 {
10144 width = 16;
10145 height = 16;
10146 aiStyle = 104;
10147 defense = 10;
10148 lifeMax = 10;
10151 knockBackResist = 1f;
10152 noGravity = true;
10153 noTileCollide = true;
10154 }
10155 else if (type == 548)
10156 {
10157 width = 40;
10158 height = 40;
10159 aiStyle = 105;
10160 defense = 14;
10161 lifeMax = 1000;
10164 knockBackResist = 0f;
10165 friendly = true;
10166 npcSlots = 0f;
10167 hide = true;
10168 if (Main.hardMode && downedMechBossAny)
10169 {
10170 defense = 18;
10171 lifeMax = 3000;
10172 }
10173 if (downedGolemBoss && Main.hardMode)
10174 {
10175 defense = 20;
10176 lifeMax = 5000;
10177 }
10178 if (Main.masterMode)
10179 {
10180 lifeMax *= 3;
10181 }
10182 else if (Main.expertMode)
10183 {
10184 lifeMax *= 2;
10185 }
10186 lavaImmune = true;
10188 netAlways = true;
10189 }
10190 else if (type == 549)
10191 {
10192 lifeMax = 5;
10193 defense = 20;
10194 damage = 0;
10195 width = 78;
10196 height = 130;
10197 aiStyle = 106;
10200 value = 0f;
10201 knockBackResist = 0f;
10202 noGravity = true;
10203 noTileCollide = true;
10204 npcSlots = 0f;
10205 behindTiles = true;
10206 dontTakeDamage = true;
10207 lavaImmune = true;
10209 netAlways = true;
10210 }
10211 else if (type == 552)
10212 {
10213 lifeMax = 30;
10214 defense = 14;
10215 damage = 18;
10216 width = 18;
10217 height = 40;
10218 aiStyle = 107;
10221 knockBackResist = 0.2f;
10222 value = 0f;
10223 npcSlots = 0f;
10224 lavaImmune = true;
10226 netAlways = true;
10227 }
10228 else if (type == 553)
10229 {
10230 lifeMax = 170;
10231 defense = 20;
10232 damage = 46;
10233 width = 18;
10234 height = 40;
10235 aiStyle = 107;
10238 knockBackResist = 0.2f;
10239 value = 0f;
10240 npcSlots = 0f;
10241 lavaImmune = true;
10243 netAlways = true;
10244 }
10245 else if (type == 554)
10246 {
10247 lifeMax = 560;
10248 defense = 28;
10249 damage = 70;
10250 width = 18;
10251 height = 40;
10252 aiStyle = 107;
10255 knockBackResist = 0.15f;
10256 value = 0f;
10257 npcSlots = 0f;
10258 lavaImmune = true;
10260 netAlways = true;
10261 }
10262 else if (type == 561)
10263 {
10264 lifeMax = 60;
10265 defense = 18;
10266 damage = 30;
10267 width = 26;
10268 height = 52;
10269 aiStyle = 107;
10272 knockBackResist = 0.1f;
10273 value = 0f;
10274 npcSlots = 0f;
10275 lavaImmune = true;
10277 netAlways = true;
10278 }
10279 else if (type == 562)
10280 {
10281 lifeMax = 300;
10282 defense = 28;
10283 damage = 60;
10284 width = 26;
10285 height = 52;
10286 aiStyle = 107;
10289 knockBackResist = 0.1f;
10290 value = 0f;
10291 npcSlots = 0f;
10292 lavaImmune = true;
10294 netAlways = true;
10295 }
10296 else if (type == 563)
10297 {
10298 lifeMax = 1000;
10299 defense = 38;
10300 damage = 80;
10301 width = 26;
10302 height = 52;
10303 aiStyle = 107;
10306 knockBackResist = 0.05f;
10307 value = 0f;
10308 npcSlots = 0f;
10309 lavaImmune = true;
10311 netAlways = true;
10312 }
10313 else if (type == 555)
10314 {
10315 lifeMax = 50;
10316 defense = 16;
10317 damage = 26;
10318 width = 18;
10319 height = 40;
10320 aiStyle = 107;
10323 knockBackResist = 0.2f;
10324 value = 0f;
10325 npcSlots = 0f;
10326 lavaImmune = true;
10328 netAlways = true;
10329 }
10330 else if (type == 556)
10331 {
10332 lifeMax = 200;
10333 defense = 26;
10334 damage = 55;
10335 width = 18;
10336 height = 40;
10337 aiStyle = 107;
10340 knockBackResist = 0.2f;
10341 value = 0f;
10342 npcSlots = 0f;
10343 lavaImmune = true;
10345 netAlways = true;
10346 }
10347 else if (type == 557)
10348 {
10349 lifeMax = 700;
10350 defense = 34;
10351 damage = 75;
10352 width = 18;
10353 height = 40;
10354 aiStyle = 107;
10357 knockBackResist = 0.15f;
10358 value = 0f;
10359 npcSlots = 0f;
10360 lavaImmune = true;
10362 netAlways = true;
10363 }
10364 else if (type == 558)
10365 {
10366 width = 38;
10367 height = 38;
10368 aiStyle = 108;
10369 damage = 30;
10370 defense = 4;
10371 lifeMax = 60;
10374 noGravity = true;
10375 noTileCollide = true;
10376 knockBackResist = 0.2f;
10377 npcSlots = 0f;
10378 lavaImmune = true;
10380 netAlways = true;
10381 }
10382 else if (type == 559)
10383 {
10384 width = 38;
10385 height = 38;
10386 aiStyle = 108;
10387 damage = 75;
10388 defense = 16;
10389 lifeMax = 180;
10392 noGravity = true;
10393 noTileCollide = true;
10394 knockBackResist = 0.2f;
10395 npcSlots = 0f;
10396 lavaImmune = true;
10398 netAlways = true;
10399 }
10400 else if (type == 560)
10401 {
10402 width = 38;
10403 height = 38;
10404 aiStyle = 108;
10405 damage = 100;
10406 defense = 30;
10407 lifeMax = 600;
10410 noGravity = true;
10411 noTileCollide = true;
10412 knockBackResist = 0.05f;
10413 npcSlots = 0f;
10414 lavaImmune = true;
10416 netAlways = true;
10417 }
10418 else if (type == 550)
10419 {
10420 townNPC = true;
10421 friendly = true;
10422 width = 18;
10423 height = 40;
10424 aiStyle = 7;
10425 damage = 10;
10426 defense = 15;
10427 lifeMax = 250;
10430 knockBackResist = 0.5f;
10431 }
10432 else if (type == 576)
10433 {
10434 lifeMax = 5000;
10435 defense = 34;
10436 damage = 70;
10437 width = 96;
10438 height = 124;
10439 aiStyle = 107;
10442 knockBackResist = 0f;
10443 value = 0f;
10444 npcSlots = 0f;
10445 lavaImmune = true;
10447 netAlways = true;
10448 }
10449 else if (type == 577)
10450 {
10451 lifeMax = 13000;
10452 defense = 40;
10453 damage = 90;
10454 width = 96;
10455 height = 124;
10456 aiStyle = 107;
10459 knockBackResist = 0f;
10460 value = 0f;
10461 npcSlots = 0f;
10462 lavaImmune = true;
10464 netAlways = true;
10465 }
10466 else if (type == 568)
10467 {
10468 lifeMax = 500;
10469 defense = 30;
10470 damage = 50;
10471 width = 18;
10472 height = 40;
10473 aiStyle = 107;
10476 knockBackResist = 0.15f;
10477 value = 0f;
10478 npcSlots = 0f;
10479 lavaImmune = true;
10481 netAlways = true;
10482 }
10483 else if (type == 569)
10484 {
10485 lifeMax = 1400;
10486 defense = 40;
10487 damage = 80;
10488 width = 18;
10489 height = 40;
10490 aiStyle = 107;
10493 knockBackResist = 0.05f;
10494 value = 0f;
10495 npcSlots = 0f;
10496 lavaImmune = true;
10498 netAlways = true;
10499 }
10500 else if (type == 566)
10501 {
10502 lifeMax = 25;
10503 defense = 12;
10504 damage = 18;
10505 width = 18;
10506 height = 40;
10507 aiStyle = 107;
10510 knockBackResist = 0.3f;
10511 value = 0f;
10512 npcSlots = 0f;
10513 lavaImmune = true;
10515 netAlways = true;
10516 }
10517 else if (type == 567)
10518 {
10519 lifeMax = 480;
10520 defense = 22;
10521 damage = 70;
10522 width = 18;
10523 height = 40;
10524 aiStyle = 107;
10527 knockBackResist = 0.2f;
10528 value = 0f;
10529 npcSlots = 0f;
10530 lavaImmune = true;
10532 netAlways = true;
10533 }
10534 else if (type == 572)
10535 {
10536 lifeMax = 260;
10537 defense = 26;
10538 damage = 60;
10539 width = 18;
10540 height = 40;
10541 aiStyle = 107;
10544 knockBackResist = 0.2f;
10545 value = 0f;
10546 npcSlots = 0f;
10547 lavaImmune = true;
10549 netAlways = true;
10550 }
10551 else if (type == 573)
10552 {
10553 lifeMax = 800;
10554 defense = 32;
10555 damage = 80;
10556 width = 18;
10557 height = 40;
10558 aiStyle = 107;
10561 knockBackResist = 0.1f;
10562 value = 0f;
10563 npcSlots = 0f;
10564 lavaImmune = true;
10566 netAlways = true;
10567 }
10568 else if (type == 570)
10569 {
10570 lifeMax = 900;
10571 defense = 30;
10572 damage = 60;
10573 width = 42;
10574 height = 58;
10575 aiStyle = 107;
10578 knockBackResist = 0f;
10579 value = 0f;
10580 npcSlots = 0f;
10581 lavaImmune = true;
10583 netAlways = true;
10584 }
10585 else if (type == 571)
10586 {
10587 lifeMax = 3000;
10588 defense = 40;
10589 damage = 90;
10590 width = 42;
10591 height = 58;
10592 aiStyle = 107;
10595 knockBackResist = 0f;
10596 value = 0f;
10597 npcSlots = 0f;
10598 lavaImmune = true;
10600 netAlways = true;
10601 }
10602 else if (type == 564)
10603 {
10604 lifeMax = 800;
10605 defense = 18;
10606 damage = 40;
10607 width = 34;
10608 height = 62;
10609 aiStyle = 109;
10612 knockBackResist = 0f;
10613 value = 0f;
10614 npcSlots = 0f;
10615 noGravity = true;
10616 lavaImmune = true;
10618 netAlways = true;
10619 }
10620 else if (type == 565)
10621 {
10622 lifeMax = 4000;
10623 defense = 38;
10624 damage = 90;
10625 width = 34;
10626 height = 62;
10627 aiStyle = 109;
10630 knockBackResist = 0f;
10631 value = 0f;
10632 npcSlots = 0f;
10633 noGravity = true;
10634 lavaImmune = true;
10636 netAlways = true;
10637 }
10638 else if (type == 574)
10639 {
10640 width = 38;
10641 height = 38;
10642 aiStyle = 108;
10643 damage = 50;
10644 defense = 16;
10645 lifeMax = 170;
10648 noGravity = true;
10649 noTileCollide = true;
10650 knockBackResist = 0.4f;
10651 npcSlots = 0f;
10652 lavaImmune = true;
10654 netAlways = true;
10655 }
10656 else if (type == 575)
10657 {
10658 width = 38;
10659 height = 38;
10660 aiStyle = 108;
10661 damage = 80;
10662 defense = 32;
10663 lifeMax = 580;
10666 noGravity = true;
10667 noTileCollide = true;
10668 knockBackResist = 0.25f;
10669 npcSlots = 0f;
10670 lavaImmune = true;
10672 netAlways = true;
10673 }
10674 else if (type == 551)
10675 {
10676 damage = 80;
10677 defense = 38;
10678 lifeMax = 50000;
10679 width = 190;
10680 height = 90;
10681 aiStyle = 110;
10684 knockBackResist = 0f;
10685 value = 0f;
10686 noGravity = true;
10687 noTileCollide = true;
10688 npcSlots = 0f;
10689 lavaImmune = true;
10691 netAlways = true;
10692 }
10693 else if (type == 578)
10694 {
10695 width = 30;
10696 height = 24;
10697 aiStyle = 111;
10698 damage = 80;
10699 defense = 36;
10700 lifeMax = 500;
10703 noGravity = true;
10704 noTileCollide = true;
10705 knockBackResist = 0.8f;
10706 npcSlots = 0f;
10707 lavaImmune = true;
10709 netAlways = true;
10710 }
10711 else if (type == 579)
10712 {
10713 friendly = true;
10714 width = 34;
10715 height = 8;
10716 aiStyle = 0;
10717 damage = 10;
10718 defense = 15;
10719 lifeMax = 250;
10722 knockBackResist = 0.5f;
10723 scale = 1f;
10724 rarity = 1;
10725 }
10726 else if (type == 582)
10727 {
10728 width = 18;
10729 height = 18;
10730 aiStyle = 3;
10731 damage = 10;
10732 defense = 2;
10733 lifeMax = 30;
10736 knockBackResist = 0.75f;
10737 value = 40f;
10738 npcSlots = 0.4f;
10739 }
10740 else if (type == 583 || type == 584 || type == 585)
10741 {
10742 width = 18;
10743 height = 20;
10744 aiStyle = 112;
10745 damage = 0;
10746 defense = 0;
10747 lifeMax = 5;
10750 switch (type)
10751 {
10752 case 583:
10753 catchItem = 4068;
10754 break;
10755 case 584:
10756 catchItem = 4069;
10757 break;
10758 case 585:
10759 catchItem = 4070;
10760 break;
10761 }
10762 noGravity = true;
10763 rarity = 2;
10764 }
10765 else if (type == 586)
10766 {
10767 width = 18;
10768 height = 40;
10769 aiStyle = 3;
10770 damage = 40;
10771 defense = 20;
10772 lifeMax = 400;
10775 knockBackResist = 0f;
10776 value = 1000f;
10777 alpha = 255;
10778 rarity = 1;
10779 }
10780 else if (type == 587)
10781 {
10782 width = 32;
10783 height = 18;
10784 aiStyle = 44;
10785 damage = 35;
10786 defense = 18;
10787 lifeMax = 300;
10789 knockBackResist = 0f;
10791 value = 1000f;
10792 alpha = 255;
10793 rarity = 1;
10794 }
10795 else if (type == 588)
10796 {
10797 townNPC = true;
10798 friendly = true;
10799 width = 18;
10800 height = 40;
10801 aiStyle = 7;
10802 damage = 10;
10803 defense = 15;
10804 lifeMax = 250;
10807 knockBackResist = 0.5f;
10808 }
10809 else if (type == 589)
10810 {
10811 friendly = true;
10812 width = 18;
10813 height = 34;
10814 aiStyle = 0;
10815 damage = 10;
10816 defense = 15;
10817 lifeMax = 250;
10820 knockBackResist = 0.5f;
10821 rarity = 1;
10822 }
10823 else if (type == 590 || type == 591)
10824 {
10825 width = 18;
10826 height = 40;
10827 aiStyle = 3;
10828 damage = 14;
10829 defense = 6;
10830 lifeMax = 45;
10833 knockBackResist = 0.5f;
10834 value = 60f;
10835 }
10836 else if (type == 592)
10837 {
10838 noGravity = true;
10839 width = 20;
10840 height = 18;
10841 aiStyle = 16;
10842 damage = 0;
10843 defense = 0;
10844 lifeMax = 5;
10847 knockBackResist = 0.5f;
10848 catchItem = 4274;
10849 rarity = 3;
10850 }
10851 else if (type == 593)
10852 {
10853 width = 18;
10854 height = 20;
10855 aiStyle = 7;
10856 damage = 0;
10857 defense = 0;
10858 lifeMax = 5;
10861 catchItem = 4274;
10862 rarity = 3;
10863 }
10864 else if (type == 594)
10865 {
10866 width = 20;
10867 height = 20;
10868 aiStyle = 113;
10869 damage = 0;
10870 defense = 0;
10871 knockBackResist = 0.3f;
10872 lifeMax = 1;
10874 value = 0f;
10875 noGravity = true;
10876 }
10877 else if (type >= 595 && type <= 601)
10878 {
10879 timeLeft *= 3;
10880 width = 10;
10881 height = 10;
10882 aiStyle = 114;
10883 damage = 0;
10884 defense = 0;
10885 lifeMax = 5;
10888 npcSlots = 0.25f;
10889 noGravity = true;
10890 int num2 = type;
10891 if (num2 == 601)
10892 {
10893 rarity = 3;
10894 }
10895 catchItem = (short)(type - 595 + 4334);
10896 }
10897 else if (type == 602)
10898 {
10899 width = 22;
10900 height = 26;
10901 aiStyle = 7;
10902 damage = 0;
10903 defense = 0;
10904 lifeMax = 5;
10907 catchItem = 4359;
10908 }
10909 else if (type == 603)
10910 {
10911 width = 28;
10912 height = 22;
10913 aiStyle = 68;
10914 damage = 0;
10915 defense = 0;
10916 lifeMax = 5;
10919 catchItem = 4359;
10920 }
10921 else if (type == 604 || type == 605)
10922 {
10923 width = 10;
10924 height = 10;
10925 aiStyle = 115;
10926 damage = 0;
10927 defense = 0;
10928 lifeMax = 5;
10931 npcSlots = 0.25f;
10932 noGravity = true;
10933 int num2 = type;
10934 if (num2 == 605)
10935 {
10936 rarity = 3;
10937 }
10938 catchItem = (short)(type - 604 + 4361);
10939 }
10940 else if (type == 606)
10941 {
10942 width = 10;
10943 height = 4;
10944 aiStyle = 66;
10945 damage = 0;
10946 defense = 0;
10947 lifeMax = 5;
10950 npcSlots = 0.1f;
10951 catchItem = 4363;
10952 friendly = true;
10953 }
10954 else if (type == 607)
10955 {
10956 noGravity = true;
10957 width = 20;
10958 height = 18;
10959 aiStyle = 16;
10960 damage = 0;
10961 defense = 0;
10962 lifeMax = 5;
10965 knockBackResist = 0.5f;
10966 catchItem = 4373;
10967 }
10968 else if (type == 608)
10969 {
10970 width = 22;
10971 height = 26;
10972 aiStyle = 7;
10973 damage = 0;
10974 defense = 0;
10975 lifeMax = 5;
10978 catchItem = 4374;
10979 }
10980 else if (type == 609)
10981 {
10982 width = 28;
10983 height = 22;
10984 aiStyle = 68;
10985 damage = 0;
10986 defense = 0;
10987 lifeMax = 5;
10990 catchItem = 4374;
10991 }
10992 else if (type == 610)
10993 {
10994 width = 14;
10995 height = 12;
10996 aiStyle = 7;
10997 damage = 0;
10998 defense = 0;
10999 lifeMax = 5;
11002 npcSlots = 0.25f;
11003 catchItem = 4375;
11004 }
11005 else if (type == 611)
11006 {
11007 width = 18;
11008 height = 34;
11009 aiStyle = 24;
11010 damage = 0;
11011 defense = 0;
11012 lifeMax = 5;
11014 knockBackResist = 0.8f;
11016 catchItem = 4395;
11017 npcSlots = 0.4f;
11018 }
11019 else if (type == 612 || type == 613)
11020 {
11021 width = 10;
11022 height = 10;
11023 aiStyle = 116;
11024 damage = 0;
11025 defense = 0;
11026 lifeMax = 5;
11029 npcSlots = 0.25f;
11030 int num2 = type;
11031 if (num2 == 613)
11032 {
11033 rarity = 3;
11034 }
11035 catchItem = (short)(type - 612 + 4418);
11036 waterMovementSpeed = 1f;
11037 lavaMovementSpeed = 1f;
11038 honeyMovementSpeed = 1f;
11039 }
11040 else if (type == 614)
11041 {
11042 width = 18;
11043 height = 20;
11044 aiStyle = 7;
11045 damage = 0;
11046 defense = 0;
11047 lifeMax = 5;
11049 DeathSound = null;
11050 catchItem = 1338;
11051 }
11052 else if (type == 615)
11053 {
11054 noGravity = true;
11055 width = 20;
11056 height = 18;
11057 aiStyle = 16;
11058 damage = 0;
11059 defense = 0;
11060 lifeMax = 5;
11063 knockBackResist = 0.5f;
11064 }
11065 else if (type == 616 || type == 617)
11066 {
11067 width = 22;
11068 height = 20;
11069 aiStyle = 7;
11070 damage = 0;
11071 defense = 0;
11072 lifeMax = 5;
11075 knockBackResist = 0.5f;
11076 catchItem = (short)(type - 616 + 4464);
11077 }
11078 else if (type == 618)
11079 {
11080 noGravity = true;
11081 width = 100;
11082 height = 100;
11083 aiStyle = 117;
11084 damage = 55;
11085 defense = 24;
11086 lifeMax = 7000;
11089 knockBackResist = 0f;
11090 value = Item.buyPrice(0, 2);
11091 noTileCollide = true;
11092 rarity = 1;
11093 }
11094 else if (type == 619)
11095 {
11096 npcSlots = 1f;
11097 width = 44;
11098 height = 44;
11099 aiStyle = 5;
11100 damage = 60;
11101 defense = 16;
11102 lifeMax = 750;
11105 noGravity = true;
11106 knockBackResist = 0f;
11107 value = 500f;
11108 alpha = 255;
11109 }
11110 else if (type == 620)
11111 {
11112 lifeMax = 5000;
11113 defense = 30;
11114 damage = 70;
11115 width = 34;
11116 height = 58;
11117 aiStyle = 107;
11120 knockBackResist = 0f;
11121 value = Item.buyPrice(0, 0, 75);
11122 npcSlots = 0f;
11123 lavaImmune = true;
11125 netAlways = true;
11126 alpha = 255;
11127 rarity = 1;
11128 }
11129 else if (type == 621)
11130 {
11131 npcSlots = 5f;
11132 width = 28;
11133 height = 28;
11134 aiStyle = 6;
11135 damage = 90;
11136 defense = 0;
11137 lifeMax = 6000;
11140 noGravity = true;
11141 noTileCollide = true;
11142 knockBackResist = 0f;
11143 behindTiles = true;
11144 value = Item.buyPrice(0, 0, 75);
11145 alpha = 255;
11146 rarity = 1;
11147 }
11148 else if (type == 622)
11149 {
11150 width = 28;
11151 height = 28;
11152 aiStyle = 6;
11153 netAlways = true;
11154 damage = 60;
11155 defense = 30;
11156 lifeMax = 6000;
11159 noGravity = true;
11160 noTileCollide = true;
11161 knockBackResist = 0f;
11162 behindTiles = true;
11163 dontCountMe = true;
11164 npcSlots = 0f;
11165 alpha = 255;
11166 }
11167 else if (type == 623)
11168 {
11169 width = 28;
11170 height = 28;
11171 aiStyle = 6;
11172 netAlways = true;
11173 damage = 50;
11174 defense = 40;
11175 lifeMax = 6000;
11178 noGravity = true;
11179 noTileCollide = true;
11180 knockBackResist = 0f;
11181 behindTiles = true;
11182 dontCountMe = true;
11183 npcSlots = 0f;
11184 alpha = 255;
11185 }
11186 else if (type == 624)
11187 {
11188 width = 14;
11189 height = 30;
11190 aiStyle = 3;
11191 damage = 10;
11192 defense = 0;
11193 lifeMax = 25;
11196 knockBackResist = 1f;
11197 rarity = 1;
11198 }
11199 else if (type == 625)
11200 {
11201 width = 22;
11202 height = 20;
11203 aiStyle = 7;
11204 damage = 0;
11205 defense = 0;
11206 lifeMax = 5;
11209 knockBackResist = 0.5f;
11210 }
11211 else if (type == 626 || type == 627)
11212 {
11213 width = 16;
11214 height = 20;
11215 aiStyle = 118;
11216 damage = 0;
11217 defense = 0;
11218 lifeMax = 5;
11221 knockBackResist = 1f;
11222 int num2 = type;
11223 if (num2 == 627)
11224 {
11225 rarity = 3;
11226 }
11227 catchItem = 4480;
11228 if (type == 627)
11229 {
11230 catchItem = 4482;
11231 }
11232 }
11233 else if (type == 628)
11234 {
11235 width = 22;
11236 height = 40;
11237 aiStyle = 119;
11238 damage = 15;
11239 defense = 0;
11240 lifeMax = 50;
11243 knockBackResist = 0f;
11244 value = 50f;
11245 }
11246 else if (type == 629)
11247 {
11248 width = 24;
11249 height = 24;
11250 aiStyle = 25;
11251 damage = 80;
11252 defense = 30;
11253 lifeMax = 500;
11256 value = 100000f;
11257 knockBackResist = 0.3f;
11258 rarity = 4;
11259 coldDamage = true;
11260 if (Main.remixWorld && !Main.hardMode)
11261 {
11262 damage = 30;
11263 defense = 12;
11264 lifeMax = 300;
11265 value = Item.buyPrice(0, 2);
11266 }
11267 }
11268 else if (type == 630)
11269 {
11270 width = 18;
11271 height = 40;
11272 aiStyle = 3;
11273 damage = 60;
11274 defense = 18;
11275 lifeMax = 180;
11278 knockBackResist = 0.5f;
11279 value = 700f;
11280 }
11281 else if (type == 631)
11282 {
11283 width = 36;
11284 height = 48;
11285 scale = 1.1f;
11286 aiStyle = 3;
11287 damage = 85;
11288 defense = 35;
11289 lifeMax = 1000;
11292 knockBackResist = 0.1f;
11293 value = 25000f;
11294 }
11295 else if (type == 632)
11296 {
11297 width = 18;
11298 height = 40;
11299 aiStyle = 3;
11300 damage = 14;
11301 defense = 6;
11302 lifeMax = 45;
11305 knockBackResist = 0.5f;
11306 value = 60f;
11307 }
11308 else if (type == 633)
11309 {
11310 townNPC = true;
11311 friendly = true;
11312 width = 18;
11313 height = 40;
11314 aiStyle = 7;
11315 damage = 10;
11316 defense = 15;
11317 lifeMax = 250;
11320 knockBackResist = 0.5f;
11321 }
11322 else if (type == 634)
11323 {
11324 npcSlots = 0.5f;
11325 width = 22;
11326 height = 18;
11327 aiStyle = 14;
11328 damage = 13;
11329 defense = 2;
11330 lifeMax = 16;
11332 knockBackResist = 0.8f;
11334 value = 90f;
11335 }
11336 else if (type == 635)
11337 {
11338 width = 18;
11339 height = 40;
11340 aiStyle = 3;
11341 damage = 20;
11342 defense = 8;
11343 lifeMax = 60;
11346 knockBackResist = 0.5f;
11347 value = 100f;
11348 }
11349 else if (type == 636)
11350 {
11351 noGravity = true;
11352 width = 100;
11353 height = 100;
11354 aiStyle = 120;
11355 damage = 80;
11356 defense = 50;
11357 lifeMax = 70000;
11360 knockBackResist = 0f;
11361 value = 250000f;
11362 noTileCollide = true;
11363 boss = true;
11364 Opacity = 0f;
11365 dontTakeDamage = true;
11366 npcSlots = 16f;
11367 }
11368 else if (type == 637 || type == 638)
11369 {
11370 townNPC = true;
11371 friendly = true;
11372 width = 18;
11373 height = 28;
11374 if (type == 637)
11375 {
11376 height = 20;
11377 }
11378 aiStyle = 7;
11379 damage = 10;
11380 defense = 15;
11381 lifeMax = 250;
11384 knockBackResist = 0.5f;
11385 housingCategory = 1;
11386 }
11387 else if (type >= 639 && type <= 645)
11388 {
11389 width = 18;
11390 height = 20;
11391 aiStyle = 7;
11392 damage = 0;
11393 defense = 0;
11394 lifeMax = 5;
11397 catchItem = (short)(4831 + (type - 639));
11398 }
11399 else if (type >= 646 && type <= 652)
11400 {
11401 width = 18;
11402 height = 20;
11403 aiStyle = 7;
11404 damage = 0;
11405 defense = 0;
11406 lifeMax = 5;
11409 catchItem = (short)(4838 + (type - 646));
11410 }
11411 else if (type == 653)
11412 {
11413 width = 10;
11414 height = 10;
11415 aiStyle = 65;
11416 damage = 0;
11417 defense = 0;
11418 lifeMax = 5;
11421 npcSlots = 0.25f;
11422 noGravity = true;
11423 lavaImmune = true;
11424 catchItem = 4845;
11425 }
11426 else if (type == 654)
11427 {
11428 width = 10;
11429 height = 10;
11430 aiStyle = 64;
11431 damage = 0;
11432 defense = 0;
11433 lifeMax = 5;
11436 npcSlots = 0.2f;
11437 noGravity = true;
11438 lavaImmune = true;
11439 catchItem = 4847;
11440 }
11441 else if (type == 655)
11442 {
11443 width = 14;
11444 height = 14;
11445 aiStyle = 67;
11446 damage = 0;
11447 defense = 0;
11448 lifeMax = 5;
11451 npcSlots = 0.5f;
11452 noGravity = true;
11453 lavaImmune = true;
11454 catchItem = 4849;
11455 }
11456 else if (type == 656)
11457 {
11458 townNPC = true;
11459 friendly = true;
11460 width = 18;
11461 height = 20;
11462 aiStyle = 7;
11463 damage = 10;
11464 defense = 15;
11465 lifeMax = 250;
11468 knockBackResist = 0.5f;
11469 housingCategory = 1;
11470 }
11471 else if (type == 657)
11472 {
11473 width = 114;
11474 height = 100;
11475 aiStyle = 121;
11476 damage = 60;
11477 defense = 26;
11478 lifeMax = 18000;
11481 lavaImmune = true;
11482 knockBackResist = 0f;
11483 value = 60000f;
11484 boss = true;
11485 npcSlots = 5f;
11486 }
11487 else if (type == 658 || type == 659)
11488 {
11489 width = 24;
11490 height = 18;
11491 aiStyle = 1;
11492 damage = 40;
11493 defense = 35;
11494 lifeMax = 150;
11495 scale = 1f;
11498 }
11499 else if (type == 660)
11500 {
11501 width = 40;
11502 height = 30;
11503 aiStyle = 14;
11504 damage = 50;
11505 defense = 30;
11506 lifeMax = 120;
11509 knockBackResist = 0.8f;
11510 scale = 1f;
11511 }
11512 else if (type == 661)
11513 {
11514 width = 10;
11515 height = 10;
11516 aiStyle = 65;
11517 damage = 0;
11518 defense = 0;
11519 lifeMax = 5;
11522 npcSlots = 0.25f;
11523 noGravity = true;
11524 lavaImmune = true;
11525 catchItem = 4961;
11526 rarity = 4;
11527 }
11528 else if (type == 662)
11529 {
11530 width = 18;
11531 height = 40;
11532 aiStyle = 122;
11533 damage = 75;
11534 defense = 22;
11535 lifeMax = 500;
11538 knockBackResist = 0.2f;
11539 value = 0f;
11540 noTileCollide = true;
11541 lavaImmune = true;
11542 trapImmune = true;
11543 noGravity = true;
11544 }
11545 else if (type == 663)
11546 {
11547 townNPC = true;
11548 friendly = true;
11549 width = 18;
11550 height = 40;
11551 aiStyle = 7;
11552 damage = 10;
11553 defense = 15;
11554 lifeMax = 250;
11557 knockBackResist = 0.5f;
11558 }
11559 else if (type == 664)
11560 {
11561 lifeMax = 20;
11562 boss = true;
11563 }
11564 else if (type == 665)
11565 {
11566 width = 16;
11567 height = 16;
11568 aiStyle = 9;
11569 damage = 20;
11570 defense = 0;
11571 lifeMax = 1;
11574 noGravity = true;
11575 noTileCollide = true;
11576 alpha = 100;
11577 knockBackResist = 0f;
11578 }
11579 else if (type == 666)
11580 {
11581 width = 16;
11582 height = 16;
11583 aiStyle = 9;
11584 damage = 65;
11585 defense = 0;
11586 lifeMax = 1;
11587 HitSound = null;
11589 noGravity = true;
11590 noTileCollide = true;
11591 knockBackResist = 0f;
11592 scale = 0.9f;
11593 alpha = 80;
11594 }
11595 else if (type == 667)
11596 {
11597 width = 24;
11598 height = 18;
11599 aiStyle = 1;
11600 damage = 5;
11601 defense = 5;
11602 lifeMax = 300;
11603 knockBackResist *= 1.4f;
11604 rarity = 2;
11605 scale = 1f;
11606 value = Item.buyPrice(0, 15);
11609 }
11610 else if (type == 668)
11611 {
11612 width = 60;
11613 height = 154;
11614 aiStyle = 123;
11615 damage = 20;
11616 defense = 10;
11617 lifeMax = 7000;
11620 knockBackResist = 0f;
11621 boss = true;
11622 noGravity = true;
11623 noTileCollide = true;
11624 value = Item.buyPrice(0, 5);
11625 npcSlots = 10f;
11626 coldDamage = true;
11627 }
11628 else if (type == 669)
11629 {
11630 width = 10;
11631 height = 10;
11632 aiStyle = 115;
11633 damage = 0;
11634 defense = 0;
11635 lifeMax = 5;
11638 npcSlots = 0.25f;
11639 noGravity = true;
11640 catchItem = 5132;
11641 }
11642 else if (type == 670)
11643 {
11644 townNPC = true;
11645 friendly = true;
11646 width = 18;
11647 height = 20;
11648 aiStyle = 7;
11649 damage = 10;
11650 defense = 15;
11651 lifeMax = 250;
11654 knockBackResist = 0.5f;
11655 housingCategory = 1;
11656 }
11657 else if (type == 671)
11658 {
11659 width = 14;
11660 height = 14;
11661 aiStyle = 24;
11662 damage = 0;
11663 defense = 0;
11664 lifeMax = 5;
11666 knockBackResist = 0.8f;
11668 catchItem = 5212;
11669 npcSlots = 1f;
11670 }
11671 else if (type == 672)
11672 {
11673 width = 14;
11674 height = 14;
11675 aiStyle = 24;
11676 damage = 0;
11677 defense = 0;
11678 lifeMax = 5;
11680 knockBackResist = 0.8f;
11682 catchItem = 5300;
11683 npcSlots = 1f;
11684 }
11685 else if (type == 673)
11686 {
11687 width = 14;
11688 height = 14;
11689 aiStyle = 24;
11690 damage = 0;
11691 defense = 0;
11692 lifeMax = 5;
11694 knockBackResist = 0.8f;
11696 catchItem = 5311;
11697 npcSlots = 1f;
11698 }
11699 else if (type == 674)
11700 {
11701 width = 14;
11702 height = 14;
11703 aiStyle = 24;
11704 damage = 0;
11705 defense = 0;
11706 lifeMax = 5;
11708 knockBackResist = 0.8f;
11710 catchItem = 5312;
11711 npcSlots = 1f;
11712 }
11713 else if (type == 675)
11714 {
11715 width = 14;
11716 height = 14;
11717 aiStyle = 24;
11718 damage = 0;
11719 defense = 0;
11720 lifeMax = 5;
11722 knockBackResist = 0.8f;
11724 catchItem = 5313;
11725 npcSlots = 1f;
11726 }
11727 else if (type == 676)
11728 {
11729 width = 24;
11730 height = 18;
11731 aiStyle = 1;
11732 damage = 20;
11733 defense = 5;
11734 lifeMax = 80;
11735 scale = 1f;
11736 value = Item.buyPrice(0, 0, 1, 50);
11739 }
11740 else if (type == 677)
11741 {
11742 width = 10;
11743 height = 10;
11744 aiStyle = 64;
11745 damage = 0;
11746 defense = 0;
11747 lifeMax = 5;
11750 npcSlots = 0.2f;
11751 noGravity = true;
11752 catchItem = 5350;
11753 noTileCollide = true;
11754 }
11755 else if (type == 678 || type == 679 || type == 680 || type == 681 || type == 682 || type == 683 || type == 684)
11756 {
11757 townNPC = true;
11758 friendly = true;
11759 width = 18;
11760 height = 20;
11761 aiStyle = 7;
11762 damage = 10;
11763 defense = 15;
11764 lifeMax = 250;
11767 knockBackResist = 0.5f;
11768 housingCategory = 1;
11769 }
11770 else if (type == 685)
11771 {
11772 width = 30;
11773 height = 28;
11774 aiStyle = 1;
11775 damage = 0;
11776 defense = 10;
11777 knockBackResist = 0.3f;
11778 lifeMax = 250;
11781 value = 0f;
11782 rarity = 2;
11783 friendly = true;
11784 }
11785 else if (type == 686)
11786 {
11787 width = 20;
11788 height = 20;
11789 aiStyle = 125;
11790 damage = 0;
11791 defense = 0;
11792 knockBackResist = 0.3f;
11793 lifeMax = 1;
11795 value = 0f;
11796 rarity = 2;
11797 noGravity = true;
11798 noTileCollide = true;
11800 }
11801 else if (type == 687)
11802 {
11803 width = 18;
11804 height = 20;
11805 aiStyle = 7;
11806 damage = 0;
11807 defense = 0;
11808 lifeMax = 5;
11809 rarity = 2;
11812 catchItem = 2121;
11813 }
11814 if (Main.dedServ)
11815 {
11816 frame = default(Rectangle);
11817 }
11818 else if (TextureAssets.Npc[type] != null && TextureAssets.Npc[type].IsLoaded)
11819 {
11820 frame = new Rectangle(0, 0, TextureAssets.Npc[type].Width(), TextureAssets.Npc[type].Height() / Main.npcFrameCount[type]);
11821 }
11822 else
11823 {
11824 setFrameSize = true;
11825 }
11826 if (spawnparams.sizeScaleOverride.HasValue)
11827 {
11828 int num3 = (int)((float)width * scale);
11829 int num4 = (int)((float)height * scale);
11830 position.X += num3 / 2;
11831 position.Y += num4;
11832 scale = spawnparams.sizeScaleOverride.Value;
11833 width = (int)((float)width * scale);
11834 height = (int)((float)height * scale);
11835 if (height == 16 || height == 32)
11836 {
11837 height++;
11838 }
11839 position.X -= width / 2;
11840 position.Y -= height;
11841 }
11842 else
11843 {
11844 width = (int)((float)width * scale);
11845 height = (int)((float)height * scale);
11846 }
11847 life = lifeMax;
11848 defDamage = damage;
11850 netID = type;
11852 {
11853 nPCDebuffImmunityData.ApplyToNPC(this);
11854 }
11855 else
11856 {
11857 for (int num5 = 0; num5 < buffImmune.Length; num5++)
11858 {
11859 buffImmune[num5] = false;
11860 }
11861 }
11863 if (Main.zenithWorld)
11864 {
11866 }
11867 if (Main.getGoodWorld)
11868 {
11870 }
11871 else if (Main.tenthAnniversaryWorld)
11872 {
11874 }
11875 if (type >= 0 && type < NPCID.Count && Main.npcCatchable[type])
11876 {
11878 friendly = true;
11879 }
11880 ScaleStats(spawnparams.playerCountForMultiplayerDifficultyOverride, spawnparams.gameModeData, spawnparams.strengthMultiplierOverride);
11881 life = lifeMax;
11882 }
int oldDirection
Definition Entity.cs:22
byte wetCount
Definition Entity.cs:36
static Asset< Texture2D >[] Npc
static readonly int Count
Definition BuffID.cs:1069
static Dictionary< int, NPCDebuffImmunityData > DebuffImmunitySets
Definition NPCID.cs:108
static bool[] ShimmerImmunity
Definition NPCID.cs:4216
static int[] TrailCacheLength
Definition NPCID.cs:4190
static readonly short Count
Definition NPCID.cs:11744
static readonly LegacySoundStyle NPCHit27
Definition SoundID.cs:220
static readonly LegacySoundStyle NPCHit57
Definition SoundID.cs:280
static readonly LegacySoundStyle NPCHit49
Definition SoundID.cs:264
static readonly LegacySoundStyle DD2_OgreHurt
Definition SoundID.cs:888
static readonly LegacySoundStyle DD2_DarkMageHurt
Definition SoundID.cs:824
static readonly LegacySoundStyle DD2_BetsyHurt
Definition SoundID.cs:808
static readonly LegacySoundStyle NPCDeath43
Definition SoundID.cs:366
static readonly LegacySoundStyle DD2_SkeletonDeath
Definition SoundID.cs:894
static readonly LegacySoundStyle NPCHit46
Definition SoundID.cs:258
static readonly LegacySoundStyle NPCDeath66
Definition SoundID.cs:412
static readonly LegacySoundStyle NPCDeath5
Definition SoundID.cs:290
static readonly LegacySoundStyle NPCDeath31
Definition SoundID.cs:342
static readonly LegacySoundStyle NPCHit30
Definition SoundID.cs:226
static readonly LegacySoundStyle NPCDeath38
Definition SoundID.cs:356
static readonly LegacySoundStyle NPCHit28
Definition SoundID.cs:222
static readonly LegacySoundStyle NPCDeath40
Definition SoundID.cs:360
static readonly LegacySoundStyle NPCHit41
Definition SoundID.cs:248
static readonly LegacySoundStyle NPCHit12
Definition SoundID.cs:190
static readonly LegacySoundStyle NPCHit56
Definition SoundID.cs:278
static readonly LegacySoundStyle NPCDeath14
Definition SoundID.cs:308
static readonly LegacySoundStyle DeerclopsHit
Definition SoundID.cs:960
static readonly LegacySoundStyle NPCHit54
Definition SoundID.cs:274
static readonly LegacySoundStyle DD2_JavelinThrowersHurt
Definition SoundID.cs:854
static readonly LegacySoundStyle NPCDeath26
Definition SoundID.cs:332
static readonly LegacySoundStyle NPCDeath45
Definition SoundID.cs:370
static readonly LegacySoundStyle DD2_GoblinBomberHurt
Definition SoundID.cs:844
static readonly LegacySoundStyle NPCHit22
Definition SoundID.cs:210
static readonly LegacySoundStyle NPCDeath17
Definition SoundID.cs:314
static readonly LegacySoundStyle DD2_OgreDeath
Definition SoundID.cs:884
static readonly LegacySoundStyle NPCHit3
Definition SoundID.cs:172
static readonly LegacySoundStyle NPCHit50
Definition SoundID.cs:266
static readonly LegacySoundStyle DD2_LightningBugDeath
Definition SoundID.cs:876
static readonly LegacySoundStyle NPCDeath48
Definition SoundID.cs:376
static readonly LegacySoundStyle NPCDeath12
Definition SoundID.cs:304
static readonly LegacySoundStyle NPCDeath54
Definition SoundID.cs:388
static readonly LegacySoundStyle NPCHit53
Definition SoundID.cs:272
static readonly LegacySoundStyle NPCHit13
Definition SoundID.cs:192
static readonly LegacySoundStyle DD2_KoboldHurt
Definition SoundID.cs:862
static readonly LegacySoundStyle NPCHit34
Definition SoundID.cs:234
static readonly LegacySoundStyle NPCDeath34
Definition SoundID.cs:348
static readonly LegacySoundStyle DD2_GoblinHurt
Definition SoundID.cs:838
static readonly LegacySoundStyle NPCDeath52
Definition SoundID.cs:384
static readonly LegacySoundStyle NPCHit24
Definition SoundID.cs:214
static readonly LegacySoundStyle NPCHit29
Definition SoundID.cs:224
static readonly LegacySoundStyle NPCDeath39
Definition SoundID.cs:358
static readonly LegacySoundStyle NPCDeath63
Definition SoundID.cs:406
static readonly LegacySoundStyle NPCHit20
Definition SoundID.cs:206
static readonly LegacySoundStyle NPCHit11
Definition SoundID.cs:188
static readonly LegacySoundStyle DD2_WyvernHurt
Definition SoundID.cs:910
static readonly LegacySoundStyle NPCDeath49
Definition SoundID.cs:378
static readonly LegacySoundStyle DD2_GoblinBomberDeath
Definition SoundID.cs:842
static readonly LegacySoundStyle NPCHit44
Definition SoundID.cs:254
static readonly LegacySoundStyle NPCDeath20
Definition SoundID.cs:320
static readonly LegacySoundStyle NPCDeath23
Definition SoundID.cs:326
static readonly LegacySoundStyle DD2_KoboldFlyerDeath
Definition SoundID.cs:872
static readonly LegacySoundStyle NPCDeath1
Definition SoundID.cs:282
static readonly LegacySoundStyle NPCDeath36
Definition SoundID.cs:352
static readonly LegacySoundStyle NPCDeath21
Definition SoundID.cs:322
static readonly LegacySoundStyle NPCDeath11
Definition SoundID.cs:302
static readonly LegacySoundStyle NPCHit14
Definition SoundID.cs:194
static readonly LegacySoundStyle NPCDeath33
Definition SoundID.cs:346
static readonly LegacySoundStyle NPCHit23
Definition SoundID.cs:212
static readonly LegacySoundStyle NPCDeath2
Definition SoundID.cs:284
static readonly LegacySoundStyle NPCHit39
Definition SoundID.cs:244
static readonly LegacySoundStyle NPCDeath56
Definition SoundID.cs:392
static readonly LegacySoundStyle DD2_KoboldDeath
Definition SoundID.cs:858
static readonly LegacySoundStyle NPCDeath32
Definition SoundID.cs:344
static readonly LegacySoundStyle NPCDeath15
Definition SoundID.cs:310
static readonly LegacySoundStyle DD2_WitherBeastDeath
Definition SoundID.cs:904
static readonly LegacySoundStyle NPCDeath35
Definition SoundID.cs:350
static readonly LegacySoundStyle NPCDeath16
Definition SoundID.cs:312
static readonly LegacySoundStyle NPCDeath18
Definition SoundID.cs:316
static readonly LegacySoundStyle DD2_JavelinThrowersDeath
Definition SoundID.cs:852
static readonly LegacySoundStyle NPCDeath29
Definition SoundID.cs:338
static readonly LegacySoundStyle DD2_LightningBugHurt
Definition SoundID.cs:878
static readonly LegacySoundStyle NPCHit43
Definition SoundID.cs:252
static readonly LegacySoundStyle NPCHit51
Definition SoundID.cs:268
static readonly LegacySoundStyle NPCHit8
Definition SoundID.cs:182
static readonly LegacySoundStyle NPCDeath22
Definition SoundID.cs:324
static readonly LegacySoundStyle DD2_WitherBeastHurt
Definition SoundID.cs:906
static readonly LegacySoundStyle NPCHit1
Definition SoundID.cs:168
static readonly LegacySoundStyle NPCHit18
Definition SoundID.cs:202
static readonly LegacySoundStyle NPCHit9
Definition SoundID.cs:184
static readonly LegacySoundStyle DeerclopsDeath
Definition SoundID.cs:962
static readonly LegacySoundStyle NPCHit55
Definition SoundID.cs:276
static readonly LegacySoundStyle NPCDeath19
Definition SoundID.cs:318
static readonly LegacySoundStyle NPCDeath57
Definition SoundID.cs:394
static readonly LegacySoundStyle DD2_SkeletonHurt
Definition SoundID.cs:896
static readonly LegacySoundStyle NPCHit45
Definition SoundID.cs:256
static readonly LegacySoundStyle NPCHit52
Definition SoundID.cs:270
static readonly LegacySoundStyle DD2_DrakinDeath
Definition SoundID.cs:830
static readonly LegacySoundStyle NPCHit26
Definition SoundID.cs:218
static readonly LegacySoundStyle NPCDeath41
Definition SoundID.cs:362
static readonly LegacySoundStyle NPCHit15
Definition SoundID.cs:196
static readonly LegacySoundStyle NPCDeath3
Definition SoundID.cs:286
static readonly LegacySoundStyle NPCDeath60
Definition SoundID.cs:400
static readonly LegacySoundStyle DD2_CrystalCartImpact
Definition SoundID.cs:924
static readonly LegacySoundStyle NPCHit2
Definition SoundID.cs:170
static readonly LegacySoundStyle NPCHit32
Definition SoundID.cs:230
static readonly LegacySoundStyle NPCHit47
Definition SoundID.cs:260
static readonly LegacySoundStyle NPCHit48
Definition SoundID.cs:262
static readonly LegacySoundStyle NPCHit40
Definition SoundID.cs:246
static readonly LegacySoundStyle NPCHit19
Definition SoundID.cs:204
static readonly LegacySoundStyle DD2_KoboldFlyerHurt
Definition SoundID.cs:874
static readonly LegacySoundStyle NPCDeath53
Definition SoundID.cs:386
static readonly LegacySoundStyle NPCDeath27
Definition SoundID.cs:334
static readonly LegacySoundStyle NPCDeath6
Definition SoundID.cs:292
static readonly LegacySoundStyle NPCDeath8
Definition SoundID.cs:296
static readonly LegacySoundStyle NPCDeath50
Definition SoundID.cs:380
static readonly LegacySoundStyle NPCDeath65
Definition SoundID.cs:410
static readonly LegacySoundStyle NPCDeath59
Definition SoundID.cs:398
static readonly LegacySoundStyle NPCDeath9
Definition SoundID.cs:298
static readonly LegacySoundStyle DD2_DrakinHurt
Definition SoundID.cs:832
static readonly LegacySoundStyle NPCDeath4
Definition SoundID.cs:288
static readonly LegacySoundStyle NPCDeath44
Definition SoundID.cs:368
static readonly LegacySoundStyle NPCDeath10
Definition SoundID.cs:300
static readonly LegacySoundStyle DD2_WyvernDeath
Definition SoundID.cs:908
static readonly LegacySoundStyle NPCDeath47
Definition SoundID.cs:374
static readonly LegacySoundStyle NPCDeath7
Definition SoundID.cs:294
static readonly LegacySoundStyle NPCHit37
Definition SoundID.cs:240
static readonly LegacySoundStyle NPCHit6
Definition SoundID.cs:178
static readonly LegacySoundStyle NPCDeath64
Definition SoundID.cs:408
static readonly LegacySoundStyle NPCHit4
Definition SoundID.cs:174
static readonly LegacySoundStyle NPCDeath51
Definition SoundID.cs:382
static readonly LegacySoundStyle NPCDeath42
Definition SoundID.cs:364
static readonly LegacySoundStyle NPCHit31
Definition SoundID.cs:228
static readonly LegacySoundStyle NPCHit7
Definition SoundID.cs:180
static readonly LegacySoundStyle NPCHit21
Definition SoundID.cs:208
static readonly LegacySoundStyle NPCDeath24
Definition SoundID.cs:328
static readonly LegacySoundStyle NPCHit33
Definition SoundID.cs:232
static readonly LegacySoundStyle NPCDeath62
Definition SoundID.cs:404
static readonly LegacySoundStyle NPCDeath25
Definition SoundID.cs:330
static readonly LegacySoundStyle NPCDeath30
Definition SoundID.cs:340
static readonly LegacySoundStyle NPCHit36
Definition SoundID.cs:238
static readonly LegacySoundStyle NPCDeath55
Definition SoundID.cs:390
static readonly LegacySoundStyle NPCDeath46
Definition SoundID.cs:372
static readonly LegacySoundStyle NPCDeath28
Definition SoundID.cs:336
static readonly LegacySoundStyle NPCHit5
Definition SoundID.cs:176
static readonly LegacySoundStyle NPCHit38
Definition SoundID.cs:242
static readonly LegacySoundStyle NPCHit25
Definition SoundID.cs:216
static readonly LegacySoundStyle DD2_GoblinDeath
Definition SoundID.cs:836
static readonly LegacySoundStyle NPCHit42
Definition SoundID.cs:250
static readonly LegacySoundStyle DD2_BetsyDeath
Definition SoundID.cs:798
static readonly LegacySoundStyle NPCDeath37
Definition SoundID.cs:354
static readonly LegacySoundStyle DD2_DarkMageDeath
Definition SoundID.cs:820
static readonly LegacySoundStyle NPCHit35
Definition SoundID.cs:236
int breath
Definition NPC.cs:565
bool boss
Definition NPC.cs:515
Vector2 netOffset
Definition NPC.cs:103
int timeLeft
Definition NPC.cs:457
bool dontCountMe
Definition NPC.cs:209
bool netAlways
Definition NPC.cs:171
void SpawnWithHigherTime(int timeMult)
Definition NPC.cs:1385
bool dryadBane
Definition NPC.cs:275
int netSpam
Definition NPC.cs:67
int defense
Definition NPC.cs:463
int damage
Definition NPC.cs:461
bool immortal
Definition NPC.cs:261
float[] localAI
Definition NPC.cs:449
int spriteDirection
Definition NPC.cs:517
bool chaseable
Definition NPC.cs:263
float Opacity
Definition NPC.cs:810
int oldTarget
Definition NPC.cs:499
bool confused
Definition NPC.cs:253
bool onFire2
Definition NPC.cs:227
bool venom
Definition NPC.cs:239
float lavaMovementSpeed
Definition NPC.cs:39
bool stinky
Definition NPC.cs:257
bool soulDrain
Definition NPC.cs:243
bool poisoned
Definition NPC.cs:235
static readonly int maxBuffs
Definition NPC.cs:211
bool reflectsProjectiles
Definition NPC.cs:571
int lifeMax
Definition NPC.cs:479
int lifeRegenExpectedLossPerSecond
Definition NPC.cs:251
bool dryadWard
Definition NPC.cs:259
string GivenName
Definition NPC.cs:761
bool markedByScytheWhip
Definition NPC.cs:237
int aiStyle
Definition NPC.cs:453
int breathCounter
Definition NPC.cs:569
bool coldDamage
Definition NPC.cs:469
bool ichor
Definition NPC.cs:223
bool setFrameSize
Definition NPC.cs:159
float takenDamageMultiplier
Definition NPC.cs:117
bool hide
Definition NPC.cs:491
static bool downedMechBossAny
Definition NPC.cs:421
int townNpcVariationIndex
Definition NPC.cs:101
bool netUpdate2
Definition NPC.cs:509
bool canDisplayBuffs
Definition NPC.cs:219
bool CanBeReplacedByOtherNPCs
Definition NPC.cs:87
bool despawnEncouraged
Definition NPC.cs:575
float[] oldRot
Definition NPC.cs:157
bool dontTakeDamageFromHostiles
Definition NPC.cs:279
bool netShimmer
Definition NPC.cs:577
bool noGravity
Definition NPC.cs:503
bool oiled
Definition NPC.cs:283
float waterMovementSpeed
Definition NPC.cs:37
int[] buffTime
Definition NPC.cs:215
int defDefense
Definition NPC.cs:467
bool needsUniqueInfoUpdate
Definition NPC.cs:153
void getGoodAdjustments()
Definition NPC.cs:11963
float[] ai
Definition NPC.cs:447
bool SpawnedFromStatue
Definition NPC.cs:85
int extraValue
Definition NPC.cs:525
Rectangle targetRect
Definition NPC.cs:481
void getZenithSeedAdjustmentsBeforeEverything()
Definition NPC.cs:11954
bool midas
Definition NPC.cs:221
int housingCategory
Definition NPC.cs:547
float strengthMultiplier
Definition NPC.cs:535
int homeTileX
Definition NPC.cs:543
float knockBackResist
Definition NPC.cs:495
bool dontTakeDamage
Definition NPC.cs:527
bool friendly
Definition NPC.cs:555
float value
Definition NPC.cs:523
void LazySetLiquidMovementDD2()
Definition NPC.cs:12099
bool onFire
Definition NPC.cs:225
float scale
Definition NPC.cs:493
bool trapImmune
Definition NPC.cs:471
int lifeRegen
Definition NPC.cs:247
bool betsysCurse
Definition NPC.cs:281
bool collideX
Definition NPC.cs:511
bool collideY
Definition NPC.cs:513
int type
Definition NPC.cs:445
int alpha
Definition NPC.cs:489
Color color
Definition NPC.cs:487
static int maxAI
Definition NPC.cs:65
LegacySoundStyle DeathSound
Definition NPC.cs:475
bool[] playerInteraction
Definition NPC.cs:113
int altTexture
Definition NPC.cs:99
float rotation
Definition NPC.cs:501
bool bloodButchered
Definition NPC.cs:271
bool behindTiles
Definition NPC.cs:519
double frameCounter
Definition NPC.cs:483
float shimmerTransparency
Definition NPC.cs:207
bool shimmering
Definition NPC.cs:245
bool lavaImmune
Definition NPC.cs:521
bool noTileCollide
Definition NPC.cs:505
int defDamage
Definition NPC.cs:465
int catchableNPCTempImmunityCounter
Definition NPC.cs:529
float npcSlots
Definition NPC.cs:197
bool[] buffImmune
Definition NPC.cs:217
bool canGhostHeal
Definition NPC.cs:265
int netID
Definition NPC.cs:531
int netStream
Definition NPC.cs:149
int rarity
Definition NPC.cs:109
float nameOver
Definition NPC.cs:83
bool justHit
Definition NPC.cs:455
bool tentacleSpiked
Definition NPC.cs:269
void SetDefaultsFromNetId(int id, NPCSpawnParams spawnparams=default(NPCSpawnParams))
Definition NPC.cs:1795
static bool downedGolemBoss
Definition NPC.cs:365
bool celled
Definition NPC.cs:273
bool javelined
Definition NPC.cs:267
bool homeless
Definition NPC.cs:541
short releaseOwner
Definition NPC.cs:107
int life
Definition NPC.cs:477
short catchItem
Definition NPC.cs:105
bool shadowFlame
Definition NPC.cs:241
void ScaleStats(int? activePlayersCount, GameModeData gameModeData, float? strengthOverride)
Definition NPC.cs:12149
bool onFrostBurn2
Definition NPC.cs:233
bool daybreak
Definition NPC.cs:277
void getTenthAnniversaryAdjustments()
Definition NPC.cs:11884
bool loveStruck
Definition NPC.cs:255
float honeyMovementSpeed
Definition NPC.cs:41
int[] buffType
Definition NPC.cs:213
static int activeTime
Definition NPC.cs:201
bool onFire3
Definition NPC.cs:229
int realLife
Definition NPC.cs:173
bool onFrostBurn
Definition NPC.cs:231
Rectangle frame
Definition NPC.cs:485
int lifeRegenCount
Definition NPC.cs:249
bool netUpdate
Definition NPC.cs:507
Vector2[] oldPos
Definition NPC.cs:155
int statsAreScaledForThisManyPlayers
Definition NPC.cs:533
int target
Definition NPC.cs:459
int netSkip
Definition NPC.cs:169
bool townNPC
Definition NPC.cs:537
int homeTileY
Definition NPC.cs:545
LegacySoundStyle HitSound
Definition NPC.cs:473

References 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.breath, Terraria.NPC.breathCounter, Terraria.NPC.buffImmune, Terraria.NPC.buffTime, Terraria.NPC.buffType, Terraria.Item.buyPrice(), Terraria.NPC.CanBeReplacedByOtherNPCs, Terraria.NPC.canDisplayBuffs, Terraria.NPC.canGhostHeal, Terraria.NPC.catchableNPCTempImmunityCounter, Terraria.NPC.catchItem, Terraria.NPC.celled, Terraria.NPC.chaseable, Terraria.NPC.coldDamage, Terraria.NPC.collideX, Terraria.NPC.collideY, Microsoft.Xna.Framework.Graphics.Color, Terraria.NPC.color, Terraria.NPC.confused, Terraria.ID.BuffID.Count, 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.ID.NPCID.Sets.DebuffImmunitySets, 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.Main.hardMode, Terraria.Entity.height, Terraria.NPC.hide, 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.NPC.javelined, Terraria.NPC.justHit, Terraria.NPC.knockBackResist, Terraria.NPC.lavaImmune, Terraria.NPC.lavaMovementSpeed, Terraria.Entity.lavaWet, Terraria.NPC.LazySetLiquidMovementDD2(), Microsoft.Xna.Framework.Vector2.Length(), 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.NPC.SetDefaultsFromNetId(), Terraria.NPC.setFrameSize, Terraria.NPC.shadowFlame, Terraria.ID.NPCID.Sets.ShimmerImmunity, Terraria.NPC.shimmering, Terraria.NPC.shimmerTransparency, Terraria.NPC.soulDrain, Terraria.NPC.SpawnedFromStatue, Terraria.NPC.SpawnWithHigherTime(), 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.value, Terraria.NPC.venom, Terraria.NPC.waterMovementSpeed, Terraria.Entity.wet, Terraria.Entity.wetCount, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, Microsoft.Xna.Framework.Vector2.Y, and Terraria.Main.zenithWorld.

Referenced by Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.NPCKillCounterInfoElement(), Terraria.GameContent.Animations.Segments.NPCSegment.NPCSegment(), Terraria.GameContent.Bestiary.UnlockableNPCEntryIcon.UnlockableNPCEntryIcon(), Terraria.PopupText.NewText(), 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().