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

◆ AI_147_Explosion()

void Terraria.Projectile.AI_147_Explosion ( )
inlineprivate

Definition at line 56083 of file Projectile.cs.

56084 {
56085 //IL_0292: Unknown result type (might be due to invalid IL or missing references)
56086 //IL_0297: Unknown result type (might be due to invalid IL or missing references)
56087 //IL_029a: Unknown result type (might be due to invalid IL or missing references)
56088 //IL_029f: Unknown result type (might be due to invalid IL or missing references)
56089 //IL_04bb: Unknown result type (might be due to invalid IL or missing references)
56090 //IL_04c0: Unknown result type (might be due to invalid IL or missing references)
56091 //IL_04c3: Unknown result type (might be due to invalid IL or missing references)
56092 //IL_04c8: Unknown result type (might be due to invalid IL or missing references)
56093 //IL_0b69: Unknown result type (might be due to invalid IL or missing references)
56094 //IL_0b6e: Unknown result type (might be due to invalid IL or missing references)
56095 //IL_0b71: Unknown result type (might be due to invalid IL or missing references)
56096 //IL_0b76: Unknown result type (might be due to invalid IL or missing references)
56097 //IL_0e09: Unknown result type (might be due to invalid IL or missing references)
56098 //IL_0e10: Unknown result type (might be due to invalid IL or missing references)
56099 //IL_0e15: Unknown result type (might be due to invalid IL or missing references)
56100 //IL_0ff7: Unknown result type (might be due to invalid IL or missing references)
56101 //IL_0ffc: Unknown result type (might be due to invalid IL or missing references)
56102 //IL_0fff: Unknown result type (might be due to invalid IL or missing references)
56103 //IL_1133: Unknown result type (might be due to invalid IL or missing references)
56104 //IL_1138: Unknown result type (might be due to invalid IL or missing references)
56105 //IL_113b: Unknown result type (might be due to invalid IL or missing references)
56106 //IL_1140: Unknown result type (might be due to invalid IL or missing references)
56107 //IL_0047: Unknown result type (might be due to invalid IL or missing references)
56108 //IL_0068: Unknown result type (might be due to invalid IL or missing references)
56109 //IL_006e: Unknown result type (might be due to invalid IL or missing references)
56110 //IL_02b8: Unknown result type (might be due to invalid IL or missing references)
56111 //IL_02ce: Unknown result type (might be due to invalid IL or missing references)
56112 //IL_02d0: Unknown result type (might be due to invalid IL or missing references)
56113 //IL_02e5: Unknown result type (might be due to invalid IL or missing references)
56114 //IL_0311: Unknown result type (might be due to invalid IL or missing references)
56115 //IL_032c: Unknown result type (might be due to invalid IL or missing references)
56116 //IL_0331: Unknown result type (might be due to invalid IL or missing references)
56117 //IL_0b93: Unknown result type (might be due to invalid IL or missing references)
56118 //IL_0bb4: Unknown result type (might be due to invalid IL or missing references)
56119 //IL_0bba: Unknown result type (might be due to invalid IL or missing references)
56120 //IL_0e2e: Unknown result type (might be due to invalid IL or missing references)
56121 //IL_0e46: Unknown result type (might be due to invalid IL or missing references)
56122 //IL_0e4c: Unknown result type (might be due to invalid IL or missing references)
56123 //IL_0e74: Unknown result type (might be due to invalid IL or missing references)
56124 //IL_0e8f: Unknown result type (might be due to invalid IL or missing references)
56125 //IL_0e94: Unknown result type (might be due to invalid IL or missing references)
56126 //IL_1023: Unknown result type (might be due to invalid IL or missing references)
56127 //IL_1048: Unknown result type (might be due to invalid IL or missing references)
56128 //IL_104a: Unknown result type (might be due to invalid IL or missing references)
56129 //IL_105f: Unknown result type (might be due to invalid IL or missing references)
56130 //IL_109d: Unknown result type (might be due to invalid IL or missing references)
56131 //IL_10a7: Unknown result type (might be due to invalid IL or missing references)
56132 //IL_10ac: Unknown result type (might be due to invalid IL or missing references)
56133 //IL_10c7: Unknown result type (might be due to invalid IL or missing references)
56134 //IL_10e9: Unknown result type (might be due to invalid IL or missing references)
56135 //IL_1100: Unknown result type (might be due to invalid IL or missing references)
56136 //IL_110a: Unknown result type (might be due to invalid IL or missing references)
56137 //IL_110f: Unknown result type (might be due to invalid IL or missing references)
56138 //IL_115d: Unknown result type (might be due to invalid IL or missing references)
56139 //IL_117e: Unknown result type (might be due to invalid IL or missing references)
56140 //IL_1184: Unknown result type (might be due to invalid IL or missing references)
56141 //IL_0363: Unknown result type (might be due to invalid IL or missing references)
56142 //IL_036d: Unknown result type (might be due to invalid IL or missing references)
56143 //IL_0372: Unknown result type (might be due to invalid IL or missing references)
56144 //IL_034c: Unknown result type (might be due to invalid IL or missing references)
56145 //IL_0356: Unknown result type (might be due to invalid IL or missing references)
56146 //IL_035b: Unknown result type (might be due to invalid IL or missing references)
56147 //IL_0523: Unknown result type (might be due to invalid IL or missing references)
56148 //IL_0525: Unknown result type (might be due to invalid IL or missing references)
56149 //IL_0535: Unknown result type (might be due to invalid IL or missing references)
56150 //IL_053b: Unknown result type (might be due to invalid IL or missing references)
56151 //IL_053d: Unknown result type (might be due to invalid IL or missing references)
56152 //IL_0542: Unknown result type (might be due to invalid IL or missing references)
56153 //IL_0547: Unknown result type (might be due to invalid IL or missing references)
56154 //IL_0549: Unknown result type (might be due to invalid IL or missing references)
56155 //IL_054b: Unknown result type (might be due to invalid IL or missing references)
56156 //IL_0561: Unknown result type (might be due to invalid IL or missing references)
56157 //IL_0567: Unknown result type (might be due to invalid IL or missing references)
56158 //IL_0569: Unknown result type (might be due to invalid IL or missing references)
56159 //IL_056e: Unknown result type (might be due to invalid IL or missing references)
56160 //IL_0573: Unknown result type (might be due to invalid IL or missing references)
56161 //IL_0575: Unknown result type (might be due to invalid IL or missing references)
56162 //IL_0577: Unknown result type (might be due to invalid IL or missing references)
56163 //IL_058d: Unknown result type (might be due to invalid IL or missing references)
56164 //IL_0593: Unknown result type (might be due to invalid IL or missing references)
56165 //IL_0595: Unknown result type (might be due to invalid IL or missing references)
56166 //IL_059f: Unknown result type (might be due to invalid IL or missing references)
56167 //IL_05a4: Unknown result type (might be due to invalid IL or missing references)
56168 //IL_05a9: Unknown result type (might be due to invalid IL or missing references)
56169 //IL_0ec6: Unknown result type (might be due to invalid IL or missing references)
56170 //IL_0ed0: Unknown result type (might be due to invalid IL or missing references)
56171 //IL_0ed5: Unknown result type (might be due to invalid IL or missing references)
56172 //IL_0eaf: Unknown result type (might be due to invalid IL or missing references)
56173 //IL_0eb9: Unknown result type (might be due to invalid IL or missing references)
56174 //IL_0ebe: Unknown result type (might be due to invalid IL or missing references)
56175 //IL_009f: Unknown result type (might be due to invalid IL or missing references)
56176 //IL_00c6: Unknown result type (might be due to invalid IL or missing references)
56177 //IL_00cc: Unknown result type (might be due to invalid IL or missing references)
56178 //IL_00f0: Unknown result type (might be due to invalid IL or missing references)
56179 //IL_00fa: Unknown result type (might be due to invalid IL or missing references)
56180 //IL_00ff: Unknown result type (might be due to invalid IL or missing references)
56181 //IL_011a: Unknown result type (might be due to invalid IL or missing references)
56182 //IL_0141: Unknown result type (might be due to invalid IL or missing references)
56183 //IL_0147: Unknown result type (might be due to invalid IL or missing references)
56184 //IL_015d: Unknown result type (might be due to invalid IL or missing references)
56185 //IL_0167: Unknown result type (might be due to invalid IL or missing references)
56186 //IL_016c: Unknown result type (might be due to invalid IL or missing references)
56187 //IL_0396: Unknown result type (might be due to invalid IL or missing references)
56188 //IL_03cf: Unknown result type (might be due to invalid IL or missing references)
56189 //IL_03d4: Unknown result type (might be due to invalid IL or missing references)
56190 //IL_03d9: Unknown result type (might be due to invalid IL or missing references)
56191 //IL_03e3: Unknown result type (might be due to invalid IL or missing references)
56192 //IL_03e8: Unknown result type (might be due to invalid IL or missing references)
56193 //IL_03ef: Unknown result type (might be due to invalid IL or missing references)
56194 //IL_03f5: Unknown result type (might be due to invalid IL or missing references)
56195 //IL_041a: Unknown result type (might be due to invalid IL or missing references)
56196 //IL_0424: Unknown result type (might be due to invalid IL or missing references)
56197 //IL_0429: Unknown result type (might be due to invalid IL or missing references)
56198 //IL_0beb: Unknown result type (might be due to invalid IL or missing references)
56199 //IL_0bfe: Unknown result type (might be due to invalid IL or missing references)
56200 //IL_0c00: Unknown result type (might be due to invalid IL or missing references)
56201 //IL_0c15: Unknown result type (might be due to invalid IL or missing references)
56202 //IL_0c6f: Unknown result type (might be due to invalid IL or missing references)
56203 //IL_0c79: Unknown result type (might be due to invalid IL or missing references)
56204 //IL_0c7e: Unknown result type (might be due to invalid IL or missing references)
56205 //IL_0ef9: Unknown result type (might be due to invalid IL or missing references)
56206 //IL_0f32: Unknown result type (might be due to invalid IL or missing references)
56207 //IL_0f37: Unknown result type (might be due to invalid IL or missing references)
56208 //IL_0f3c: Unknown result type (might be due to invalid IL or missing references)
56209 //IL_0f46: Unknown result type (might be due to invalid IL or missing references)
56210 //IL_0f4b: Unknown result type (might be due to invalid IL or missing references)
56211 //IL_0f52: Unknown result type (might be due to invalid IL or missing references)
56212 //IL_0f58: Unknown result type (might be due to invalid IL or missing references)
56213 //IL_0f7d: Unknown result type (might be due to invalid IL or missing references)
56214 //IL_0f87: Unknown result type (might be due to invalid IL or missing references)
56215 //IL_0f8c: Unknown result type (might be due to invalid IL or missing references)
56216 //IL_11a7: Unknown result type (might be due to invalid IL or missing references)
56217 //IL_11b7: Unknown result type (might be due to invalid IL or missing references)
56218 //IL_11bd: Unknown result type (might be due to invalid IL or missing references)
56219 //IL_11bf: Unknown result type (might be due to invalid IL or missing references)
56220 //IL_11da: Unknown result type (might be due to invalid IL or missing references)
56221 //IL_11df: Unknown result type (might be due to invalid IL or missing references)
56222 //IL_11e1: Unknown result type (might be due to invalid IL or missing references)
56223 //IL_11e3: Unknown result type (might be due to invalid IL or missing references)
56224 //IL_11e5: Unknown result type (might be due to invalid IL or missing references)
56225 //IL_11ef: Unknown result type (might be due to invalid IL or missing references)
56226 //IL_11fa: Unknown result type (might be due to invalid IL or missing references)
56227 //IL_1212: Unknown result type (might be due to invalid IL or missing references)
56228 //IL_1219: Unknown result type (might be due to invalid IL or missing references)
56229 //IL_121e: Unknown result type (might be due to invalid IL or missing references)
56230 //IL_1238: Unknown result type (might be due to invalid IL or missing references)
56231 //IL_1242: Unknown result type (might be due to invalid IL or missing references)
56232 //IL_1247: Unknown result type (might be due to invalid IL or missing references)
56233 //IL_05b3: Unknown result type (might be due to invalid IL or missing references)
56234 //IL_05b5: Unknown result type (might be due to invalid IL or missing references)
56235 //IL_05b7: Unknown result type (might be due to invalid IL or missing references)
56236 //IL_05b9: Unknown result type (might be due to invalid IL or missing references)
56237 //IL_0194: Unknown result type (might be due to invalid IL or missing references)
56238 //IL_01cd: Unknown result type (might be due to invalid IL or missing references)
56239 //IL_01d2: Unknown result type (might be due to invalid IL or missing references)
56240 //IL_01d7: Unknown result type (might be due to invalid IL or missing references)
56241 //IL_01e1: Unknown result type (might be due to invalid IL or missing references)
56242 //IL_01e6: Unknown result type (might be due to invalid IL or missing references)
56243 //IL_01ed: Unknown result type (might be due to invalid IL or missing references)
56244 //IL_01f3: Unknown result type (might be due to invalid IL or missing references)
56245 //IL_0218: Unknown result type (might be due to invalid IL or missing references)
56246 //IL_0222: Unknown result type (might be due to invalid IL or missing references)
56247 //IL_0227: Unknown result type (might be due to invalid IL or missing references)
56248 //IL_05c0: Unknown result type (might be due to invalid IL or missing references)
56249 //IL_05c2: Unknown result type (might be due to invalid IL or missing references)
56250 //IL_05c4: Unknown result type (might be due to invalid IL or missing references)
56251 //IL_05c6: Unknown result type (might be due to invalid IL or missing references)
56252 //IL_0917: Unknown result type (might be due to invalid IL or missing references)
56253 //IL_0938: Unknown result type (might be due to invalid IL or missing references)
56254 //IL_093e: Unknown result type (might be due to invalid IL or missing references)
56255 //IL_06ab: Unknown result type (might be due to invalid IL or missing references)
56256 //IL_06cc: Unknown result type (might be due to invalid IL or missing references)
56257 //IL_06d2: Unknown result type (might be due to invalid IL or missing references)
56258 //IL_0cd7: Unknown result type (might be due to invalid IL or missing references)
56259 //IL_0ce1: Unknown result type (might be due to invalid IL or missing references)
56260 //IL_0ce7: Unknown result type (might be due to invalid IL or missing references)
56261 //IL_0ce9: Unknown result type (might be due to invalid IL or missing references)
56262 //IL_0cee: Unknown result type (might be due to invalid IL or missing references)
56263 //IL_0d0b: Unknown result type (might be due to invalid IL or missing references)
56264 //IL_0d44: Unknown result type (might be due to invalid IL or missing references)
56265 //IL_0d49: Unknown result type (might be due to invalid IL or missing references)
56266 //IL_0d4e: Unknown result type (might be due to invalid IL or missing references)
56267 //IL_0d58: Unknown result type (might be due to invalid IL or missing references)
56268 //IL_0d5d: Unknown result type (might be due to invalid IL or missing references)
56269 //IL_0d64: Unknown result type (might be due to invalid IL or missing references)
56270 //IL_0d6a: Unknown result type (might be due to invalid IL or missing references)
56271 //IL_0d8f: Unknown result type (might be due to invalid IL or missing references)
56272 //IL_0d99: Unknown result type (might be due to invalid IL or missing references)
56273 //IL_0d9e: Unknown result type (might be due to invalid IL or missing references)
56274 //IL_126e: Unknown result type (might be due to invalid IL or missing references)
56275 //IL_127e: Unknown result type (might be due to invalid IL or missing references)
56276 //IL_1284: Unknown result type (might be due to invalid IL or missing references)
56277 //IL_1286: Unknown result type (might be due to invalid IL or missing references)
56278 //IL_12a1: Unknown result type (might be due to invalid IL or missing references)
56279 //IL_12a6: Unknown result type (might be due to invalid IL or missing references)
56280 //IL_12a8: Unknown result type (might be due to invalid IL or missing references)
56281 //IL_12aa: Unknown result type (might be due to invalid IL or missing references)
56282 //IL_12ac: Unknown result type (might be due to invalid IL or missing references)
56283 //IL_12b6: Unknown result type (might be due to invalid IL or missing references)
56284 //IL_12c1: Unknown result type (might be due to invalid IL or missing references)
56285 //IL_12eb: Unknown result type (might be due to invalid IL or missing references)
56286 //IL_12f2: Unknown result type (might be due to invalid IL or missing references)
56287 //IL_12f7: Unknown result type (might be due to invalid IL or missing references)
56288 //IL_1311: Unknown result type (might be due to invalid IL or missing references)
56289 //IL_131b: Unknown result type (might be due to invalid IL or missing references)
56290 //IL_1320: Unknown result type (might be due to invalid IL or missing references)
56291 //IL_05d4: Unknown result type (might be due to invalid IL or missing references)
56292 //IL_05d6: Unknown result type (might be due to invalid IL or missing references)
56293 //IL_05da: Unknown result type (might be due to invalid IL or missing references)
56294 //IL_05df: Unknown result type (might be due to invalid IL or missing references)
56295 //IL_05e1: Unknown result type (might be due to invalid IL or missing references)
56296 //IL_05e3: Unknown result type (might be due to invalid IL or missing references)
56297 //IL_05ea: Unknown result type (might be due to invalid IL or missing references)
56298 //IL_05ef: Unknown result type (might be due to invalid IL or missing references)
56299 //IL_05f1: Unknown result type (might be due to invalid IL or missing references)
56300 //IL_05f3: Unknown result type (might be due to invalid IL or missing references)
56301 //IL_05f5: Unknown result type (might be due to invalid IL or missing references)
56302 //IL_05fa: Unknown result type (might be due to invalid IL or missing references)
56303 //IL_05ff: Unknown result type (might be due to invalid IL or missing references)
56304 //IL_0604: Unknown result type (might be due to invalid IL or missing references)
56305 //IL_0606: Unknown result type (might be due to invalid IL or missing references)
56306 //IL_060d: Unknown result type (might be due to invalid IL or missing references)
56307 //IL_0618: Unknown result type (might be due to invalid IL or missing references)
56308 //IL_0636: Unknown result type (might be due to invalid IL or missing references)
56309 //IL_0638: Unknown result type (might be due to invalid IL or missing references)
56310 //IL_063a: Unknown result type (might be due to invalid IL or missing references)
56311 //IL_0641: Unknown result type (might be due to invalid IL or missing references)
56312 //IL_0648: Unknown result type (might be due to invalid IL or missing references)
56313 //IL_064d: Unknown result type (might be due to invalid IL or missing references)
56314 //IL_0973: Unknown result type (might be due to invalid IL or missing references)
56315 //IL_099a: Unknown result type (might be due to invalid IL or missing references)
56316 //IL_09a0: Unknown result type (might be due to invalid IL or missing references)
56317 //IL_09c4: Unknown result type (might be due to invalid IL or missing references)
56318 //IL_09ce: Unknown result type (might be due to invalid IL or missing references)
56319 //IL_09d3: Unknown result type (might be due to invalid IL or missing references)
56320 //IL_09ee: Unknown result type (might be due to invalid IL or missing references)
56321 //IL_0a15: Unknown result type (might be due to invalid IL or missing references)
56322 //IL_0a1b: Unknown result type (might be due to invalid IL or missing references)
56323 //IL_0a31: Unknown result type (might be due to invalid IL or missing references)
56324 //IL_0a3b: Unknown result type (might be due to invalid IL or missing references)
56325 //IL_0a40: Unknown result type (might be due to invalid IL or missing references)
56326 //IL_0707: Unknown result type (might be due to invalid IL or missing references)
56327 //IL_072e: Unknown result type (might be due to invalid IL or missing references)
56328 //IL_0734: Unknown result type (might be due to invalid IL or missing references)
56329 //IL_0758: Unknown result type (might be due to invalid IL or missing references)
56330 //IL_0762: Unknown result type (might be due to invalid IL or missing references)
56331 //IL_0767: Unknown result type (might be due to invalid IL or missing references)
56332 //IL_0782: Unknown result type (might be due to invalid IL or missing references)
56333 //IL_07a9: Unknown result type (might be due to invalid IL or missing references)
56334 //IL_07af: Unknown result type (might be due to invalid IL or missing references)
56335 //IL_07c5: Unknown result type (might be due to invalid IL or missing references)
56336 //IL_07cf: Unknown result type (might be due to invalid IL or missing references)
56337 //IL_07d4: Unknown result type (might be due to invalid IL or missing references)
56338 //IL_1347: Unknown result type (might be due to invalid IL or missing references)
56339 //IL_1357: Unknown result type (might be due to invalid IL or missing references)
56340 //IL_135d: Unknown result type (might be due to invalid IL or missing references)
56341 //IL_135f: Unknown result type (might be due to invalid IL or missing references)
56342 //IL_137a: Unknown result type (might be due to invalid IL or missing references)
56343 //IL_137f: Unknown result type (might be due to invalid IL or missing references)
56344 //IL_1381: Unknown result type (might be due to invalid IL or missing references)
56345 //IL_1383: Unknown result type (might be due to invalid IL or missing references)
56346 //IL_1385: Unknown result type (might be due to invalid IL or missing references)
56347 //IL_138f: Unknown result type (might be due to invalid IL or missing references)
56348 //IL_139a: Unknown result type (might be due to invalid IL or missing references)
56349 //IL_13c4: Unknown result type (might be due to invalid IL or missing references)
56350 //IL_13cb: Unknown result type (might be due to invalid IL or missing references)
56351 //IL_13d0: Unknown result type (might be due to invalid IL or missing references)
56352 //IL_13ea: Unknown result type (might be due to invalid IL or missing references)
56353 //IL_13f4: Unknown result type (might be due to invalid IL or missing references)
56354 //IL_13f9: Unknown result type (might be due to invalid IL or missing references)
56355 //IL_0a6b: Unknown result type (might be due to invalid IL or missing references)
56356 //IL_0aa4: Unknown result type (might be due to invalid IL or missing references)
56357 //IL_0aa9: Unknown result type (might be due to invalid IL or missing references)
56358 //IL_0aae: Unknown result type (might be due to invalid IL or missing references)
56359 //IL_0ab8: Unknown result type (might be due to invalid IL or missing references)
56360 //IL_0abd: Unknown result type (might be due to invalid IL or missing references)
56361 //IL_0ac4: Unknown result type (might be due to invalid IL or missing references)
56362 //IL_0aca: Unknown result type (might be due to invalid IL or missing references)
56363 //IL_0aef: Unknown result type (might be due to invalid IL or missing references)
56364 //IL_0af9: Unknown result type (might be due to invalid IL or missing references)
56365 //IL_0afe: Unknown result type (might be due to invalid IL or missing references)
56366 //IL_07ff: Unknown result type (might be due to invalid IL or missing references)
56367 //IL_0838: Unknown result type (might be due to invalid IL or missing references)
56368 //IL_083d: Unknown result type (might be due to invalid IL or missing references)
56369 //IL_0842: Unknown result type (might be due to invalid IL or missing references)
56370 //IL_084c: Unknown result type (might be due to invalid IL or missing references)
56371 //IL_0851: Unknown result type (might be due to invalid IL or missing references)
56372 //IL_0858: Unknown result type (might be due to invalid IL or missing references)
56373 //IL_085e: Unknown result type (might be due to invalid IL or missing references)
56374 //IL_0883: Unknown result type (might be due to invalid IL or missing references)
56375 //IL_088d: Unknown result type (might be due to invalid IL or missing references)
56376 //IL_0892: Unknown result type (might be due to invalid IL or missing references)
56377 //IL_141d: Unknown result type (might be due to invalid IL or missing references)
56378 //IL_1456: Unknown result type (might be due to invalid IL or missing references)
56379 //IL_145b: Unknown result type (might be due to invalid IL or missing references)
56380 //IL_1460: Unknown result type (might be due to invalid IL or missing references)
56381 //IL_146a: Unknown result type (might be due to invalid IL or missing references)
56382 //IL_146f: Unknown result type (might be due to invalid IL or missing references)
56383 //IL_1476: Unknown result type (might be due to invalid IL or missing references)
56384 //IL_147c: Unknown result type (might be due to invalid IL or missing references)
56385 //IL_14a1: Unknown result type (might be due to invalid IL or missing references)
56386 //IL_14ab: Unknown result type (might be due to invalid IL or missing references)
56387 //IL_14b0: Unknown result type (might be due to invalid IL or missing references)
56388 switch ((int)ai[0])
56389 {
56390 case 0:
56391 {
56392 for (int k = 0; k < 4; k++)
56393 {
56394 Dust.NewDust(new Vector2(position.X, position.Y), width, height, 31, 0f, 0f, 100, default(Color), 1.5f);
56395 }
56396 for (int l = 0; l < 20; l++)
56397 {
56398 int num30 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 130, 0f, 0f, 200, default(Color), 1.2f);
56399 Main.dust[num30].noGravity = true;
56400 Dust obj2 = Main.dust[num30];
56401 obj2.velocity *= 3f;
56402 num30 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 130, 0f, 0f, 200, default(Color), 0.5f);
56403 Dust obj3 = Main.dust[num30];
56404 obj3.velocity *= 1.2f;
56405 Main.dust[num30].noGravity = true;
56406 }
56407 for (int m = 0; m < 1; m++)
56408 {
56409 int num31 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56410 Gore obj4 = Main.gore[num31];
56411 obj4.velocity *= 0.3f;
56412 Main.gore[num31].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56413 Main.gore[num31].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56414 }
56415 break;
56416 }
56417 case 1:
56418 {
56419 Color celeb2Color2 = GetCeleb2Color();
56420 Vector2 center2 = base.Center;
56421 Main.rand.NextFloat();
56422 for (float num32 = 0f; num32 < 1f; num32 += 0.0125f)
56423 {
56424 Dust dust4 = Dust.NewDustPerfect(center2, 278, null, 200, Color.Lerp(celeb2Color2, Color.White, Main.rand.NextFloat() * 0.6f));
56425 dust4.scale = 1.1f;
56426 dust4.fadeIn = 1.3f;
56427 dust4.velocity *= Main.rand.NextFloat() * 2f + 2f;
56428 if (dust4.velocity.Y > 0f)
56429 {
56430 dust4.velocity *= 0.3f;
56431 }
56432 dust4.velocity *= 2f;
56433 }
56434 for (int n = 0; n < 3; n++)
56435 {
56436 int num33 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56437 Gore obj5 = Main.gore[num33];
56438 obj5.velocity *= 0.3f;
56439 Main.gore[num33].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56440 Main.gore[num33].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56441 }
56442 int fluff = 20;
56443 int distFluff = 100;
56444 int layerStart = 2;
56445 int layerEnd = 10;
56446 int layerJump = 2;
56448 break;
56449 }
56450 case 2:
56451 {
56452 Vector2 center3 = base.Center;
56453 Color celeb2Color3 = GetCeleb2Color();
56454 float num34 = 0.05f;
56455 float num2 = 0.13f;
56456 bool flag = Main.rand.Next(4) == 0;
56457 if (flag)
56458 {
56459 num34 = 0.1f;
56460 num2 = 0.1f;
56461 }
56462 float num3 = Main.rand.NextFloatDirection();
56463 Vector2 spinningpoint = default(Vector2);
56464 for (float num4 = 0f; num4 < 5f; num4 += 1f)
56465 {
56466 ((Vector2)(ref spinningpoint))._002Ector(0f, -100f);
56467 Vector2 vector4 = center3 + spinningpoint.RotatedBy(num3 + num4 * ((float)Math.PI * 2f / 5f));
56468 Vector2 vector5 = center3 + spinningpoint.RotatedBy(num3 + (num4 + 1f) * ((float)Math.PI * 2f / 5f));
56469 Vector2 vector6 = center3 + spinningpoint.RotatedBy(num3 + (num4 + 0.5f) * ((float)Math.PI * 2f / 5f)) * 0.4f;
56470 for (int num5 = 0; num5 < 2; num5++)
56471 {
56472 Vector2 value = vector4;
56473 Vector2 value2 = vector6;
56474 if (num5 == 1)
56475 {
56476 value = vector6;
56477 value2 = vector5;
56478 }
56479 for (float num6 = 0f; num6 < 1f; num6 += num2)
56480 {
56481 Vector2 vector7 = Vector2.Lerp(value, value2, num6);
56482 Vector2 vector8 = Vector2.Lerp(vector7, center3, 0.9f);
56483 Vector2 vector9 = (vector7 - vector8).SafeNormalize(Vector2.Zero);
56484 Dust dust10 = Dust.NewDustPerfect(vector8, 267, Vector2.Zero, 0, celeb2Color3, 0.5f);
56485 dust10.fadeIn = 1.2f;
56486 dust10.noGravity = true;
56487 dust10.velocity = vector9 * Vector2.Distance(vector7, vector8) * num34;
56488 }
56489 }
56490 }
56491 if (flag)
56492 {
56493 for (int num7 = 0; num7 < 4; num7++)
56494 {
56495 Dust.NewDust(new Vector2(position.X, position.Y), width, height, 31, 0f, 0f, 100, default(Color), 1.5f);
56496 }
56497 for (int num8 = 0; num8 < 60; num8++)
56498 {
56499 int num9 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 228, 0f, 0f, 200, default(Color), 2.5f);
56500 Main.dust[num9].noGravity = true;
56501 Dust obj6 = Main.dust[num9];
56502 obj6.velocity *= 8f;
56503 num9 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 228, 0f, 0f, 200, default(Color), 1.5f);
56504 Dust obj7 = Main.dust[num9];
56505 obj7.velocity *= 4.2f;
56506 Main.dust[num9].noGravity = true;
56507 }
56508 for (int num10 = 0; num10 < 1; num10++)
56509 {
56510 int num11 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56511 Gore obj8 = Main.gore[num11];
56512 obj8.velocity *= 0.3f;
56513 Main.gore[num11].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56514 Main.gore[num11].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56515 }
56516 }
56517 else
56518 {
56519 for (int num13 = 0; num13 < 4; num13++)
56520 {
56521 Dust.NewDust(new Vector2(position.X, position.Y), width, height, 31, 0f, 0f, 100, default(Color), 1.5f);
56522 }
56523 for (int num14 = 0; num14 < 40; num14++)
56524 {
56525 int num15 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 228, 0f, 0f, 200, default(Color), 2.5f);
56526 Main.dust[num15].noGravity = true;
56527 Dust obj9 = Main.dust[num15];
56528 obj9.velocity *= 4f;
56529 num15 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 228, 0f, 0f, 200, default(Color), 1.5f);
56530 Dust obj10 = Main.dust[num15];
56531 obj10.velocity *= 2.2f;
56532 Main.dust[num15].noGravity = true;
56533 }
56534 for (int num16 = 0; num16 < 1; num16++)
56535 {
56536 int num17 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56537 Gore obj11 = Main.gore[num17];
56538 obj11.velocity *= 0.3f;
56539 Main.gore[num17].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56540 Main.gore[num17].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56541 }
56542 }
56543 break;
56544 }
56545 case 3:
56546 {
56547 Color celeb2Color5 = GetCeleb2Color();
56548 Vector2 center4 = base.Center;
56549 for (int num20 = 0; num20 < 4; num20++)
56550 {
56551 Dust.NewDust(new Vector2(position.X, position.Y), width, height, 31, 0f, 0f, 100, default(Color), 1.5f);
56552 }
56553 float num21 = Main.rand.NextFloat() * ((float)Math.PI * 2f);
56554 for (int num22 = 0; num22 < 40; num22++)
56555 {
56556 Dust dust5 = Dust.NewDustPerfect(center4, 278, null, 100, Color.Lerp(celeb2Color5, Color.White, Main.rand.NextFloat() * 0.3f));
56557 dust5.scale = 1.3f * (((Vector2)(ref dust5.velocity)).Length() / 2f);
56558 dust5.fadeIn = 1.5f * (((Vector2)(ref dust5.velocity)).Length() / 2f);
56559 dust5.noGravity = true;
56560 dust5.velocity *= 6f;
56561 if (Math.Abs(dust5.velocity.X) > Math.Abs(dust5.velocity.Y))
56562 {
56563 dust5.velocity.Y *= 0.1f;
56564 }
56565 else
56566 {
56567 dust5.velocity.X *= 0.1f;
56568 }
56569 dust5.velocity = dust5.velocity.RotatedBy(num21);
56570 }
56571 for (int num24 = 0; num24 < 1; num24++)
56572 {
56573 int num25 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56574 Gore obj14 = Main.gore[num25];
56575 obj14.velocity *= 0.3f;
56576 Main.gore[num25].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56577 Main.gore[num25].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56578 }
56579 break;
56580 }
56581 case 4:
56582 {
56584 Vector2 center5 = base.Center;
56585 Main.rand.NextFloat();
56586 for (float num26 = 0f; num26 < 1f; num26 += 0.025f)
56587 {
56588 Dust dust6 = Dust.NewDustPerfect(center5, 132, null, 200);
56589 dust6.scale = 1.1f;
56590 dust6.fadeIn = 1.5f;
56591 dust6.velocity *= Main.rand.NextFloat() * 2f + 2f;
56592 if (dust6.velocity.Y > 0f)
56593 {
56594 dust6.velocity *= 0.3f;
56595 }
56596 dust6.velocity *= 2f;
56597 }
56598 for (int num27 = 0; num27 < 3; num27++)
56599 {
56600 int num28 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56601 Gore obj15 = Main.gore[num28];
56602 obj15.velocity *= 0.3f;
56603 Main.gore[num28].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56604 Main.gore[num28].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56605 }
56606 break;
56607 }
56608 case 5:
56609 {
56610 Color celeb2Color4 = GetCeleb2Color();
56611 _ = base.Center;
56612 for (int num18 = 0; num18 < 20; num18++)
56613 {
56614 int num19 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 278, 0f, 0f, 200, Color.Lerp(celeb2Color4, Color.White, Main.rand.NextFloat() * 0.4f), 2.5f);
56615 Main.dust[num19].fadeIn = 1.3f;
56616 Main.dust[num19].scale = 1.1f;
56617 Dust obj12 = Main.dust[num19];
56618 obj12.velocity *= 2f;
56619 num19 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 27, 0f, 0f, 200, celeb2Color4, 2.5f);
56620 Dust obj13 = Main.dust[num19];
56621 obj13.velocity *= 1.2f;
56622 Main.dust[num19].noGravity = true;
56623 }
56624 break;
56625 }
56626 case 6:
56627 {
56628 Color celeb2Color = GetCeleb2Color();
56629 Vector2 center = base.Center;
56630 for (int i = 0; i < 4; i++)
56631 {
56632 Dust.NewDust(new Vector2(position.X, position.Y), width, height, 31, 0f, 0f, 100, default(Color), 1.5f);
56633 }
56634 for (float num = 0f; num < 1f; num += 0.015f)
56635 {
56636 Vector2 vector = Vector2.UnitY.RotatedBy(num * ((float)Math.PI * 2f)) * (1f + Main.rand.NextFloatDirection() * 0.1f);
56637 Dust dust7 = Dust.NewDustPerfect(center + vector, 134, Vector2.Zero, 0, celeb2Color);
56638 dust7.scale = 1.4f;
56639 dust7.velocity = vector * 5f;
56640 dust7.velocity.Y += -3f;
56641 dust7.velocity *= 2f;
56642 }
56643 for (float num12 = 0f; num12 < 1f; num12 += 0.025f)
56644 {
56645 Vector2 vector2 = Vector2.UnitY.RotatedBy(num12 * ((float)Math.PI * 2f)) * (1f + Main.rand.NextFloatDirection() * 0.2f);
56646 Dust dust8 = Dust.NewDustPerfect(center + vector2, 267, Vector2.Zero, 0, celeb2Color);
56647 dust8.noGravity = true;
56648 dust8.scale = 0.4f;
56649 dust8.fadeIn = 1.2f;
56650 dust8.velocity = vector2 * 4f;
56651 dust8.velocity.Y += -3f;
56652 dust8.velocity *= 2f;
56653 }
56654 for (float num23 = 0f; num23 < 1f; num23 += 0.07f)
56655 {
56656 Vector2 vector3 = Vector2.UnitY.RotatedBy(num23 * ((float)Math.PI * 2f)) * (1f + Main.rand.NextFloatDirection() * 0.3f);
56657 Dust dust9 = Dust.NewDustPerfect(center + vector3, 267, Vector2.Zero, 0, celeb2Color);
56658 dust9.noGravity = true;
56659 dust9.scale = 0.4f;
56660 dust9.fadeIn = 1.3f;
56661 dust9.velocity = vector3 * 7f;
56662 dust9.velocity.Y += -3f;
56663 dust9.velocity *= 2f;
56664 }
56665 for (int j = 0; j < 1; j++)
56666 {
56667 int num29 = Gore.NewGore(position + new Vector2((float)(width * Main.rand.Next(100)) / 100f, (float)(height * Main.rand.Next(100)) / 100f) - Vector2.One * 10f, default(Vector2), Main.rand.Next(61, 64));
56668 Gore obj = Main.gore[num29];
56669 obj.velocity *= 0.3f;
56670 Main.gore[num29].velocity.X += (float)Main.rand.Next(-10, 11) * 0.05f;
56671 Main.gore[num29].velocity.Y += (float)Main.rand.Next(-10, 11) * 0.05f;
56672 }
56673 break;
56674 }
56675 }
56676 }
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
int height
The height of this Entity's hitbox, in pixels.
Definition Entity.cs:51
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....
void CreateGroundExplosion(float MAX_SPREAD, int fluff, int distFluff, int layerStart, int layerEnd, int layerJump)

References Terraria.Main.dust, Terraria.Main.gore, Terraria.Dust.NewDust(), Terraria.Dust.NewDustPerfect(), Terraria.Gore.NewGore(), and Terraria.Main.rand.

+ Here is the call graph for this function: