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

◆ AI_120_HallowBoss()

void Terraria.NPC.AI_120_HallowBoss ( )
inlineprivate

Definition at line 46942 of file NPC.cs.

46943 {
46944 //IL_0d42: Unknown result type (might be due to invalid IL or missing references)
46945 //IL_1427: Unknown result type (might be due to invalid IL or missing references)
46946 //IL_142c: Unknown result type (might be due to invalid IL or missing references)
46947 //IL_142e: Unknown result type (might be due to invalid IL or missing references)
46948 //IL_1433: Unknown result type (might be due to invalid IL or missing references)
46949 //IL_1a7d: Unknown result type (might be due to invalid IL or missing references)
46950 //IL_1a82: Unknown result type (might be due to invalid IL or missing references)
46951 //IL_1a84: Unknown result type (might be due to invalid IL or missing references)
46952 //IL_23f4: Unknown result type (might be due to invalid IL or missing references)
46953 //IL_021f: Unknown result type (might be due to invalid IL or missing references)
46954 //IL_0224: Unknown result type (might be due to invalid IL or missing references)
46955 //IL_09b7: Unknown result type (might be due to invalid IL or missing references)
46956 //IL_0c57: Unknown result type (might be due to invalid IL or missing references)
46957 //IL_0c4f: Unknown result type (might be due to invalid IL or missing references)
46958 //IL_0d5d: Unknown result type (might be due to invalid IL or missing references)
46959 //IL_122d: Unknown result type (might be due to invalid IL or missing references)
46960 //IL_1232: Unknown result type (might be due to invalid IL or missing references)
46961 //IL_1234: Unknown result type (might be due to invalid IL or missing references)
46962 //IL_1239: Unknown result type (might be due to invalid IL or missing references)
46963 //IL_11fb: Unknown result type (might be due to invalid IL or missing references)
46964 //IL_1451: Unknown result type (might be due to invalid IL or missing references)
46965 //IL_1449: Unknown result type (might be due to invalid IL or missing references)
46966 //IL_1c9b: Unknown result type (might be due to invalid IL or missing references)
46967 //IL_1df2: Unknown result type (might be due to invalid IL or missing references)
46968 //IL_1dcf: Unknown result type (might be due to invalid IL or missing references)
46969 //IL_2206: Unknown result type (might be due to invalid IL or missing references)
46970 //IL_2210: Unknown result type (might be due to invalid IL or missing references)
46971 //IL_2215: Unknown result type (might be due to invalid IL or missing references)
46972 //IL_21de: Unknown result type (might be due to invalid IL or missing references)
46973 //IL_21fa: Unknown result type (might be due to invalid IL or missing references)
46974 //IL_21ff: Unknown result type (might be due to invalid IL or missing references)
46975 //IL_2437: Unknown result type (might be due to invalid IL or missing references)
46976 //IL_2441: Unknown result type (might be due to invalid IL or missing references)
46977 //IL_2446: Unknown result type (might be due to invalid IL or missing references)
46978 //IL_240f: Unknown result type (might be due to invalid IL or missing references)
46979 //IL_242b: Unknown result type (might be due to invalid IL or missing references)
46980 //IL_2430: Unknown result type (might be due to invalid IL or missing references)
46981 //IL_02a3: Unknown result type (might be due to invalid IL or missing references)
46982 //IL_02ad: Unknown result type (might be due to invalid IL or missing references)
46983 //IL_02b2: Unknown result type (might be due to invalid IL or missing references)
46984 //IL_0290: Unknown result type (might be due to invalid IL or missing references)
46985 //IL_0238: Unknown result type (might be due to invalid IL or missing references)
46986 //IL_0247: Unknown result type (might be due to invalid IL or missing references)
46987 //IL_024c: Unknown result type (might be due to invalid IL or missing references)
46988 //IL_0251: Unknown result type (might be due to invalid IL or missing references)
46989 //IL_0a00: Unknown result type (might be due to invalid IL or missing references)
46990 //IL_09f8: Unknown result type (might be due to invalid IL or missing references)
46991 //IL_0c5c: Unknown result type (might be due to invalid IL or missing references)
46992 //IL_0c5f: Unknown result type (might be due to invalid IL or missing references)
46993 //IL_0c61: Unknown result type (might be due to invalid IL or missing references)
46994 //IL_0c62: Unknown result type (might be due to invalid IL or missing references)
46995 //IL_124c: Unknown result type (might be due to invalid IL or missing references)
46996 //IL_1251: Unknown result type (might be due to invalid IL or missing references)
46997 //IL_1253: Unknown result type (might be due to invalid IL or missing references)
46998 //IL_1456: Unknown result type (might be due to invalid IL or missing references)
46999 //IL_1459: Unknown result type (might be due to invalid IL or missing references)
47000 //IL_145b: Unknown result type (might be due to invalid IL or missing references)
47001 //IL_145d: Unknown result type (might be due to invalid IL or missing references)
47002 //IL_1638: Unknown result type (might be due to invalid IL or missing references)
47003 //IL_1630: Unknown result type (might be due to invalid IL or missing references)
47004 //IL_0a05: Unknown result type (might be due to invalid IL or missing references)
47005 //IL_0a08: Unknown result type (might be due to invalid IL or missing references)
47006 //IL_0a0a: Unknown result type (might be due to invalid IL or missing references)
47007 //IL_0a0b: Unknown result type (might be due to invalid IL or missing references)
47008 //IL_0c72: Unknown result type (might be due to invalid IL or missing references)
47009 //IL_0c74: Unknown result type (might be due to invalid IL or missing references)
47010 //IL_0c75: Unknown result type (might be due to invalid IL or missing references)
47011 //IL_0c7a: Unknown result type (might be due to invalid IL or missing references)
47012 //IL_0c7f: Unknown result type (might be due to invalid IL or missing references)
47013 //IL_0c84: Unknown result type (might be due to invalid IL or missing references)
47014 //IL_0c8b: Unknown result type (might be due to invalid IL or missing references)
47015 //IL_0e1d: Unknown result type (might be due to invalid IL or missing references)
47016 //IL_0e15: Unknown result type (might be due to invalid IL or missing references)
47017 //IL_0d91: Unknown result type (might be due to invalid IL or missing references)
47018 //IL_0da0: Unknown result type (might be due to invalid IL or missing references)
47019 //IL_0da5: Unknown result type (might be due to invalid IL or missing references)
47020 //IL_0dca: Unknown result type (might be due to invalid IL or missing references)
47021 //IL_0dd9: Unknown result type (might be due to invalid IL or missing references)
47022 //IL_0dde: Unknown result type (might be due to invalid IL or missing references)
47023 //IL_1292: Unknown result type (might be due to invalid IL or missing references)
47024 //IL_128a: Unknown result type (might be due to invalid IL or missing references)
47025 //IL_146d: Unknown result type (might be due to invalid IL or missing references)
47026 //IL_146f: Unknown result type (might be due to invalid IL or missing references)
47027 //IL_1471: Unknown result type (might be due to invalid IL or missing references)
47028 //IL_1476: Unknown result type (might be due to invalid IL or missing references)
47029 //IL_147b: Unknown result type (might be due to invalid IL or missing references)
47030 //IL_1480: Unknown result type (might be due to invalid IL or missing references)
47031 //IL_1487: Unknown result type (might be due to invalid IL or missing references)
47032 //IL_1491: Unknown result type (might be due to invalid IL or missing references)
47033 //IL_163d: Unknown result type (might be due to invalid IL or missing references)
47034 //IL_1640: Unknown result type (might be due to invalid IL or missing references)
47035 //IL_1642: Unknown result type (might be due to invalid IL or missing references)
47036 //IL_1643: Unknown result type (might be due to invalid IL or missing references)
47037 //IL_1cd1: Unknown result type (might be due to invalid IL or missing references)
47038 //IL_1cdb: Unknown result type (might be due to invalid IL or missing references)
47039 //IL_1ce0: Unknown result type (might be due to invalid IL or missing references)
47040 //IL_1ea7: Unknown result type (might be due to invalid IL or missing references)
47041 //IL_1e9f: Unknown result type (might be due to invalid IL or missing references)
47042 //IL_1e1b: Unknown result type (might be due to invalid IL or missing references)
47043 //IL_1e2a: Unknown result type (might be due to invalid IL or missing references)
47044 //IL_1e2f: Unknown result type (might be due to invalid IL or missing references)
47045 //IL_1e54: Unknown result type (might be due to invalid IL or missing references)
47046 //IL_1e63: Unknown result type (might be due to invalid IL or missing references)
47047 //IL_1e68: Unknown result type (might be due to invalid IL or missing references)
47048 //IL_0a1b: Unknown result type (might be due to invalid IL or missing references)
47049 //IL_0a1d: Unknown result type (might be due to invalid IL or missing references)
47050 //IL_0a1e: Unknown result type (might be due to invalid IL or missing references)
47051 //IL_0a23: Unknown result type (might be due to invalid IL or missing references)
47052 //IL_0a28: Unknown result type (might be due to invalid IL or missing references)
47053 //IL_0a2d: Unknown result type (might be due to invalid IL or missing references)
47054 //IL_0a34: Unknown result type (might be due to invalid IL or missing references)
47055 //IL_0cc1: Unknown result type (might be due to invalid IL or missing references)
47056 //IL_0cc6: Unknown result type (might be due to invalid IL or missing references)
47057 //IL_0cc8: Unknown result type (might be due to invalid IL or missing references)
47058 //IL_0ccd: Unknown result type (might be due to invalid IL or missing references)
47059 //IL_0e22: Unknown result type (might be due to invalid IL or missing references)
47060 //IL_0e25: Unknown result type (might be due to invalid IL or missing references)
47061 //IL_0e27: Unknown result type (might be due to invalid IL or missing references)
47062 //IL_0e28: Unknown result type (might be due to invalid IL or missing references)
47063 //IL_1297: Unknown result type (might be due to invalid IL or missing references)
47064 //IL_129a: Unknown result type (might be due to invalid IL or missing references)
47065 //IL_129c: Unknown result type (might be due to invalid IL or missing references)
47066 //IL_129d: Unknown result type (might be due to invalid IL or missing references)
47067 //IL_1653: Unknown result type (might be due to invalid IL or missing references)
47068 //IL_1655: Unknown result type (might be due to invalid IL or missing references)
47069 //IL_1656: Unknown result type (might be due to invalid IL or missing references)
47070 //IL_165b: Unknown result type (might be due to invalid IL or missing references)
47071 //IL_1660: Unknown result type (might be due to invalid IL or missing references)
47072 //IL_1665: Unknown result type (might be due to invalid IL or missing references)
47073 //IL_166c: Unknown result type (might be due to invalid IL or missing references)
47074 //IL_1676: Unknown result type (might be due to invalid IL or missing references)
47075 //IL_1ac4: Unknown result type (might be due to invalid IL or missing references)
47076 //IL_1eac: Unknown result type (might be due to invalid IL or missing references)
47077 //IL_1eaf: Unknown result type (might be due to invalid IL or missing references)
47078 //IL_1eb1: Unknown result type (might be due to invalid IL or missing references)
47079 //IL_1eb2: Unknown result type (might be due to invalid IL or missing references)
47080 //IL_2246: Unknown result type (might be due to invalid IL or missing references)
47081 //IL_224b: Unknown result type (might be due to invalid IL or missing references)
47082 //IL_224d: Unknown result type (might be due to invalid IL or missing references)
47083 //IL_24ab: Unknown result type (might be due to invalid IL or missing references)
47084 //IL_064d: Unknown result type (might be due to invalid IL or missing references)
47085 //IL_0657: Unknown result type (might be due to invalid IL or missing references)
47086 //IL_065c: Unknown result type (might be due to invalid IL or missing references)
47087 //IL_0a51: Unknown result type (might be due to invalid IL or missing references)
47088 //IL_0a56: Unknown result type (might be due to invalid IL or missing references)
47089 //IL_0a58: Unknown result type (might be due to invalid IL or missing references)
47090 //IL_0e38: Unknown result type (might be due to invalid IL or missing references)
47091 //IL_0e3a: Unknown result type (might be due to invalid IL or missing references)
47092 //IL_0e3b: Unknown result type (might be due to invalid IL or missing references)
47093 //IL_0e40: Unknown result type (might be due to invalid IL or missing references)
47094 //IL_0e45: Unknown result type (might be due to invalid IL or missing references)
47095 //IL_0e4a: Unknown result type (might be due to invalid IL or missing references)
47096 //IL_0e51: Unknown result type (might be due to invalid IL or missing references)
47097 //IL_12ad: Unknown result type (might be due to invalid IL or missing references)
47098 //IL_12af: Unknown result type (might be due to invalid IL or missing references)
47099 //IL_12b0: Unknown result type (might be due to invalid IL or missing references)
47100 //IL_12b5: Unknown result type (might be due to invalid IL or missing references)
47101 //IL_12ba: Unknown result type (might be due to invalid IL or missing references)
47102 //IL_12bf: Unknown result type (might be due to invalid IL or missing references)
47103 //IL_12c6: Unknown result type (might be due to invalid IL or missing references)
47104 //IL_14d6: Unknown result type (might be due to invalid IL or missing references)
47105 //IL_14e1: Unknown result type (might be due to invalid IL or missing references)
47106 //IL_1ec2: Unknown result type (might be due to invalid IL or missing references)
47107 //IL_1ec4: Unknown result type (might be due to invalid IL or missing references)
47108 //IL_1ec5: Unknown result type (might be due to invalid IL or missing references)
47109 //IL_1eca: Unknown result type (might be due to invalid IL or missing references)
47110 //IL_1ecf: Unknown result type (might be due to invalid IL or missing references)
47111 //IL_1ed4: Unknown result type (might be due to invalid IL or missing references)
47112 //IL_1edb: Unknown result type (might be due to invalid IL or missing references)
47113 //IL_0333: Unknown result type (might be due to invalid IL or missing references)
47114 //IL_0338: Unknown result type (might be due to invalid IL or missing references)
47115 //IL_033b: Unknown result type (might be due to invalid IL or missing references)
47116 //IL_035c: Unknown result type (might be due to invalid IL or missing references)
47117 //IL_0373: Unknown result type (might be due to invalid IL or missing references)
47118 //IL_0397: Unknown result type (might be due to invalid IL or missing references)
47119 //IL_039c: Unknown result type (might be due to invalid IL or missing references)
47120 //IL_03ab: Unknown result type (might be due to invalid IL or missing references)
47121 //IL_03b0: Unknown result type (might be due to invalid IL or missing references)
47122 //IL_03b5: Unknown result type (might be due to invalid IL or missing references)
47123 //IL_03c3: Unknown result type (might be due to invalid IL or missing references)
47124 //IL_03d8: Unknown result type (might be due to invalid IL or missing references)
47125 //IL_03dd: Unknown result type (might be due to invalid IL or missing references)
47126 //IL_041f: Unknown result type (might be due to invalid IL or missing references)
47127 //IL_0424: Unknown result type (might be due to invalid IL or missing references)
47128 //IL_042e: Unknown result type (might be due to invalid IL or missing references)
47129 //IL_0433: Unknown result type (might be due to invalid IL or missing references)
47130 //IL_0438: Unknown result type (might be due to invalid IL or missing references)
47131 //IL_0637: Unknown result type (might be due to invalid IL or missing references)
47132 //IL_0641: Unknown result type (might be due to invalid IL or missing references)
47133 //IL_0646: Unknown result type (might be due to invalid IL or missing references)
47134 //IL_05fe: Unknown result type (might be due to invalid IL or missing references)
47135 //IL_0603: Unknown result type (might be due to invalid IL or missing references)
47136 //IL_0606: Unknown result type (might be due to invalid IL or missing references)
47137 //IL_05dc: Unknown result type (might be due to invalid IL or missing references)
47138 //IL_05e6: Unknown result type (might be due to invalid IL or missing references)
47139 //IL_05eb: Unknown result type (might be due to invalid IL or missing references)
47140 //IL_16ae: Unknown result type (might be due to invalid IL or missing references)
47141 //IL_16f0: Unknown result type (might be due to invalid IL or missing references)
47142 //IL_16f5: Unknown result type (might be due to invalid IL or missing references)
47143 //IL_16f8: Unknown result type (might be due to invalid IL or missing references)
47144 //IL_1c1a: Unknown result type (might be due to invalid IL or missing references)
47145 //IL_1c24: Unknown result type (might be due to invalid IL or missing references)
47146 //IL_1c29: Unknown result type (might be due to invalid IL or missing references)
47147 //IL_1bd1: Unknown result type (might be due to invalid IL or missing references)
47148 //IL_1bd6: Unknown result type (might be due to invalid IL or missing references)
47149 //IL_1bdd: Unknown result type (might be due to invalid IL or missing references)
47150 //IL_1be2: Unknown result type (might be due to invalid IL or missing references)
47151 //IL_1b0e: Unknown result type (might be due to invalid IL or missing references)
47152 //IL_1d38: Unknown result type (might be due to invalid IL or missing references)
47153 //IL_1d47: Unknown result type (might be due to invalid IL or missing references)
47154 //IL_1d4c: Unknown result type (might be due to invalid IL or missing references)
47155 //IL_22c0: Unknown result type (might be due to invalid IL or missing references)
47156 //IL_22d0: Unknown result type (might be due to invalid IL or missing references)
47157 //IL_22d6: Unknown result type (might be due to invalid IL or missing references)
47158 //IL_22d8: Unknown result type (might be due to invalid IL or missing references)
47159 //IL_22dd: Unknown result type (might be due to invalid IL or missing references)
47160 //IL_22de: Unknown result type (might be due to invalid IL or missing references)
47161 //IL_22e0: Unknown result type (might be due to invalid IL or missing references)
47162 //IL_2802: Unknown result type (might be due to invalid IL or missing references)
47163 //IL_2807: Unknown result type (might be due to invalid IL or missing references)
47164 //IL_2812: Unknown result type (might be due to invalid IL or missing references)
47165 //IL_0497: Unknown result type (might be due to invalid IL or missing references)
47166 //IL_049c: Unknown result type (might be due to invalid IL or missing references)
47167 //IL_1709: Unknown result type (might be due to invalid IL or missing references)
47168 //IL_170e: Unknown result type (might be due to invalid IL or missing references)
47169 //IL_1710: Unknown result type (might be due to invalid IL or missing references)
47170 //IL_1715: Unknown result type (might be due to invalid IL or missing references)
47171 //IL_1bf8: Unknown result type (might be due to invalid IL or missing references)
47172 //IL_1c02: Unknown result type (might be due to invalid IL or missing references)
47173 //IL_1c07: Unknown result type (might be due to invalid IL or missing references)
47174 //IL_1b3b: Unknown result type (might be due to invalid IL or missing references)
47175 //IL_1b33: Unknown result type (might be due to invalid IL or missing references)
47176 //IL_22f1: Unknown result type (might be due to invalid IL or missing references)
47177 //IL_22f6: Unknown result type (might be due to invalid IL or missing references)
47178 //IL_22f8: Unknown result type (might be due to invalid IL or missing references)
47179 //IL_22fd: Unknown result type (might be due to invalid IL or missing references)
47180 //IL_253b: Unknown result type (might be due to invalid IL or missing references)
47181 //IL_2540: Unknown result type (might be due to invalid IL or missing references)
47182 //IL_2543: Unknown result type (might be due to invalid IL or missing references)
47183 //IL_2549: Unknown result type (might be due to invalid IL or missing references)
47184 //IL_2553: Unknown result type (might be due to invalid IL or missing references)
47185 //IL_2558: Unknown result type (might be due to invalid IL or missing references)
47186 //IL_257d: Unknown result type (might be due to invalid IL or missing references)
47187 //IL_2594: Unknown result type (might be due to invalid IL or missing references)
47188 //IL_25ac: Unknown result type (might be due to invalid IL or missing references)
47189 //IL_25b1: Unknown result type (might be due to invalid IL or missing references)
47190 //IL_25b6: Unknown result type (might be due to invalid IL or missing references)
47191 //IL_25c4: Unknown result type (might be due to invalid IL or missing references)
47192 //IL_25d9: Unknown result type (might be due to invalid IL or missing references)
47193 //IL_25de: Unknown result type (might be due to invalid IL or missing references)
47194 //IL_2643: Unknown result type (might be due to invalid IL or missing references)
47195 //IL_2648: Unknown result type (might be due to invalid IL or missing references)
47196 //IL_2652: Unknown result type (might be due to invalid IL or missing references)
47197 //IL_2657: Unknown result type (might be due to invalid IL or missing references)
47198 //IL_265c: Unknown result type (might be due to invalid IL or missing references)
47199 //IL_0ac2: Unknown result type (might be due to invalid IL or missing references)
47200 //IL_0ada: Unknown result type (might be due to invalid IL or missing references)
47201 //IL_0ae0: Unknown result type (might be due to invalid IL or missing references)
47202 //IL_0ae2: Unknown result type (might be due to invalid IL or missing references)
47203 //IL_0ae7: Unknown result type (might be due to invalid IL or missing references)
47204 //IL_1b4e: Unknown result type (might be due to invalid IL or missing references)
47205 //IL_1b53: Unknown result type (might be due to invalid IL or missing references)
47206 //IL_1b58: Unknown result type (might be due to invalid IL or missing references)
47207 //IL_1b5c: Unknown result type (might be due to invalid IL or missing references)
47208 //IL_1b5e: Unknown result type (might be due to invalid IL or missing references)
47209 //IL_1b63: Unknown result type (might be due to invalid IL or missing references)
47210 //IL_1b68: Unknown result type (might be due to invalid IL or missing references)
47211 //IL_1b6f: Unknown result type (might be due to invalid IL or missing references)
47212 //IL_26bb: Unknown result type (might be due to invalid IL or missing references)
47213 //IL_26c0: Unknown result type (might be due to invalid IL or missing references)
47214 //IL_0af7: Unknown result type (might be due to invalid IL or missing references)
47215 //IL_0b0f: Unknown result type (might be due to invalid IL or missing references)
47216 //IL_0b15: Unknown result type (might be due to invalid IL or missing references)
47217 //IL_0b17: Unknown result type (might be due to invalid IL or missing references)
47218 //IL_0b1c: Unknown result type (might be due to invalid IL or missing references)
47219 //IL_1317: Unknown result type (might be due to invalid IL or missing references)
47220 //IL_1330: Unknown result type (might be due to invalid IL or missing references)
47221 //IL_1336: Unknown result type (might be due to invalid IL or missing references)
47222 //IL_1338: Unknown result type (might be due to invalid IL or missing references)
47223 //IL_133d: Unknown result type (might be due to invalid IL or missing references)
47224 //IL_177c: Unknown result type (might be due to invalid IL or missing references)
47225 //IL_1791: Unknown result type (might be due to invalid IL or missing references)
47226 //IL_1798: Unknown result type (might be due to invalid IL or missing references)
47227 //IL_179d: Unknown result type (might be due to invalid IL or missing references)
47228 //IL_17a2: Unknown result type (might be due to invalid IL or missing references)
47229 //IL_17b2: Unknown result type (might be due to invalid IL or missing references)
47230 //IL_17b7: Unknown result type (might be due to invalid IL or missing references)
47231 //IL_17be: Unknown result type (might be due to invalid IL or missing references)
47232 //IL_17d0: Unknown result type (might be due to invalid IL or missing references)
47233 //IL_17d7: Unknown result type (might be due to invalid IL or missing references)
47234 //IL_17dc: Unknown result type (might be due to invalid IL or missing references)
47235 //IL_17e1: Unknown result type (might be due to invalid IL or missing references)
47236 //IL_17f1: Unknown result type (might be due to invalid IL or missing references)
47237 //IL_17f6: Unknown result type (might be due to invalid IL or missing references)
47238 //IL_17fb: Unknown result type (might be due to invalid IL or missing references)
47239 //IL_1802: Unknown result type (might be due to invalid IL or missing references)
47240 //IL_1814: Unknown result type (might be due to invalid IL or missing references)
47241 //IL_181b: Unknown result type (might be due to invalid IL or missing references)
47242 //IL_1822: Unknown result type (might be due to invalid IL or missing references)
47243 //IL_1827: Unknown result type (might be due to invalid IL or missing references)
47244 //IL_182c: Unknown result type (might be due to invalid IL or missing references)
47245 //IL_1855: Unknown result type (might be due to invalid IL or missing references)
47246 //IL_1870: Unknown result type (might be due to invalid IL or missing references)
47247 //IL_1877: Unknown result type (might be due to invalid IL or missing references)
47248 //IL_187c: Unknown result type (might be due to invalid IL or missing references)
47249 //IL_1881: Unknown result type (might be due to invalid IL or missing references)
47250 //IL_18b0: Unknown result type (might be due to invalid IL or missing references)
47251 //IL_18bc: Unknown result type (might be due to invalid IL or missing references)
47252 //IL_18c3: Unknown result type (might be due to invalid IL or missing references)
47253 //IL_18ca: Unknown result type (might be due to invalid IL or missing references)
47254 //IL_18cf: Unknown result type (might be due to invalid IL or missing references)
47255 //IL_18d4: Unknown result type (might be due to invalid IL or missing references)
47256 //IL_18e7: Unknown result type (might be due to invalid IL or missing references)
47257 //IL_18eb: Unknown result type (might be due to invalid IL or missing references)
47258 //IL_18f0: Unknown result type (might be due to invalid IL or missing references)
47259 //IL_18f5: Unknown result type (might be due to invalid IL or missing references)
47260 //IL_18f9: Unknown result type (might be due to invalid IL or missing references)
47261 //IL_190e: Unknown result type (might be due to invalid IL or missing references)
47262 //IL_1915: Unknown result type (might be due to invalid IL or missing references)
47263 //IL_191a: Unknown result type (might be due to invalid IL or missing references)
47264 //IL_191f: Unknown result type (might be due to invalid IL or missing references)
47265 //IL_1938: Unknown result type (might be due to invalid IL or missing references)
47266 //IL_193c: Unknown result type (might be due to invalid IL or missing references)
47267 //IL_1941: Unknown result type (might be due to invalid IL or missing references)
47268 //IL_1946: Unknown result type (might be due to invalid IL or missing references)
47269 //IL_1b95: Unknown result type (might be due to invalid IL or missing references)
47270 //IL_1b9f: Unknown result type (might be due to invalid IL or missing references)
47271 //IL_1ba4: Unknown result type (might be due to invalid IL or missing references)
47272 //IL_1f16: Unknown result type (might be due to invalid IL or missing references)
47273 //IL_1f1b: Unknown result type (might be due to invalid IL or missing references)
47274 //IL_1f20: Unknown result type (might be due to invalid IL or missing references)
47275 //IL_1f22: Unknown result type (might be due to invalid IL or missing references)
47276 //IL_1f24: Unknown result type (might be due to invalid IL or missing references)
47277 //IL_1f29: Unknown result type (might be due to invalid IL or missing references)
47278 //IL_1f2e: Unknown result type (might be due to invalid IL or missing references)
47279 //IL_1f3d: Unknown result type (might be due to invalid IL or missing references)
47280 //IL_1f42: Unknown result type (might be due to invalid IL or missing references)
47281 //IL_1f45: Unknown result type (might be due to invalid IL or missing references)
47282 //IL_08c2: Unknown result type (might be due to invalid IL or missing references)
47283 //IL_0b2d: Unknown result type (might be due to invalid IL or missing references)
47284 //IL_0b32: Unknown result type (might be due to invalid IL or missing references)
47285 //IL_0b34: Unknown result type (might be due to invalid IL or missing references)
47286 //IL_0b39: Unknown result type (might be due to invalid IL or missing references)
47287 //IL_0ea1: Unknown result type (might be due to invalid IL or missing references)
47288 //IL_0ec8: Unknown result type (might be due to invalid IL or missing references)
47289 //IL_0ece: Unknown result type (might be due to invalid IL or missing references)
47290 //IL_0ed0: Unknown result type (might be due to invalid IL or missing references)
47291 //IL_0ed5: Unknown result type (might be due to invalid IL or missing references)
47292 //IL_134d: Unknown result type (might be due to invalid IL or missing references)
47293 //IL_134f: Unknown result type (might be due to invalid IL or missing references)
47294 //IL_135c: Unknown result type (might be due to invalid IL or missing references)
47295 //IL_1362: Unknown result type (might be due to invalid IL or missing references)
47296 //IL_1364: Unknown result type (might be due to invalid IL or missing references)
47297 //IL_136e: Unknown result type (might be due to invalid IL or missing references)
47298 //IL_1373: Unknown result type (might be due to invalid IL or missing references)
47299 //IL_1378: Unknown result type (might be due to invalid IL or missing references)
47300 //IL_137f: Unknown result type (might be due to invalid IL or missing references)
47301 //IL_1f5a: Unknown result type (might be due to invalid IL or missing references)
47302 //IL_1f5e: Unknown result type (might be due to invalid IL or missing references)
47303 //IL_1f66: Unknown result type (might be due to invalid IL or missing references)
47304 //IL_1f6b: Unknown result type (might be due to invalid IL or missing references)
47305 //IL_1f70: Unknown result type (might be due to invalid IL or missing references)
47306 //IL_1f72: Unknown result type (might be due to invalid IL or missing references)
47307 //IL_1f76: Unknown result type (might be due to invalid IL or missing references)
47308 //IL_1f7b: Unknown result type (might be due to invalid IL or missing references)
47309 //IL_1f80: Unknown result type (might be due to invalid IL or missing references)
47310 //IL_1f82: Unknown result type (might be due to invalid IL or missing references)
47311 //IL_1f84: Unknown result type (might be due to invalid IL or missing references)
47312 //IL_0ee4: Unknown result type (might be due to invalid IL or missing references)
47313 //IL_1554: Unknown result type (might be due to invalid IL or missing references)
47314 //IL_1556: Unknown result type (might be due to invalid IL or missing references)
47315 //IL_1fc3: Unknown result type (might be due to invalid IL or missing references)
47316 //IL_1fc5: Unknown result type (might be due to invalid IL or missing references)
47317 //IL_1fca: Unknown result type (might be due to invalid IL or missing references)
47318 //IL_1f8f: Unknown result type (might be due to invalid IL or missing references)
47319 //IL_1f91: Unknown result type (might be due to invalid IL or missing references)
47320 //IL_1f93: Unknown result type (might be due to invalid IL or missing references)
47321 //IL_1f98: Unknown result type (might be due to invalid IL or missing references)
47322 //IL_1f9a: Unknown result type (might be due to invalid IL or missing references)
47323 //IL_1f9c: Unknown result type (might be due to invalid IL or missing references)
47324 //IL_235c: Unknown result type (might be due to invalid IL or missing references)
47325 //IL_2361: Unknown result type (might be due to invalid IL or missing references)
47326 //IL_2363: Unknown result type (might be due to invalid IL or missing references)
47327 //IL_2368: Unknown result type (might be due to invalid IL or missing references)
47328 //IL_0f1b: Unknown result type (might be due to invalid IL or missing references)
47329 //IL_0f20: Unknown result type (might be due to invalid IL or missing references)
47330 //IL_0f23: Unknown result type (might be due to invalid IL or missing references)
47331 //IL_1954: Unknown result type (might be due to invalid IL or missing references)
47332 //IL_1956: Unknown result type (might be due to invalid IL or missing references)
47333 //IL_1960: Unknown result type (might be due to invalid IL or missing references)
47334 //IL_1965: Unknown result type (might be due to invalid IL or missing references)
47335 //IL_196a: Unknown result type (might be due to invalid IL or missing references)
47336 //IL_196c: Unknown result type (might be due to invalid IL or missing references)
47337 //IL_196e: Unknown result type (might be due to invalid IL or missing references)
47338 //IL_1fda: Unknown result type (might be due to invalid IL or missing references)
47339 //IL_1fdc: Unknown result type (might be due to invalid IL or missing references)
47340 //IL_1ff2: Unknown result type (might be due to invalid IL or missing references)
47341 //IL_1fac: Unknown result type (might be due to invalid IL or missing references)
47342 //IL_1fae: Unknown result type (might be due to invalid IL or missing references)
47343 //IL_1fb0: Unknown result type (might be due to invalid IL or missing references)
47344 //IL_1fb7: Unknown result type (might be due to invalid IL or missing references)
47345 //IL_1fbc: Unknown result type (might be due to invalid IL or missing references)
47346 //IL_1fc1: Unknown result type (might be due to invalid IL or missing references)
47347 //IL_1fa8: Unknown result type (might be due to invalid IL or missing references)
47348 //IL_1faa: Unknown result type (might be due to invalid IL or missing references)
47349 //IL_08e3: Unknown result type (might be due to invalid IL or missing references)
47350 //IL_08ee: Unknown result type (might be due to invalid IL or missing references)
47351 //IL_0f36: Unknown result type (might be due to invalid IL or missing references)
47352 //IL_0f3b: Unknown result type (might be due to invalid IL or missing references)
47353 //IL_0f40: Unknown result type (might be due to invalid IL or missing references)
47354 //IL_0f45: Unknown result type (might be due to invalid IL or missing references)
47355 //IL_1976: Unknown result type (might be due to invalid IL or missing references)
47356 //IL_1980: Unknown result type (might be due to invalid IL or missing references)
47357 //IL_1987: Unknown result type (might be due to invalid IL or missing references)
47358 //IL_198c: Unknown result type (might be due to invalid IL or missing references)
47359 //IL_198e: Unknown result type (might be due to invalid IL or missing references)
47360 //IL_1992: Unknown result type (might be due to invalid IL or missing references)
47361 //IL_1997: Unknown result type (might be due to invalid IL or missing references)
47362 //IL_1999: Unknown result type (might be due to invalid IL or missing references)
47363 //IL_199e: Unknown result type (might be due to invalid IL or missing references)
47364 //IL_19a3: Unknown result type (might be due to invalid IL or missing references)
47365 //IL_19a5: Unknown result type (might be due to invalid IL or missing references)
47366 //IL_19a7: Unknown result type (might be due to invalid IL or missing references)
47367 //IL_19ae: Unknown result type (might be due to invalid IL or missing references)
47368 //IL_19b3: Unknown result type (might be due to invalid IL or missing references)
47369 //IL_19b8: Unknown result type (might be due to invalid IL or missing references)
47370 //IL_19bd: Unknown result type (might be due to invalid IL or missing references)
47371 //IL_0b98: Unknown result type (might be due to invalid IL or missing references)
47372 //IL_0b9d: Unknown result type (might be due to invalid IL or missing references)
47373 //IL_0b9f: Unknown result type (might be due to invalid IL or missing references)
47374 //IL_0ba4: Unknown result type (might be due to invalid IL or missing references)
47375 //IL_0f65: Unknown result type (might be due to invalid IL or missing references)
47376 //IL_0f69: Unknown result type (might be due to invalid IL or missing references)
47377 //IL_0f71: Unknown result type (might be due to invalid IL or missing references)
47378 //IL_0f76: Unknown result type (might be due to invalid IL or missing references)
47379 //IL_0f7b: Unknown result type (might be due to invalid IL or missing references)
47380 //IL_0f7d: Unknown result type (might be due to invalid IL or missing references)
47381 //IL_0f81: Unknown result type (might be due to invalid IL or missing references)
47382 //IL_0f86: Unknown result type (might be due to invalid IL or missing references)
47383 //IL_0f8d: Unknown result type (might be due to invalid IL or missing references)
47384 //IL_0f97: Unknown result type (might be due to invalid IL or missing references)
47385 //IL_0f9c: Unknown result type (might be due to invalid IL or missing references)
47386 //IL_0fa1: Unknown result type (might be due to invalid IL or missing references)
47387 //IL_0fa3: Unknown result type (might be due to invalid IL or missing references)
47388 //IL_0fa5: Unknown result type (might be due to invalid IL or missing references)
47389 //IL_0f53: Unknown result type (might be due to invalid IL or missing references)
47390 //IL_0f5a: Unknown result type (might be due to invalid IL or missing references)
47391 //IL_0f5f: Unknown result type (might be due to invalid IL or missing references)
47392 //IL_19d1: Unknown result type (might be due to invalid IL or missing references)
47393 //IL_19d3: Unknown result type (might be due to invalid IL or missing references)
47394 //IL_19e9: Unknown result type (might be due to invalid IL or missing references)
47395 //IL_0fe4: Unknown result type (might be due to invalid IL or missing references)
47396 //IL_0fe6: Unknown result type (might be due to invalid IL or missing references)
47397 //IL_0feb: Unknown result type (might be due to invalid IL or missing references)
47398 //IL_0fb0: Unknown result type (might be due to invalid IL or missing references)
47399 //IL_0fb2: Unknown result type (might be due to invalid IL or missing references)
47400 //IL_0fb4: Unknown result type (might be due to invalid IL or missing references)
47401 //IL_0fb9: Unknown result type (might be due to invalid IL or missing references)
47402 //IL_0fbb: Unknown result type (might be due to invalid IL or missing references)
47403 //IL_0fbd: Unknown result type (might be due to invalid IL or missing references)
47404 //IL_0911: Unknown result type (might be due to invalid IL or missing references)
47405 //IL_0916: Unknown result type (might be due to invalid IL or missing references)
47406 //IL_091b: Unknown result type (might be due to invalid IL or missing references)
47407 //IL_0920: Unknown result type (might be due to invalid IL or missing references)
47408 //IL_092c: Unknown result type (might be due to invalid IL or missing references)
47409 //IL_0937: Unknown result type (might be due to invalid IL or missing references)
47410 //IL_094d: Unknown result type (might be due to invalid IL or missing references)
47411 //IL_0953: Unknown result type (might be due to invalid IL or missing references)
47412 //IL_0955: Unknown result type (might be due to invalid IL or missing references)
47413 //IL_095f: Unknown result type (might be due to invalid IL or missing references)
47414 //IL_0964: Unknown result type (might be due to invalid IL or missing references)
47415 //IL_0ffb: Unknown result type (might be due to invalid IL or missing references)
47416 //IL_0ffd: Unknown result type (might be due to invalid IL or missing references)
47417 //IL_1013: Unknown result type (might be due to invalid IL or missing references)
47418 //IL_0fcd: Unknown result type (might be due to invalid IL or missing references)
47419 //IL_0fcf: Unknown result type (might be due to invalid IL or missing references)
47420 //IL_0fd1: Unknown result type (might be due to invalid IL or missing references)
47421 //IL_0fd8: Unknown result type (might be due to invalid IL or missing references)
47422 //IL_0fdd: Unknown result type (might be due to invalid IL or missing references)
47423 //IL_0fe2: Unknown result type (might be due to invalid IL or missing references)
47424 //IL_0fc9: Unknown result type (might be due to invalid IL or missing references)
47425 //IL_0fcb: Unknown result type (might be due to invalid IL or missing references)
47426 //IL_205a: Unknown result type (might be due to invalid IL or missing references)
47427 //IL_205f: Unknown result type (might be due to invalid IL or missing references)
47428 //IL_2064: Unknown result type (might be due to invalid IL or missing references)
47429 //IL_2066: Unknown result type (might be due to invalid IL or missing references)
47430 //IL_2068: Unknown result type (might be due to invalid IL or missing references)
47431 //IL_206d: Unknown result type (might be due to invalid IL or missing references)
47432 //IL_2072: Unknown result type (might be due to invalid IL or missing references)
47433 //IL_2081: Unknown result type (might be due to invalid IL or missing references)
47434 //IL_2086: Unknown result type (might be due to invalid IL or missing references)
47435 //IL_208c: Unknown result type (might be due to invalid IL or missing references)
47436 //IL_2090: Unknown result type (might be due to invalid IL or missing references)
47437 //IL_2098: Unknown result type (might be due to invalid IL or missing references)
47438 //IL_209d: Unknown result type (might be due to invalid IL or missing references)
47439 //IL_20a2: Unknown result type (might be due to invalid IL or missing references)
47440 //IL_20a4: Unknown result type (might be due to invalid IL or missing references)
47441 //IL_20a8: Unknown result type (might be due to invalid IL or missing references)
47442 //IL_20ad: Unknown result type (might be due to invalid IL or missing references)
47443 //IL_20b2: Unknown result type (might be due to invalid IL or missing references)
47444 //IL_20b4: Unknown result type (might be due to invalid IL or missing references)
47445 //IL_20b6: Unknown result type (might be due to invalid IL or missing references)
47446 //IL_20f5: Unknown result type (might be due to invalid IL or missing references)
47447 //IL_20f7: Unknown result type (might be due to invalid IL or missing references)
47448 //IL_20fc: Unknown result type (might be due to invalid IL or missing references)
47449 //IL_2104: Unknown result type (might be due to invalid IL or missing references)
47450 //IL_2106: Unknown result type (might be due to invalid IL or missing references)
47451 //IL_211c: Unknown result type (might be due to invalid IL or missing references)
47452 //IL_20c1: Unknown result type (might be due to invalid IL or missing references)
47453 //IL_20c3: Unknown result type (might be due to invalid IL or missing references)
47454 //IL_20c5: Unknown result type (might be due to invalid IL or missing references)
47455 //IL_20ca: Unknown result type (might be due to invalid IL or missing references)
47456 //IL_20cc: Unknown result type (might be due to invalid IL or missing references)
47457 //IL_20ce: Unknown result type (might be due to invalid IL or missing references)
47458 //IL_20de: Unknown result type (might be due to invalid IL or missing references)
47459 //IL_20e0: Unknown result type (might be due to invalid IL or missing references)
47460 //IL_20e2: Unknown result type (might be due to invalid IL or missing references)
47461 //IL_20e9: Unknown result type (might be due to invalid IL or missing references)
47462 //IL_20ee: Unknown result type (might be due to invalid IL or missing references)
47463 //IL_20f3: Unknown result type (might be due to invalid IL or missing references)
47464 //IL_20da: Unknown result type (might be due to invalid IL or missing references)
47465 //IL_20dc: Unknown result type (might be due to invalid IL or missing references)
47466 //IL_107b: Unknown result type (might be due to invalid IL or missing references)
47467 //IL_1080: Unknown result type (might be due to invalid IL or missing references)
47468 //IL_1084: Unknown result type (might be due to invalid IL or missing references)
47469 //IL_1089: Unknown result type (might be due to invalid IL or missing references)
47470 //IL_108e: Unknown result type (might be due to invalid IL or missing references)
47471 //IL_1093: Unknown result type (might be due to invalid IL or missing references)
47472 //IL_10af: Unknown result type (might be due to invalid IL or missing references)
47473 //IL_10b3: Unknown result type (might be due to invalid IL or missing references)
47474 //IL_10bb: Unknown result type (might be due to invalid IL or missing references)
47475 //IL_10c0: Unknown result type (might be due to invalid IL or missing references)
47476 //IL_10c5: Unknown result type (might be due to invalid IL or missing references)
47477 //IL_10c7: Unknown result type (might be due to invalid IL or missing references)
47478 //IL_10cb: Unknown result type (might be due to invalid IL or missing references)
47479 //IL_10d0: Unknown result type (might be due to invalid IL or missing references)
47480 //IL_10d7: Unknown result type (might be due to invalid IL or missing references)
47481 //IL_10e1: Unknown result type (might be due to invalid IL or missing references)
47482 //IL_10e6: Unknown result type (might be due to invalid IL or missing references)
47483 //IL_10eb: Unknown result type (might be due to invalid IL or missing references)
47484 //IL_10ed: Unknown result type (might be due to invalid IL or missing references)
47485 //IL_10ef: Unknown result type (might be due to invalid IL or missing references)
47486 //IL_10a1: Unknown result type (might be due to invalid IL or missing references)
47487 //IL_10a8: Unknown result type (might be due to invalid IL or missing references)
47488 //IL_10ad: Unknown result type (might be due to invalid IL or missing references)
47489 //IL_112e: Unknown result type (might be due to invalid IL or missing references)
47490 //IL_1130: Unknown result type (might be due to invalid IL or missing references)
47491 //IL_1135: Unknown result type (might be due to invalid IL or missing references)
47492 //IL_113d: Unknown result type (might be due to invalid IL or missing references)
47493 //IL_113f: Unknown result type (might be due to invalid IL or missing references)
47494 //IL_1155: Unknown result type (might be due to invalid IL or missing references)
47495 //IL_10fa: Unknown result type (might be due to invalid IL or missing references)
47496 //IL_10fc: Unknown result type (might be due to invalid IL or missing references)
47497 //IL_10fe: Unknown result type (might be due to invalid IL or missing references)
47498 //IL_1103: Unknown result type (might be due to invalid IL or missing references)
47499 //IL_1105: Unknown result type (might be due to invalid IL or missing references)
47500 //IL_1107: Unknown result type (might be due to invalid IL or missing references)
47501 //IL_1117: Unknown result type (might be due to invalid IL or missing references)
47502 //IL_1119: Unknown result type (might be due to invalid IL or missing references)
47503 //IL_111b: Unknown result type (might be due to invalid IL or missing references)
47504 //IL_1122: Unknown result type (might be due to invalid IL or missing references)
47505 //IL_1127: Unknown result type (might be due to invalid IL or missing references)
47506 //IL_112c: Unknown result type (might be due to invalid IL or missing references)
47507 //IL_1113: Unknown result type (might be due to invalid IL or missing references)
47508 //IL_1115: Unknown result type (might be due to invalid IL or missing references)
47509 Vector2 vector = default(Vector2);
47510 ((Vector2)(ref vector))._002Ector(-150f, -250f);
47511 Vector2 vector10 = default(Vector2);
47512 ((Vector2)(ref vector10))._002Ector(150f, -250f);
47513 Vector2 vector21 = default(Vector2);
47514 ((Vector2)(ref vector21))._002Ector(0f, -350f);
47515 Vector2 vector29 = default(Vector2);
47516 ((Vector2)(ref vector29))._002Ector(0f, -350f);
47517 Vector2 vector30 = default(Vector2);
47518 ((Vector2)(ref vector30))._002Ector(-80f, -500f);
47519 float num = 0.5f;
47520 float num12 = 12f;
47521 float num23 = 40f;
47522 float num34 = 6400f;
47523 int num45 = 40;
47524 int num56 = 50;
47525 int num67 = 70;
47526 int num78 = 45;
47527 int num88 = 45;
47528 int num2 = 50;
47530 bool flag5 = Main.expertMode;
47531 bool flag6 = flag && flag5;
47534 {
47535 this.ai[3] += 2f;
47536 }
47537 bool flag8 = true;
47538 int num3 = 30;
47539 int num4 = 30;
47540 int num5 = 30;
47541 int num6 = 35;
47542 int num7 = 65;
47543 if (flag)
47544 {
47545 num56 = 60;
47546 num78 = 50;
47547 num88 = 50;
47548 num2 = 60;
47549 num67 = 65;
47550 num3 = 35;
47551 num4 = 35;
47552 num5 = 35;
47553 num6 = 40;
47554 num7 = 30;
47555 }
47561 if (flag7)
47562 {
47563 num56 = 9999;
47564 num78 = 9999;
47565 num88 = 9999;
47566 num2 = 9999;
47567 num67 = 9999;
47568 flag5 = true;
47569 }
47570 float num8 = (flag5 ? 0.3f : 1f);
47571 bool flag9 = true;
47572 int num9 = 0;
47573 if (flag)
47574 {
47575 num9 += 15;
47576 }
47577 if (flag5)
47578 {
47579 num9 += 5;
47580 }
47581 Vector2 val = default(Vector2);
47582 switch ((int)this.ai[0])
47583 {
47584 case 0:
47585 if (this.ai[1] == 0f)
47586 {
47587 velocity = new Vector2(0f, 5f);
47588 if (Main.netMode != 1)
47589 {
47590 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), base.Center + new Vector2(0f, -80f), Vector2.Zero, 874, 0, 0f, Main.myPlayer);
47591 }
47592 }
47593 if (this.ai[1] == 10f)
47594 {
47596 }
47597 velocity *= 0.95f;
47598 if (this.ai[1] > 10f && this.ai[1] < 150f)
47599 {
47600 int num64 = 2;
47601 for (int m = 0; m < num64; m++)
47602 {
47603 float num65 = MathHelper.Lerp(1.3f, 0.7f, Opacity) * Utils.GetLerpValue(0f, 120f, this.ai[1], clamped: true);
47604 Color newColor2 = Main.hslToRgb(this.ai[1] / 180f, 1f, 0.5f);
47605 int num66 = Dust.NewDust(position, width, height, 267, 0f, 0f, 0, newColor2);
47606 Main.dust[num66].position = base.Center + Main.rand.NextVector2Circular((float)width * 3f, (float)height * 3f) + new Vector2(0f, -150f);
47607 Dust obj3 = Main.dust[num66];
47608 obj3.velocity *= Main.rand.NextFloat() * 0.8f;
47609 Main.dust[num66].noGravity = true;
47610 Main.dust[num66].fadeIn = 0.6f + Main.rand.NextFloat() * 0.7f * num65;
47611 Dust obj4 = Main.dust[num66];
47612 obj4.velocity += Vector2.UnitY * 3f;
47613 Main.dust[num66].scale = 0.35f;
47614 if (num66 != 6000)
47615 {
47616 Dust dust2 = Dust.CloneDust(num66);
47617 dust2.scale /= 2f;
47618 dust2.fadeIn *= 0.85f;
47619 dust2.color = new Color(255, 255, 255, 255);
47620 }
47621 }
47622 }
47623 this.ai[1] += 1f;
47624 flag8 = false;
47625 flag9 = false;
47626 Opacity = MathHelper.Clamp(this.ai[1] / 180f, 0f, 1f);
47627 if (this.ai[1] >= 180f)
47628 {
47630 {
47631 this.ai[3] += 2f;
47632 }
47633 this.ai[0] = 1f;
47634 this.ai[1] = 0f;
47635 netUpdate = true;
47636 TargetClosest();
47637 }
47638 break;
47639 case 1:
47640 {
47641 float num28 = (flag ? 20f : 45f);
47642 if (Main.getGoodWorld)
47643 {
47644 num28 /= 2f;
47645 }
47646 if (this.ai[1] <= 10f)
47647 {
47648 if (this.ai[1] == 0f)
47649 {
47650 TargetClosest();
47651 }
47653 if (targetData6.Invalid)
47654 {
47655 this.ai[0] = 13f;
47656 this.ai[1] = 0f;
47657 this.ai[2] += 1f;
47658 velocity /= 4f;
47659 netUpdate = true;
47660 break;
47661 }
47662 Vector2 center = targetData6.Center;
47664 netUpdate = true;
47665 }
47666 if (((Vector2)(ref velocity)).Length() > 16f && this.ai[1] > 10f)
47667 {
47668 velocity /= 2f;
47669 }
47670 velocity *= 0.92f;
47671 this.ai[1] += 1f;
47672 if (!(this.ai[1] >= num28))
47673 {
47674 break;
47675 }
47676 int num29 = (int)this.ai[2];
47677 int num30 = 2;
47678 int num31 = 0;
47679 if (!flag)
47680 {
47681 int num32 = num31++;
47682 int num33 = num31++;
47683 int num35 = num31++;
47684 int num36 = num31++;
47685 int num37 = num31++;
47686 int num38 = num31++;
47687 int num39 = num31++;
47688 int num40 = num31++;
47689 int num41 = num31++;
47690 int num42 = num31++;
47691 if (num29 % num31 == num32)
47692 {
47693 num30 = 2;
47694 }
47695 if (num29 % num31 == num33)
47696 {
47697 num30 = 8;
47698 }
47699 if (num29 % num31 == num35)
47700 {
47701 num30 = 6;
47702 }
47703 if (num29 % num31 == num36)
47704 {
47705 num30 = 8;
47706 }
47707 if (num29 % num31 == num37)
47708 {
47709 num30 = 5;
47710 }
47711 if (num29 % num31 == num38)
47712 {
47713 num30 = 2;
47714 }
47715 if (num29 % num31 == num39)
47716 {
47717 num30 = 8;
47718 }
47719 if (num29 % num31 == num40)
47720 {
47721 num30 = 4;
47722 }
47723 if (num29 % num31 == num41)
47724 {
47725 num30 = 8;
47726 }
47727 if (num29 % num31 == num42)
47728 {
47729 num30 = 5;
47730 }
47731 if ((float)life / (float)lifeMax <= 0.5f)
47732 {
47733 num30 = 10;
47734 }
47735 }
47736 if (flag)
47737 {
47738 int num43 = num31++;
47739 int num44 = num31++;
47740 int num46 = num31++;
47741 int num47 = -1;
47742 if (flag5)
47743 {
47744 num47 = num31++;
47745 }
47746 int num48 = num31++;
47747 int num49 = num31++;
47748 int num50 = num31++;
47749 int num51 = num31++;
47750 int num52 = num31++;
47751 int num53 = num31++;
47752 if (num29 % num31 == num43)
47753 {
47754 num30 = 7;
47755 }
47756 if (num29 % num31 == num44)
47757 {
47758 num30 = 2;
47759 }
47760 if (num29 % num31 == num46)
47761 {
47762 num30 = 8;
47763 }
47764 if (num29 % num31 == num48)
47765 {
47766 num30 = 5;
47767 }
47768 if (num29 % num31 == num49)
47769 {
47770 num30 = 2;
47771 }
47772 if (num29 % num31 == num50)
47773 {
47774 num30 = 6;
47775 }
47776 if (num29 % num31 == num50)
47777 {
47778 num30 = 6;
47779 }
47780 if (num29 % num31 == num51)
47781 {
47782 num30 = 4;
47783 }
47784 if (num29 % num31 == num52)
47785 {
47786 num30 = 8;
47787 }
47788 if (num29 % num31 == num47)
47789 {
47790 num30 = 11;
47791 }
47792 if (num29 % num31 == num53)
47793 {
47794 num30 = 12;
47795 }
47796 }
47797 TargetClosest();
47799 bool flag4 = false;
47801 {
47802 if (!Main.dayTime)
47803 {
47804 flag4 = true;
47805 }
47806 if (Main.dayTime && Main.time >= 53400.0)
47807 {
47808 flag4 = true;
47809 }
47810 }
47811 if (targetData7.Invalid || Distance(targetData7.Center) > num34 || flag4)
47812 {
47813 num30 = 13;
47814 }
47815 if (num30 == 8 && targetData7.Center.X > base.Center.X)
47816 {
47817 num30 = 9;
47818 }
47819 if (flag5 && num30 != 5 && num30 != 12)
47820 {
47821 Vector2 spinningpoint2 = DirectionFrom(targetData7.Center).SafeNormalize(Vector2.Zero);
47822 double radians2 = (float)Math.PI / 2f * (float)(targetData7.Center.X > base.Center.X).ToDirectionInt();
47823 val = default(Vector2);
47824 velocity = spinningpoint2.RotatedBy(radians2, val) * 20f;
47825 }
47826 this.ai[0] = num30;
47827 this.ai[1] = 0f;
47828 this.ai[2] += 1f;
47829 netUpdate = true;
47830 break;
47831 }
47832 case 2:
47833 {
47834 if (this.ai[1] == 0f)
47835 {
47837 }
47838 float num89 = 90f - (float)num9;
47839 Vector2 vector26 = default(Vector2);
47840 ((Vector2)(ref vector26))._002Ector(-55f, -30f);
47842 Vector2 vector27 = (targetData3.Invalid ? base.Center : targetData3.Center);
47843 if (Distance(vector27 + vector) > num23)
47844 {
47845 SimpleFlyMovement(DirectionTo(vector27 + vector).SafeNormalize(Vector2.Zero) * num12, num);
47846 }
47847 if (this.ai[1] < 60f)
47848 {
47849 AI_120_HallowBoss_DoMagicEffect(base.Center + vector26, 1, Utils.GetLerpValue(0f, 60f, this.ai[1], clamped: true));
47850 }
47851 int num90 = 3;
47852 if (flag5)
47853 {
47854 num90 = 2;
47855 }
47856 if ((int)this.ai[1] % num90 == 0 && this.ai[1] < 60f)
47857 {
47858 float ai3 = this.ai[1] / 60f;
47859 Vector2 spinningpoint3 = new Vector2(0f, -6f);
47860 double radians5 = (float)Math.PI / 2f * Main.rand.NextFloatDirection();
47861 val = default(Vector2);
47862 Vector2 vector28 = Utils.RotatedBy(spinningpoint3, radians5, val);
47863 if (flag6)
47864 {
47865 Vector2 spinningpoint4 = new Vector2(0f, -10f);
47866 double radians6 = (float)Math.PI * 2f * Main.rand.NextFloat();
47867 val = default(Vector2);
47868 vector28 = Utils.RotatedBy(spinningpoint4, radians6, val);
47869 }
47870 if (Main.netMode != 1)
47871 {
47872 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), base.Center + vector26, vector28, 873, num78, 0f, Main.myPlayer, target, ai3);
47873 }
47874 if (Main.netMode != 1)
47875 {
47876 int num91 = (int)(this.ai[1] / (float)num90);
47877 for (int num92 = 0; num92 < 255; num92++)
47878 {
47879 if (Boss_CanShootExtraAt(num92, num91 % 3, 3, 2400f))
47880 {
47881 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), base.Center + vector26, vector28, 873, num78, 0f, Main.myPlayer, num92, ai3);
47882 }
47883 }
47884 }
47885 }
47886 this.ai[1] += 1f;
47887 if (this.ai[1] >= 60f + num89)
47888 {
47889 this.ai[0] = 1f;
47890 this.ai[1] = 0f;
47891 netUpdate = true;
47892 }
47893 break;
47894 }
47895 case 3:
47896 {
47897 this.ai[1] += 1f;
47899 Vector2 vector14 = (targetData10.Invalid ? base.Center : targetData10.Center);
47901 {
47902 SimpleFlyMovement(DirectionTo(vector14 + vector10).SafeNormalize(Vector2.Zero) * num12, num);
47903 }
47904 if ((int)this.ai[1] % 180 == 0)
47905 {
47906 Vector2 vector15 = default(Vector2);
47907 ((Vector2)(ref vector15))._002Ector(0f, -100f);
47908 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), targetData10.Center + vector15, Vector2.Zero, 874, num45, 0f, Main.myPlayer);
47909 }
47910 if (this.ai[1] >= 120f)
47911 {
47912 this.ai[0] = 1f;
47913 this.ai[1] = 0f;
47914 netUpdate = true;
47915 }
47916 break;
47917 }
47918 case 4:
47919 {
47920 float num80 = 20 - num9;
47921 new Vector2(0f, -100f);
47922 if (this.ai[1] == 0f)
47923 {
47925 }
47926 if (this.ai[1] >= 6f && this.ai[1] < 54f)
47927 {
47928 AI_120_HallowBoss_DoMagicEffect(base.Center + new Vector2(-55f, -20f), 2, Utils.GetLerpValue(0f, 100f, this.ai[1], clamped: true));
47929 AI_120_HallowBoss_DoMagicEffect(base.Center + new Vector2(55f, -20f), 4, Utils.GetLerpValue(0f, 100f, this.ai[1], clamped: true));
47930 }
47932 Vector2 vector20 = (targetData2.Invalid ? base.Center : targetData2.Center);
47934 {
47935 SimpleFlyMovement(DirectionTo(vector20 + vector21).SafeNormalize(Vector2.Zero) * num12, num);
47936 }
47937 int num81 = 4;
47938 if (flag5)
47939 {
47940 num81 = 5;
47941 }
47942 if ((int)this.ai[1] % 4 == 0 && this.ai[1] < 100f)
47943 {
47944 int num82 = 1;
47945 for (int n = 0; n < num82; n++)
47946 {
47947 int num83 = (int)this.ai[1] / 4;
47948 Vector2 unitX = Vector2.UnitX;
47949 double radians4 = (float)Math.PI / (float)(num81 * 2) + (float)num83 * ((float)Math.PI / (float)num81) + 0f;
47950 val = default(Vector2);
47951 Vector2 vector22 = unitX.RotatedBy(radians4, val);
47952 if (!flag5)
47953 {
47954 vector22.X += ((vector22.X > 0f) ? 0.5f : (-0.5f));
47955 }
47956 ((Vector2)(ref vector22)).Normalize();
47957 float num84 = 300f;
47958 if (flag5)
47959 {
47960 num84 = 450f;
47961 }
47962 Vector2 center4 = targetData2.Center;
47963 if (Distance(center4) > 2400f)
47964 {
47965 continue;
47966 }
47967 if (Vector2.Dot(targetData2.Velocity.SafeNormalize(Vector2.UnitY), vector22) > 0f)
47968 {
47969 vector22 *= -1f;
47970 }
47971 int num85 = 90;
47972 Vector2 val4 = center4 + targetData2.Velocity * (float)num85;
47973 Vector2 vector23 = center4 + vector22 * num84 - targetData2.Velocity * 30f;
47974 if (vector23.Distance(center4) < num84)
47975 {
47976 Vector2 vector24 = center4 - vector23;
47977 if (vector24 == Vector2.Zero)
47978 {
47980 }
47981 vector23 = center4 - Vector2.Normalize(vector24) * num84;
47982 }
47983 Vector2 v3 = val4 - vector23;
47984 if (Main.netMode != 1)
47985 {
47986 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), vector23, Vector2.Zero, 919, num56, 0f, Main.myPlayer, v3.ToRotation(), this.ai[1] / 100f);
47987 }
47988 if (Main.netMode == 1)
47989 {
47990 continue;
47991 }
47992 int num86 = (int)(this.ai[1] / 4f);
47993 for (int num87 = 0; num87 < 255; num87++)
47994 {
47995 if (!Boss_CanShootExtraAt(num87, num86 % 3, 3, 2400f))
47996 {
47997 continue;
47998 }
47999 Player player2 = Main.player[num87];
48000 center4 = player2.Center;
48001 if (Vector2.Dot(player2.velocity.SafeNormalize(Vector2.UnitY), vector22) > 0f)
48002 {
48003 vector22 *= -1f;
48004 }
48005 Vector2 val5 = center4 + player2.velocity * (float)num85;
48006 vector23 = center4 + vector22 * num84 - player2.velocity * 30f;
48007 if (vector23.Distance(center4) < num84)
48008 {
48009 Vector2 vector25 = center4 - vector23;
48010 if (vector25 == Vector2.Zero)
48011 {
48013 }
48014 vector23 = center4 - Vector2.Normalize(vector25) * num84;
48015 }
48016 v3 = val5 - vector23;
48017 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), vector23, Vector2.Zero, 919, num56, 0f, Main.myPlayer, v3.ToRotation(), this.ai[1] / 100f);
48018 }
48019 }
48020 }
48021 this.ai[1] += 1f;
48022 if (this.ai[1] >= 100f + num80)
48023 {
48024 this.ai[0] = 1f;
48025 this.ai[1] = 0f;
48026 netUpdate = true;
48027 }
48028 break;
48029 }
48030 case 5:
48031 {
48032 if (this.ai[1] == 0f)
48033 {
48035 }
48036 float num60 = 30f;
48037 num60 -= (float)num9;
48038 Vector2 vector9 = default(Vector2);
48039 ((Vector2)(ref vector9))._002Ector(55f, -30f);
48040 Vector2 vector11 = base.Center + vector9;
48041 if (this.ai[1] < 42f)
48042 {
48043 AI_120_HallowBoss_DoMagicEffect(base.Center + vector9, 3, Utils.GetLerpValue(0f, 42f, this.ai[1], clamped: true));
48044 }
48046 Vector2 vector12 = (targetData9.Invalid ? base.Center : targetData9.Center);
48048 {
48049 SimpleFlyMovement(DirectionTo(vector12 + vector29).SafeNormalize(Vector2.Zero) * num12, num);
48050 }
48051 if ((int)this.ai[1] % 42 == 0 && this.ai[1] < 42f)
48052 {
48053 float num61 = (float)Math.PI * 2f * Main.rand.NextFloat();
48054 for (float num62 = 0f; num62 < 1f; num62 += 1f / 13f)
48055 {
48056 float num63 = num62;
48057 Vector2 unitY = Vector2.UnitY;
48058 double radians3 = (float)Math.PI / 2f + (float)Math.PI * 2f * num63 + num61;
48059 val = default(Vector2);
48060 Vector2 vector13 = unitY.RotatedBy(radians3, val);
48061 if (Main.netMode != 1)
48062 {
48064 val = default(Vector2);
48065 Projectile.NewProjectile(spawnSource_ForProjectile, vector11 + vector13.RotatedBy(-1.5707963705062866, val) * 30f, vector13 * 8f, 872, num88, 0f, Main.myPlayer, 0f, num63);
48066 }
48067 }
48068 }
48069 this.ai[1] += 1f;
48070 if (this.ai[1] >= 42f + num60)
48071 {
48072 this.ai[0] = 1f;
48073 this.ai[1] = 0f;
48074 netUpdate = true;
48075 }
48076 break;
48077 }
48078 case 6:
48079 {
48080 float num18 = 120 - num9;
48081 Vector2 vector33 = default(Vector2);
48082 ((Vector2)(ref vector33))._002Ector(0f, -100f);
48083 Vector2 vector34 = base.Center + vector33;
48085 Vector2 vector2 = (targetData4.Invalid ? base.Center : targetData4.Center);
48086 if (Distance(vector2 + vector30) > num23)
48087 {
48088 SimpleFlyMovement(DirectionTo(vector2 + vector30).SafeNormalize(Vector2.Zero) * num12 * 0.3f, num * 0.7f);
48089 }
48090 if ((int)this.ai[1] % 60 == 0 && this.ai[1] < 180f)
48091 {
48092 int num19 = (int)this.ai[1] / 60;
48093 int num20 = ((targetData4.Center.X > base.Center.X) ? 1 : 0);
48094 float num21 = 6f;
48095 if (flag5)
48096 {
48097 num21 = 8f;
48098 }
48099 float num22 = 1f / num21;
48100 for (float num24 = 0f; num24 < 1f; num24 += num22)
48101 {
48102 float num25 = (num24 + num22 * 0.5f + (float)num19 * num22 * 0.5f) % 1f;
48103 float ai = (float)Math.PI * 2f * (num25 + (float)num20);
48104 if (Main.netMode != 1)
48105 {
48106 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), vector34, Vector2.Zero, 923, num2, 0f, Main.myPlayer, ai, whoAmI);
48107 }
48108 }
48109 }
48110 this.ai[1] += 1f;
48111 if (this.ai[1] >= 180f + num18)
48112 {
48113 this.ai[0] = 1f;
48114 this.ai[1] = 0f;
48115 netUpdate = true;
48116 }
48117 break;
48118 }
48119 case 7:
48120 {
48121 float num68 = 20f;
48122 float num69 = 60f;
48123 float num70 = num69 * 4f;
48124 if (flag5)
48125 {
48126 num68 = 40f;
48127 num69 = 40f;
48128 num70 = num69 * 6f;
48129 }
48130 num68 -= (float)num9;
48132 Vector2 vector16 = (targetData11.Invalid ? base.Center : targetData11.Center);
48134 {
48135 SimpleFlyMovement(DirectionTo(vector16 + vector29).SafeNormalize(Vector2.Zero) * num12 * 0.4f, num);
48136 }
48137 if ((float)(int)this.ai[1] % num69 == 0f && this.ai[1] < num70)
48138 {
48140 Main.rand.NextFloat();
48141 int num71 = (int)this.ai[1] / (int)num69;
48142 float num72 = 13f;
48143 float num73 = 150f;
48144 float num74 = num72 * num73;
48145 Vector2 center3 = targetData11.Center;
48146 if (Distance(center3) <= 3200f)
48147 {
48148 Vector2 vector17 = Vector2.Zero;
48149 Vector2 vector18 = Vector2.UnitY;
48150 float num75 = 0.4f;
48151 float num76 = 1.4f;
48152 float num77 = 1f;
48153 if (flag5)
48154 {
48155 num72 += 5f;
48156 num73 += 50f;
48157 num77 *= 1f;
48158 num74 *= 0.5f;
48159 }
48160 switch (num71)
48161 {
48162 case 0:
48163 center3 += new Vector2((0f - num74) / 2f, 0f) * num77;
48164 ((Vector2)(ref vector17))._002Ector(0f, num74);
48165 vector18 = Vector2.UnitX;
48166 break;
48167 case 1:
48168 center3 += new Vector2(num74 / 2f, num73 / 2f) * num77;
48169 ((Vector2)(ref vector17))._002Ector(0f, num74);
48170 vector18 = -Vector2.UnitX;
48171 break;
48172 case 2:
48173 center3 += new Vector2(0f - num74, 0f - num74) * num75 * num77;
48174 ((Vector2)(ref vector17))._002Ector(num74 * num76, 0f);
48175 ((Vector2)(ref vector18))._002Ector(1f, 1f);
48176 break;
48177 case 3:
48178 center3 += new Vector2(num74 * num75 + num73 / 2f, (0f - num74) * num75) * num77;
48179 ((Vector2)(ref vector17))._002Ector((0f - num74) * num76, 0f);
48180 ((Vector2)(ref vector18))._002Ector(-1f, 1f);
48181 break;
48182 case 4:
48183 center3 += new Vector2(0f - num74, num74) * num75 * num77;
48184 ((Vector2)(ref vector17))._002Ector(num74 * num76, 0f);
48185 vector18 = center3.DirectionTo(targetData11.Center);
48186 break;
48187 case 5:
48188 center3 += new Vector2(num74 * num75 + num73 / 2f, num74 * num75) * num77;
48189 ((Vector2)(ref vector17))._002Ector((0f - num74) * num76, 0f);
48190 vector18 = center3.DirectionTo(targetData11.Center);
48191 break;
48192 }
48193 for (float num79 = 0f; num79 <= 1f; num79 += 1f / num72)
48194 {
48195 Vector2 origin = center3 + vector17 * (num79 - 0.5f);
48196 Vector2 v2 = vector18;
48197 if (flag5)
48198 {
48199 Vector2 vector19 = targetData11.Velocity * 20f * num79;
48200 Vector2 value2 = origin.DirectionTo(targetData11.Center + vector19);
48201 v2 = Vector2.Lerp(vector18, value2, 0.75f).SafeNormalize(Vector2.UnitY);
48202 }
48203 float ai2 = num79;
48204 if (Main.netMode != 1)
48205 {
48206 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), origin, Vector2.Zero, 919, num67, 0f, Main.myPlayer, v2.ToRotation(), ai2);
48207 }
48208 }
48209 }
48210 }
48211 this.ai[1] += 1f;
48212 if (this.ai[1] >= num70 + num68)
48213 {
48214 this.ai[0] = 1f;
48215 this.ai[1] = 0f;
48216 netUpdate = true;
48217 }
48218 break;
48219 }
48220 case 8:
48221 case 9:
48222 {
48223 float num26 = 20 - num9;
48224 Vector2 vector3 = default(Vector2);
48225 ((Vector2)(ref vector3))._002Ector(0f, -100f);
48226 _ = base.Center + vector3;
48227 flag9 = !(this.ai[1] >= 6f) || !(this.ai[1] <= 40f);
48228 int num27 = ((this.ai[0] != 8f) ? 1 : (-1));
48229 AI_120_HallowBoss_DoMagicEffect(base.Center, 5, Utils.GetLerpValue(40f, 90f, this.ai[1], clamped: true));
48230 if (this.ai[1] <= 40f)
48231 {
48232 if (this.ai[1] == 20f)
48233 {
48235 }
48237 Vector2 destination = (targetData5.Invalid ? base.Center : targetData5.Center) + new Vector2((float)(num27 * -550), 0f);
48238 SimpleFlyMovement(DirectionTo(destination).SafeNormalize(Vector2.Zero) * num12, num * 2f);
48239 if (this.ai[1] == 40f)
48240 {
48241 velocity *= 0.3f;
48242 }
48243 }
48244 else if (this.ai[1] <= 90f)
48245 {
48246 ((Vector2)(ref val))._002Ector((float)(num27 * 50), 0f);
48247 velocity = Vector2.Lerp(velocity, val, 0.05f);
48248 if (this.ai[1] == 90f)
48249 {
48250 velocity *= 0.7f;
48251 }
48252 num8 *= 1.5f;
48253 }
48254 else
48255 {
48256 velocity *= 0.92f;
48257 }
48258 this.ai[1] += 1f;
48259 if (this.ai[1] >= 90f + num26)
48260 {
48261 this.ai[0] = 1f;
48262 this.ai[1] = 0f;
48263 netUpdate = true;
48264 }
48265 break;
48266 }
48267 case 10:
48268 {
48269 float num93 = 20 - num9;
48270 if (this.ai[1] == 0f)
48271 {
48273 }
48274 flag9 = !(this.ai[1] >= 30f) || !(this.ai[1] <= 170f);
48275 velocity *= 0.95f;
48276 if (this.ai[1] == 90f)
48277 {
48278 if (this.ai[3] == 0f)
48279 {
48280 this.ai[3] = 1f;
48281 }
48282 if (this.ai[3] == 2f)
48283 {
48284 this.ai[3] = 3f;
48285 }
48286 base.Center = GetTargetData().Center + new Vector2(0f, -250f);
48287 netUpdate = true;
48288 }
48289 this.ai[1] += 1f;
48290 if (this.ai[1] >= 180f + num93)
48291 {
48292 this.ai[0] = 1f;
48293 this.ai[1] = 0f;
48294 this.ai[2] = 0f;
48295 netUpdate = true;
48296 }
48297 break;
48298 }
48299 case 11:
48300 {
48301 if (this.ai[1] == 0f)
48302 {
48304 }
48305 float num54 = 20 - num9;
48306 new Vector2(0f, -100f);
48307 if (this.ai[1] >= 6f && this.ai[1] < 54f)
48308 {
48309 AI_120_HallowBoss_DoMagicEffect(base.Center + new Vector2(-55f, -20f), 2, Utils.GetLerpValue(0f, 100f, this.ai[1], clamped: true));
48310 AI_120_HallowBoss_DoMagicEffect(base.Center + new Vector2(55f, -20f), 4, Utils.GetLerpValue(0f, 100f, this.ai[1], clamped: true));
48311 }
48313 Vector2 vector4 = (targetData8.Invalid ? base.Center : targetData8.Center);
48314 if (Distance(vector4 + vector21) > num23)
48315 {
48316 SimpleFlyMovement(DirectionTo(vector4 + vector21).SafeNormalize(Vector2.Zero) * num12, num);
48317 }
48318 if ((int)this.ai[1] % 3 == 0 && this.ai[1] < 100f)
48319 {
48320 int num55 = 1;
48321 for (int k = 0; k < num55; k++)
48322 {
48323 Vector2 vector5 = -targetData8.Velocity;
48324 vector5.SafeNormalize(-Vector2.UnitY);
48325 float num57 = 100f;
48326 Vector2 center2 = targetData8.Center;
48327 if (Distance(center2) > 2400f)
48328 {
48329 continue;
48330 }
48331 int num58 = 90;
48332 Vector2 val2 = center2 + targetData8.Velocity * (float)num58;
48333 Vector2 vector6 = center2 + vector5 * num57;
48334 if (vector6.Distance(center2) < num57)
48335 {
48336 Vector2 vector7 = center2 - vector6;
48337 if (vector7 == Vector2.Zero)
48338 {
48339 vector7 = vector5;
48340 }
48341 vector6 = center2 - Vector2.Normalize(vector7) * num57;
48342 }
48343 Vector2 v = val2 - vector6;
48344 if (Main.netMode != 1)
48345 {
48346 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), vector6, Vector2.Zero, 919, num56, 0f, Main.myPlayer, v.ToRotation(), this.ai[1] / 100f);
48347 }
48348 if (Main.netMode == 1)
48349 {
48350 continue;
48351 }
48352 int num59 = (int)(this.ai[1] / 3f);
48353 for (int l = 0; l < 255; l++)
48354 {
48355 if (!Boss_CanShootExtraAt(l, num59 % 3, 3, 2400f))
48356 {
48357 continue;
48358 }
48359 Player player = Main.player[l];
48360 vector5 = -player.velocity;
48361 vector5.SafeNormalize(-Vector2.UnitY);
48362 num57 = 100f;
48363 center2 = player.Center;
48364 num58 = 90;
48365 Vector2 val3 = center2 + player.velocity * (float)num58;
48367 if (vector6.Distance(center2) < num57)
48368 {
48369 Vector2 vector8 = center2 - vector6;
48370 if (vector8 == Vector2.Zero)
48371 {
48372 vector8 = vector5;
48373 }
48374 vector6 = center2 - Vector2.Normalize(vector8) * num57;
48375 }
48376 v = val3 - vector6;
48377 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), vector6, Vector2.Zero, 919, num56, 0f, Main.myPlayer, v.ToRotation(), this.ai[1] / 100f);
48378 }
48379 }
48380 }
48381 this.ai[1] += 1f;
48382 if (this.ai[1] >= 100f + num54)
48383 {
48384 this.ai[0] = 1f;
48385 this.ai[1] = 0f;
48386 netUpdate = true;
48387 }
48388 break;
48389 }
48390 case 12:
48391 {
48392 float num14 = 90f - (float)num9;
48393 Vector2 vector31 = default(Vector2);
48394 ((Vector2)(ref vector31))._002Ector(-55f, -30f);
48395 if (this.ai[1] == 0f)
48396 {
48398 velocity = new Vector2(0f, -12f);
48399 }
48400 velocity *= 0.95f;
48401 bool flag3 = this.ai[1] < 60f && this.ai[1] >= 10f;
48402 if (flag3)
48403 {
48404 AI_120_HallowBoss_DoMagicEffect(base.Center + vector31, 1, Utils.GetLerpValue(0f, 60f, this.ai[1], clamped: true));
48405 }
48406 int num15 = 6;
48407 if (flag5)
48408 {
48409 num15 = 4;
48410 }
48411 float num16 = (this.ai[1] - 10f) / 50f;
48412 if ((int)this.ai[1] % num15 == 0 && flag3)
48413 {
48414 _ = this.ai[1] / 60f;
48415 Vector2 spinningpoint = new Vector2(0f, -20f);
48416 double radians = (float)Math.PI * 2f * num16;
48417 val = default(Vector2);
48418 Vector2 vector32 = (vector32 = Utils.RotatedBy(spinningpoint, radians, val));
48419 if (Main.netMode != 1)
48420 {
48421 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), base.Center + vector31, vector32, 873, num78, 0f, Main.myPlayer, target, num16);
48422 }
48423 if (Main.netMode != 1)
48424 {
48425 int num17 = (int)(this.ai[1] % (float)num15);
48426 for (int j = 0; j < 255; j++)
48427 {
48428 if (Boss_CanShootExtraAt(j, num17 % 3, 3, 2400f))
48429 {
48430 Projectile.NewProjectile(GetSpawnSource_ForProjectile(), base.Center + vector31, vector32, 873, num78, 0f, Main.myPlayer, j, num16);
48431 }
48432 }
48433 }
48434 }
48435 this.ai[1] += 1f;
48436 if (this.ai[1] >= 60f + num14)
48437 {
48438 this.ai[0] = 1f;
48439 this.ai[1] = 0f;
48440 netUpdate = true;
48441 }
48442 break;
48443 }
48444 case 13:
48445 {
48446 new Vector2(-55f, -30f);
48447 if (this.ai[1] == 0f)
48448 {
48450 velocity = new Vector2(0f, -7f);
48451 }
48452 velocity *= 0.95f;
48453 TargetClosest();
48455 flag8 = false;
48456 bool flag10 = false;
48457 bool flag11 = false;
48458 if (!flag10)
48459 {
48461 {
48462 if (!Main.dayTime)
48463 {
48464 flag11 = true;
48465 }
48466 if (Main.dayTime && Main.time >= 53400.0)
48467 {
48468 flag11 = true;
48469 }
48470 }
48471 flag10 = flag10 || flag11;
48472 }
48473 if (!flag10)
48474 {
48475 bool flag12 = targetData.Invalid || Distance(targetData.Center) > num34;
48476 flag10 = flag10 || flag12;
48477 }
48478 alpha = Utils.Clamp(alpha + flag10.ToDirectionInt() * 5, 0, 255);
48479 bool flag2 = alpha == 0 || alpha == 255;
48480 int num10 = 5;
48481 for (int i = 0; i < num10; i++)
48482 {
48483 float num11 = MathHelper.Lerp(1.3f, 0.7f, Opacity);
48484 Color newColor = Main.hslToRgb(Main.rand.NextFloat(), 1f, 0.5f);
48485 int num13 = Dust.NewDust(position - base.Size * 0.5f, width * 2, height * 2, 267, 0f, 0f, 0, newColor);
48486 Main.dust[num13].position = base.Center + Main.rand.NextVector2Circular(width, height);
48487 Dust obj = Main.dust[num13];
48488 obj.velocity *= Main.rand.NextFloat() * 0.8f;
48489 Main.dust[num13].noGravity = true;
48490 Main.dust[num13].scale = 0.9f + Main.rand.NextFloat() * 1.2f;
48491 Main.dust[num13].fadeIn = 0.4f + Main.rand.NextFloat() * 1.2f * num11;
48492 Dust obj2 = Main.dust[num13];
48493 obj2.velocity += Vector2.UnitY * -2f;
48494 Main.dust[num13].scale = 0.35f;
48495 if (num13 != 6000)
48496 {
48497 Dust dust = Dust.CloneDust(num13);
48498 dust.scale /= 2f;
48499 dust.fadeIn *= 0.85f;
48500 dust.color = new Color(255, 255, 255, 255);
48501 }
48502 }
48503 this.ai[1] += 1f;
48504 if (!(this.ai[1] >= 20f && flag2))
48505 {
48506 break;
48507 }
48508 if (alpha == 255)
48509 {
48510 active = false;
48511 if (Main.netMode != 1)
48512 {
48513 NetMessage.SendData(23, -1, -1, null, whoAmI);
48514 }
48515 return;
48516 }
48517 this.ai[0] = 1f;
48518 this.ai[1] = 0f;
48519 netUpdate = true;
48520 break;
48521 }
48522 }
48525 if (flag7)
48526 {
48527 damage = 9999;
48528 }
48529 if (flag)
48530 {
48531 defense = (int)((float)defDefense * 1.2f);
48532 }
48533 else
48534 {
48536 }
48537 if ((localAI[0] += 1f) >= 44f)
48538 {
48539 localAI[0] = 0f;
48540 }
48541 if (flag8)
48542 {
48543 alpha = Utils.Clamp(alpha - 5, 0, 255);
48544 }
48545 Lighting.AddLight(base.Center, Vector3.One * Opacity);
48546 }
static SlotId PlaySound(in SoundStyle? style, Vector2? position=null, SoundUpdateCallback? updateCallback=null)
Attempts to play a sound style with the provided sound style (if it's not null), and returns a valid ...
Vector2 DirectionFrom(Vector2 Source)
Definition Entity.cs:298
int whoAmI
The index of this Entity within its specific array. These arrays track the entities in the world....
Definition Entity.cs:16
Vector2 velocity
The velocity of this Entity in world coordinates per tick.
Definition Entity.cs:33
float Distance(Vector2 Other)
Definition Entity.cs:275
Vector2 position
The position of this Entity in world coordinates.
Definition Entity.cs:28
int width
The width of this Entity's hitbox, in pixels.
Definition Entity.cs:46
Vector2 DirectionTo(Vector2 Destination)
Definition Entity.cs:289
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
Definition Entity.cs:21
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51
static readonly SoundStyle Item162
Definition SoundID.cs:1001
static readonly SoundStyle Item160
Definition SoundID.cs:997
static readonly SoundStyle Item165
Definition SoundID.cs:1007
static readonly SoundStyle Item161
Definition SoundID.cs:999
static readonly SoundStyle Item164
Definition SoundID.cs:1005
static readonly SoundStyle Item163
Definition SoundID.cs:1003
int defense
How resistant to damage this NPC is. The List of NPCs wiki pagecan be useful for finding appropriat...
Definition NPC.cs:1033
int damage
The amount of contact damage this NPC deals. Changing this WILL NOT change the amount of damage done...
Definition NPC.cs:1027
float[] localAI
Acts like F:Terraria.NPC.ai, but does not sync to the server. Many vanilla T:Terraria....
Definition NPC.cs:1003
float Opacity
Definition NPC.cs:1517
void AI_120_HallowBoss_DashTo(Vector2 targetPosition)
Definition NPC.cs:48548
bool Boss_CanShootExtraAt(int playerIndex, int rotationIndexToAttack, int rotationSize, float attackScanDistance, bool alwaysSkipMainTarget=true)
Definition NPC.cs:48591
int lifeMax
The maximum life of this NPC.
Definition NPC.cs:1077
void TargetClosest(bool faceTarget=true)
Definition NPC.cs:83247
bool AI_120_HallowBoss_IsGenuinelyEnraged()
Definition NPC.cs:46775
static bool ShouldEmpressBeEnraged()
Definition NPC.cs:46913
NPCAimedTarget GetTargetData(bool ignorePlayerTankPets=true)
Definition NPC.cs:1668
int defDefense
Stores the value of F:Terraria.NPC.defense at the end of SetDefaults. Useful for scaling defense in A...
Definition NPC.cs:1043
float[] ai
An array with 4 slots used for any sort of data storage, which is occasionally synced from the server...
Definition NPC.cs:997
bool dontTakeDamage
Definition NPC.cs:1160
int alpha
0 is opaque, and 255 is transparent. Note that this is the opposite of how alpha is typically express...
Definition NPC.cs:1092
void AI_120_HallowBoss_DoMagicEffect(Vector2 spot, int effectType, float progress)
Definition NPC.cs:46784
int defDamage
Stores the value of F:Terraria.NPC.damage at the end of SetDefaults. Useful for scaling damage in AI ...
Definition NPC.cs:1038
int GetAttackDamage_ScaledByStrength(float normalDamage)
Definition NPC.cs:1866
int GetAttackDamage_ForProjectiles(float normalDamage, float expertDamage)
Definition NPC.cs:1891
bool AI_120_HallowBoss_IsInPhase2()
Definition NPC.cs:46766
int life
The current life of the NPC. Automatically set to the value of F:Terraria.NPC.lifeMax at the end of S...
Definition NPC.cs:1072
IEntitySource GetSpawnSource_ForProjectile()
Definition NPC.cs:107558
void SimpleFlyMovement(Vector2 desiredVelocity, float moveSpeed)
Definition NPC.cs:82824
bool netUpdate
Definition NPC.cs:1130
int target
Definition NPC.cs:1019
This object encapsulates context information about the source of a particular spawning event of an It...

References Terraria.Entity.active, Terraria.Lighting.AddLight(), Terraria.NPC.ai, Terraria.NPC.AI_120_HallowBoss_DashTo(), Terraria.NPC.AI_120_HallowBoss_DoMagicEffect(), Terraria.NPC.AI_120_HallowBoss_IsGenuinelyEnraged(), Terraria.NPC.AI_120_HallowBoss_IsInPhase2(), Terraria.NPC.alpha, Terraria.NPC.Boss_CanShootExtraAt(), Terraria.DataStructures.NPCAimedTarget.Center, Terraria.Entity.Center, Terraria.Dust.CloneDust(), Terraria.NPC.damage, Terraria.Main.dayTime, Terraria.NPC.defDamage, Terraria.NPC.defDefense, Terraria.NPC.defense, Terraria.Entity.DirectionFrom(), Terraria.Entity.DirectionTo(), Terraria.Entity.Distance(), Terraria.NPC.dontTakeDamage, Terraria.Main.dust, Terraria.Main.expertMode, Terraria.NPC.GetAttackDamage_ForProjectiles(), Terraria.NPC.GetAttackDamage_ScaledByStrength(), Terraria.Main.getGoodWorld, Terraria.Utils.GetLerpValue(), Terraria.NPC.GetSpawnSource_ForProjectile(), Terraria.NPC.GetTargetData(), Terraria.Entity.height, Terraria.Main.hslToRgb(), Terraria.ID.SoundID.Item160, Terraria.ID.SoundID.Item161, Terraria.ID.SoundID.Item162, Terraria.ID.SoundID.Item163, Terraria.ID.SoundID.Item164, Terraria.ID.SoundID.Item165, Terraria.NPC.life, Terraria.NPC.lifeMax, Terraria.NPC.localAI, Terraria.Main.myPlayer, Terraria.Main.netMode, Terraria.NPC.netUpdate, Terraria.Dust.NewDust(), Terraria.Projectile.NewProjectile(), Terraria.NPC.Opacity, Terraria.Main.player, Terraria.Audio.SoundEngine.PlaySound(), Terraria.Entity.position, Terraria.Main.rand, Terraria.Utils.RotatedBy(), Terraria.NetMessage.SendData(), Terraria.NPC.ShouldEmpressBeEnraged(), Terraria.NPC.SimpleFlyMovement(), Terraria.NPC.target, Terraria.NPC.TargetClosest(), Terraria.Main.time, Terraria.Entity.velocity, Terraria.Entity.whoAmI, and Terraria.Entity.width.

Referenced by Terraria.NPC.VanillaAI_Inner().

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