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

◆ AI_062()

void Terraria.Projectile.AI_062 ( )
inlineprivate

Definition at line 70257 of file Projectile.cs.

70258 {
70259 //IL_0278: Unknown result type (might be due to invalid IL or missing references)
70260 //IL_0306: Unknown result type (might be due to invalid IL or missing references)
70261 //IL_0338: Unknown result type (might be due to invalid IL or missing references)
70262 //IL_033e: Unknown result type (might be due to invalid IL or missing references)
70263 //IL_0379: Unknown result type (might be due to invalid IL or missing references)
70264 //IL_0383: Unknown result type (might be due to invalid IL or missing references)
70265 //IL_0388: Unknown result type (might be due to invalid IL or missing references)
70266 //IL_03e9: Unknown result type (might be due to invalid IL or missing references)
70267 //IL_03f3: Unknown result type (might be due to invalid IL or missing references)
70268 //IL_03f8: Unknown result type (might be due to invalid IL or missing references)
70269 //IL_069c: Unknown result type (might be due to invalid IL or missing references)
70270 //IL_06a6: Unknown result type (might be due to invalid IL or missing references)
70271 //IL_06ab: Unknown result type (might be due to invalid IL or missing references)
70272 //IL_0ac5: Unknown result type (might be due to invalid IL or missing references)
70273 //IL_0aca: Unknown result type (might be due to invalid IL or missing references)
70274 //IL_06ea: Unknown result type (might be due to invalid IL or missing references)
70275 //IL_070d: Unknown result type (might be due to invalid IL or missing references)
70276 //IL_0713: Unknown result type (might be due to invalid IL or missing references)
70277 //IL_072d: Unknown result type (might be due to invalid IL or missing references)
70278 //IL_0733: Unknown result type (might be due to invalid IL or missing references)
70279 //IL_073d: Unknown result type (might be due to invalid IL or missing references)
70280 //IL_0742: Unknown result type (might be due to invalid IL or missing references)
70281 //IL_0747: Unknown result type (might be due to invalid IL or missing references)
70282 //IL_074f: Unknown result type (might be due to invalid IL or missing references)
70283 //IL_0759: Unknown result type (might be due to invalid IL or missing references)
70284 //IL_075e: Unknown result type (might be due to invalid IL or missing references)
70285 //IL_0766: Unknown result type (might be due to invalid IL or missing references)
70286 //IL_076c: Unknown result type (might be due to invalid IL or missing references)
70287 //IL_0776: Unknown result type (might be due to invalid IL or missing references)
70288 //IL_077b: Unknown result type (might be due to invalid IL or missing references)
70289 //IL_0780: Unknown result type (might be due to invalid IL or missing references)
70290 //IL_04bb: Unknown result type (might be due to invalid IL or missing references)
70291 //IL_04de: Unknown result type (might be due to invalid IL or missing references)
70292 //IL_04e4: Unknown result type (might be due to invalid IL or missing references)
70293 //IL_04fa: Unknown result type (might be due to invalid IL or missing references)
70294 //IL_04ff: Unknown result type (might be due to invalid IL or missing references)
70295 //IL_0506: Unknown result type (might be due to invalid IL or missing references)
70296 //IL_0510: Unknown result type (might be due to invalid IL or missing references)
70297 //IL_0515: Unknown result type (might be due to invalid IL or missing references)
70298 //IL_051c: Unknown result type (might be due to invalid IL or missing references)
70299 //IL_0522: Unknown result type (might be due to invalid IL or missing references)
70300 //IL_052c: Unknown result type (might be due to invalid IL or missing references)
70301 //IL_0531: Unknown result type (might be due to invalid IL or missing references)
70302 //IL_0536: Unknown result type (might be due to invalid IL or missing references)
70303 //IL_07b9: Unknown result type (might be due to invalid IL or missing references)
70304 //IL_07c3: Unknown result type (might be due to invalid IL or missing references)
70305 //IL_07c8: Unknown result type (might be due to invalid IL or missing references)
70306 //IL_058d: Unknown result type (might be due to invalid IL or missing references)
70307 //IL_05b0: Unknown result type (might be due to invalid IL or missing references)
70308 //IL_05b6: Unknown result type (might be due to invalid IL or missing references)
70309 //IL_05cc: Unknown result type (might be due to invalid IL or missing references)
70310 //IL_05d1: Unknown result type (might be due to invalid IL or missing references)
70311 //IL_05fa: Unknown result type (might be due to invalid IL or missing references)
70312 //IL_0600: Unknown result type (might be due to invalid IL or missing references)
70313 //IL_0602: Unknown result type (might be due to invalid IL or missing references)
70314 //IL_0610: Unknown result type (might be due to invalid IL or missing references)
70315 //IL_0615: Unknown result type (might be due to invalid IL or missing references)
70316 //IL_061b: Unknown result type (might be due to invalid IL or missing references)
70317 //IL_0626: Unknown result type (might be due to invalid IL or missing references)
70318 //IL_062b: Unknown result type (might be due to invalid IL or missing references)
70319 //IL_0630: Unknown result type (might be due to invalid IL or missing references)
70320 //IL_0637: Unknown result type (might be due to invalid IL or missing references)
70321 //IL_0641: Unknown result type (might be due to invalid IL or missing references)
70322 //IL_0646: Unknown result type (might be due to invalid IL or missing references)
70323 //IL_07eb: Unknown result type (might be due to invalid IL or missing references)
70324 //IL_080e: Unknown result type (might be due to invalid IL or missing references)
70325 //IL_0814: Unknown result type (might be due to invalid IL or missing references)
70326 //IL_082e: Unknown result type (might be due to invalid IL or missing references)
70327 //IL_0833: Unknown result type (might be due to invalid IL or missing references)
70328 //IL_083b: Unknown result type (might be due to invalid IL or missing references)
70329 //IL_0845: Unknown result type (might be due to invalid IL or missing references)
70330 //IL_084a: Unknown result type (might be due to invalid IL or missing references)
70331 //IL_0852: Unknown result type (might be due to invalid IL or missing references)
70332 //IL_0858: Unknown result type (might be due to invalid IL or missing references)
70333 //IL_0862: Unknown result type (might be due to invalid IL or missing references)
70334 //IL_0867: Unknown result type (might be due to invalid IL or missing references)
70335 //IL_086c: Unknown result type (might be due to invalid IL or missing references)
70336 //IL_08a5: Unknown result type (might be due to invalid IL or missing references)
70337 //IL_08af: Unknown result type (might be due to invalid IL or missing references)
70338 //IL_08b4: Unknown result type (might be due to invalid IL or missing references)
70339 //IL_0b4c: Unknown result type (might be due to invalid IL or missing references)
70340 //IL_0be4: Unknown result type (might be due to invalid IL or missing references)
70341 //IL_0be9: Unknown result type (might be due to invalid IL or missing references)
70342 //IL_0c2c: Unknown result type (might be due to invalid IL or missing references)
70343 //IL_0c33: Unknown result type (might be due to invalid IL or missing references)
70344 //IL_0c38: Unknown result type (might be due to invalid IL or missing references)
70345 //IL_0c3a: Unknown result type (might be due to invalid IL or missing references)
70346 //IL_0c3f: Unknown result type (might be due to invalid IL or missing references)
70347 //IL_0c44: Unknown result type (might be due to invalid IL or missing references)
70348 //IL_0c50: Unknown result type (might be due to invalid IL or missing references)
70349 //IL_0c52: Unknown result type (might be due to invalid IL or missing references)
70350 //IL_0d6b: Unknown result type (might be due to invalid IL or missing references)
70351 //IL_0d71: Unknown result type (might be due to invalid IL or missing references)
70352 //IL_0c66: Unknown result type (might be due to invalid IL or missing references)
70353 //IL_0c79: Unknown result type (might be due to invalid IL or missing references)
70354 //IL_0ccd: Unknown result type (might be due to invalid IL or missing references)
70355 //IL_0cd4: Unknown result type (might be due to invalid IL or missing references)
70356 //IL_0cd9: Unknown result type (might be due to invalid IL or missing references)
70357 //IL_0cdb: Unknown result type (might be due to invalid IL or missing references)
70358 //IL_0ce0: Unknown result type (might be due to invalid IL or missing references)
70359 //IL_0ce5: Unknown result type (might be due to invalid IL or missing references)
70360 //IL_0ce7: Unknown result type (might be due to invalid IL or missing references)
70361 //IL_0ce9: Unknown result type (might be due to invalid IL or missing references)
70362 //IL_0c97: Unknown result type (might be due to invalid IL or missing references)
70363 //IL_0c99: Unknown result type (might be due to invalid IL or missing references)
70364 //IL_0f1d: Unknown result type (might be due to invalid IL or missing references)
70365 //IL_0f23: Unknown result type (might be due to invalid IL or missing references)
70366 //IL_0cf9: Unknown result type (might be due to invalid IL or missing references)
70367 //IL_0d0c: Unknown result type (might be due to invalid IL or missing references)
70368 //IL_0e26: Unknown result type (might be due to invalid IL or missing references)
70369 //IL_0e2c: Unknown result type (might be due to invalid IL or missing references)
70370 //IL_0db7: Unknown result type (might be due to invalid IL or missing references)
70371 //IL_0dca: Unknown result type (might be due to invalid IL or missing references)
70372 //IL_0d9f: Unknown result type (might be due to invalid IL or missing references)
70373 //IL_0da8: Unknown result type (might be due to invalid IL or missing references)
70374 //IL_0d2a: Unknown result type (might be due to invalid IL or missing references)
70375 //IL_0d2c: Unknown result type (might be due to invalid IL or missing references)
70376 //IL_0e64: Unknown result type (might be due to invalid IL or missing references)
70377 //IL_0e77: Unknown result type (might be due to invalid IL or missing references)
70378 //IL_0e4c: Unknown result type (might be due to invalid IL or missing references)
70379 //IL_0e55: Unknown result type (might be due to invalid IL or missing references)
70380 //IL_0dea: Unknown result type (might be due to invalid IL or missing references)
70381 //IL_0def: Unknown result type (might be due to invalid IL or missing references)
70382 //IL_0e97: Unknown result type (might be due to invalid IL or missing references)
70383 //IL_0e9c: Unknown result type (might be due to invalid IL or missing references)
70384 //IL_1017: Unknown result type (might be due to invalid IL or missing references)
70385 //IL_184f: Unknown result type (might be due to invalid IL or missing references)
70386 //IL_1862: Unknown result type (might be due to invalid IL or missing references)
70387 //IL_1160: Unknown result type (might be due to invalid IL or missing references)
70388 //IL_1163: Unknown result type (might be due to invalid IL or missing references)
70389 //IL_1168: Unknown result type (might be due to invalid IL or missing references)
70390 //IL_116d: Unknown result type (might be due to invalid IL or missing references)
70391 //IL_1178: Unknown result type (might be due to invalid IL or missing references)
70392 //IL_117a: Unknown result type (might be due to invalid IL or missing references)
70393 //IL_117f: Unknown result type (might be due to invalid IL or missing references)
70394 //IL_1184: Unknown result type (might be due to invalid IL or missing references)
70395 //IL_107c: Unknown result type (might be due to invalid IL or missing references)
70396 //IL_1196: Unknown result type (might be due to invalid IL or missing references)
70397 //IL_1198: Unknown result type (might be due to invalid IL or missing references)
70398 //IL_11a2: Unknown result type (might be due to invalid IL or missing references)
70399 //IL_11a7: Unknown result type (might be due to invalid IL or missing references)
70400 //IL_11ac: Unknown result type (might be due to invalid IL or missing references)
70401 //IL_11ae: Unknown result type (might be due to invalid IL or missing references)
70402 //IL_1345: Unknown result type (might be due to invalid IL or missing references)
70403 //IL_1347: Unknown result type (might be due to invalid IL or missing references)
70404 //IL_134a: Unknown result type (might be due to invalid IL or missing references)
70405 //IL_134f: Unknown result type (might be due to invalid IL or missing references)
70406 //IL_1351: Unknown result type (might be due to invalid IL or missing references)
70407 //IL_1356: Unknown result type (might be due to invalid IL or missing references)
70408 //IL_1358: Unknown result type (might be due to invalid IL or missing references)
70409 //IL_135a: Unknown result type (might be due to invalid IL or missing references)
70410 //IL_11c8: Unknown result type (might be due to invalid IL or missing references)
70411 //IL_112d: Unknown result type (might be due to invalid IL or missing references)
70412 //IL_1134: Unknown result type (might be due to invalid IL or missing references)
70413 //IL_1139: Unknown result type (might be due to invalid IL or missing references)
70414 //IL_18c6: Unknown result type (might be due to invalid IL or missing references)
70415 //IL_18cb: Unknown result type (might be due to invalid IL or missing references)
70416 //IL_18cf: Unknown result type (might be due to invalid IL or missing references)
70417 //IL_18d4: Unknown result type (might be due to invalid IL or missing references)
70418 //IL_18d6: Unknown result type (might be due to invalid IL or missing references)
70419 //IL_18e5: Unknown result type (might be due to invalid IL or missing references)
70420 //IL_18ea: Unknown result type (might be due to invalid IL or missing references)
70421 //IL_18ef: Unknown result type (might be due to invalid IL or missing references)
70422 //IL_1372: Unknown result type (might be due to invalid IL or missing references)
70423 //IL_1374: Unknown result type (might be due to invalid IL or missing references)
70424 //IL_1379: Unknown result type (might be due to invalid IL or missing references)
70425 //IL_137e: Unknown result type (might be due to invalid IL or missing references)
70426 //IL_1380: Unknown result type (might be due to invalid IL or missing references)
70427 //IL_1382: Unknown result type (might be due to invalid IL or missing references)
70428 //IL_1389: Unknown result type (might be due to invalid IL or missing references)
70429 //IL_138e: Unknown result type (might be due to invalid IL or missing references)
70430 //IL_1393: Unknown result type (might be due to invalid IL or missing references)
70431 //IL_1395: Unknown result type (might be due to invalid IL or missing references)
70432 //IL_1366: Unknown result type (might be due to invalid IL or missing references)
70433 //IL_136b: Unknown result type (might be due to invalid IL or missing references)
70434 //IL_1370: Unknown result type (might be due to invalid IL or missing references)
70435 //IL_12a0: Unknown result type (might be due to invalid IL or missing references)
70436 //IL_12a3: Unknown result type (might be due to invalid IL or missing references)
70437 //IL_12a8: Unknown result type (might be due to invalid IL or missing references)
70438 //IL_12ad: Unknown result type (might be due to invalid IL or missing references)
70439 //IL_12b8: Unknown result type (might be due to invalid IL or missing references)
70440 //IL_12ba: Unknown result type (might be due to invalid IL or missing references)
70441 //IL_12bf: Unknown result type (might be due to invalid IL or missing references)
70442 //IL_12c4: Unknown result type (might be due to invalid IL or missing references)
70443 //IL_18fe: Unknown result type (might be due to invalid IL or missing references)
70444 //IL_190a: Unknown result type (might be due to invalid IL or missing references)
70445 //IL_190f: Unknown result type (might be due to invalid IL or missing references)
70446 //IL_1914: Unknown result type (might be due to invalid IL or missing references)
70447 //IL_1597: Unknown result type (might be due to invalid IL or missing references)
70448 //IL_159b: Unknown result type (might be due to invalid IL or missing references)
70449 //IL_15a0: Unknown result type (might be due to invalid IL or missing references)
70450 //IL_15bf: Unknown result type (might be due to invalid IL or missing references)
70451 //IL_15e9: Unknown result type (might be due to invalid IL or missing references)
70452 //IL_156f: Unknown result type (might be due to invalid IL or missing references)
70453 //IL_1579: Unknown result type (might be due to invalid IL or missing references)
70454 //IL_157e: Unknown result type (might be due to invalid IL or missing references)
70455 //IL_1539: Unknown result type (might be due to invalid IL or missing references)
70456 //IL_153d: Unknown result type (might be due to invalid IL or missing references)
70457 //IL_1542: Unknown result type (might be due to invalid IL or missing references)
70458 //IL_1546: Unknown result type (might be due to invalid IL or missing references)
70459 //IL_1550: Unknown result type (might be due to invalid IL or missing references)
70460 //IL_1555: Unknown result type (might be due to invalid IL or missing references)
70461 //IL_1557: Unknown result type (might be due to invalid IL or missing references)
70462 //IL_1561: Unknown result type (might be due to invalid IL or missing references)
70463 //IL_1566: Unknown result type (might be due to invalid IL or missing references)
70464 //IL_13af: Unknown result type (might be due to invalid IL or missing references)
70465 //IL_1101: Unknown result type (might be due to invalid IL or missing references)
70466 //IL_1104: Unknown result type (might be due to invalid IL or missing references)
70467 //IL_1109: Unknown result type (might be due to invalid IL or missing references)
70468 //IL_110e: Unknown result type (might be due to invalid IL or missing references)
70469 //IL_1923: Unknown result type (might be due to invalid IL or missing references)
70470 //IL_193f: Unknown result type (might be due to invalid IL or missing references)
70471 //IL_1944: Unknown result type (might be due to invalid IL or missing references)
70472 //IL_1949: Unknown result type (might be due to invalid IL or missing references)
70473 //IL_1487: Unknown result type (might be due to invalid IL or missing references)
70474 //IL_148a: Unknown result type (might be due to invalid IL or missing references)
70475 //IL_148f: Unknown result type (might be due to invalid IL or missing references)
70476 //IL_1494: Unknown result type (might be due to invalid IL or missing references)
70477 //IL_149f: Unknown result type (might be due to invalid IL or missing references)
70478 //IL_14a1: Unknown result type (might be due to invalid IL or missing references)
70479 //IL_14a6: Unknown result type (might be due to invalid IL or missing references)
70480 //IL_14ab: Unknown result type (might be due to invalid IL or missing references)
70481 //IL_1971: Unknown result type (might be due to invalid IL or missing references)
70482 //IL_1976: Unknown result type (might be due to invalid IL or missing references)
70483 //IL_1978: Unknown result type (might be due to invalid IL or missing references)
70484 //IL_197d: Unknown result type (might be due to invalid IL or missing references)
70485 //IL_1654: Unknown result type (might be due to invalid IL or missing references)
70486 //IL_1658: Unknown result type (might be due to invalid IL or missing references)
70487 //IL_165d: Unknown result type (might be due to invalid IL or missing references)
70488 //IL_1661: Unknown result type (might be due to invalid IL or missing references)
70489 //IL_1667: Unknown result type (might be due to invalid IL or missing references)
70490 //IL_166c: Unknown result type (might be due to invalid IL or missing references)
70491 //IL_166e: Unknown result type (might be due to invalid IL or missing references)
70492 //IL_167a: Unknown result type (might be due to invalid IL or missing references)
70493 //IL_167f: Unknown result type (might be due to invalid IL or missing references)
70494 //IL_161c: Unknown result type (might be due to invalid IL or missing references)
70495 //IL_1626: Unknown result type (might be due to invalid IL or missing references)
70496 //IL_162b: Unknown result type (might be due to invalid IL or missing references)
70497 //IL_1316: Unknown result type (might be due to invalid IL or missing references)
70498 //IL_131d: Unknown result type (might be due to invalid IL or missing references)
70499 //IL_1322: Unknown result type (might be due to invalid IL or missing references)
70500 //IL_121b: Unknown result type (might be due to invalid IL or missing references)
70501 //IL_121d: Unknown result type (might be due to invalid IL or missing references)
70502 //IL_1227: Unknown result type (might be due to invalid IL or missing references)
70503 //IL_122c: Unknown result type (might be due to invalid IL or missing references)
70504 //IL_1231: Unknown result type (might be due to invalid IL or missing references)
70505 //IL_1238: Unknown result type (might be due to invalid IL or missing references)
70506 //IL_1243: Unknown result type (might be due to invalid IL or missing references)
70507 //IL_1755: Unknown result type (might be due to invalid IL or missing references)
70508 //IL_175f: Unknown result type (might be due to invalid IL or missing references)
70509 //IL_1764: Unknown result type (might be due to invalid IL or missing references)
70510 //IL_14fd: Unknown result type (might be due to invalid IL or missing references)
70511 //IL_1504: Unknown result type (might be due to invalid IL or missing references)
70512 //IL_1509: Unknown result type (might be due to invalid IL or missing references)
70513 //IL_1402: Unknown result type (might be due to invalid IL or missing references)
70514 //IL_1404: Unknown result type (might be due to invalid IL or missing references)
70515 //IL_140e: Unknown result type (might be due to invalid IL or missing references)
70516 //IL_1413: Unknown result type (might be due to invalid IL or missing references)
70517 //IL_1418: Unknown result type (might be due to invalid IL or missing references)
70518 //IL_141f: Unknown result type (might be due to invalid IL or missing references)
70519 //IL_142a: Unknown result type (might be due to invalid IL or missing references)
70520 //IL_16d5: Unknown result type (might be due to invalid IL or missing references)
70521 //IL_16d9: Unknown result type (might be due to invalid IL or missing references)
70522 //IL_16de: Unknown result type (might be due to invalid IL or missing references)
70523 //IL_16e2: Unknown result type (might be due to invalid IL or missing references)
70524 //IL_16ec: Unknown result type (might be due to invalid IL or missing references)
70525 //IL_16f1: Unknown result type (might be due to invalid IL or missing references)
70526 //IL_16f3: Unknown result type (might be due to invalid IL or missing references)
70527 //IL_16fd: Unknown result type (might be due to invalid IL or missing references)
70528 //IL_1702: Unknown result type (might be due to invalid IL or missing references)
70529 //IL_1707: Unknown result type (might be due to invalid IL or missing references)
70530 //IL_1713: Unknown result type (might be due to invalid IL or missing references)
70531 //IL_17fa: Unknown result type (might be due to invalid IL or missing references)
70532 //IL_1804: Unknown result type (might be due to invalid IL or missing references)
70533 //IL_1809: Unknown result type (might be due to invalid IL or missing references)
70534 //IL_178e: Unknown result type (might be due to invalid IL or missing references)
70535 //IL_1798: Unknown result type (might be due to invalid IL or missing references)
70536 //IL_179d: Unknown result type (might be due to invalid IL or missing references)
70537 //IL_17b6: Unknown result type (might be due to invalid IL or missing references)
70538 //IL_17e0: Unknown result type (might be due to invalid IL or missing references)
70539 //IL_2270: Unknown result type (might be due to invalid IL or missing references)
70540 //IL_2294: Unknown result type (might be due to invalid IL or missing references)
70541 //IL_229a: Unknown result type (might be due to invalid IL or missing references)
70542 //IL_22b1: Unknown result type (might be due to invalid IL or missing references)
70543 //IL_22bb: Unknown result type (might be due to invalid IL or missing references)
70544 //IL_22c0: Unknown result type (might be due to invalid IL or missing references)
70545 //IL_21a8: Unknown result type (might be due to invalid IL or missing references)
70546 //IL_21c8: Unknown result type (might be due to invalid IL or missing references)
70547 //IL_21ce: Unknown result type (might be due to invalid IL or missing references)
70548 //IL_21e5: Unknown result type (might be due to invalid IL or missing references)
70549 //IL_21ef: Unknown result type (might be due to invalid IL or missing references)
70550 //IL_21f4: Unknown result type (might be due to invalid IL or missing references)
70551 //IL_173b: Unknown result type (might be due to invalid IL or missing references)
70552 //IL_1288: Unknown result type (might be due to invalid IL or missing references)
70553 //IL_128a: Unknown result type (might be due to invalid IL or missing references)
70554 //IL_1294: Unknown result type (might be due to invalid IL or missing references)
70555 //IL_1299: Unknown result type (might be due to invalid IL or missing references)
70556 //IL_129e: Unknown result type (might be due to invalid IL or missing references)
70557 //IL_2054: Unknown result type (might be due to invalid IL or missing references)
70558 //IL_2059: Unknown result type (might be due to invalid IL or missing references)
70559 //IL_205b: Unknown result type (might be due to invalid IL or missing references)
70560 //IL_206b: Unknown result type (might be due to invalid IL or missing references)
70561 //IL_2070: Unknown result type (might be due to invalid IL or missing references)
70562 //IL_2072: Unknown result type (might be due to invalid IL or missing references)
70563 //IL_208a: Unknown result type (might be due to invalid IL or missing references)
70564 //IL_20a0: Unknown result type (might be due to invalid IL or missing references)
70565 //IL_20a7: Unknown result type (might be due to invalid IL or missing references)
70566 //IL_20b6: Unknown result type (might be due to invalid IL or missing references)
70567 //IL_20be: Unknown result type (might be due to invalid IL or missing references)
70568 //IL_20c3: Unknown result type (might be due to invalid IL or missing references)
70569 //IL_20c8: Unknown result type (might be due to invalid IL or missing references)
70570 //IL_20cd: Unknown result type (might be due to invalid IL or missing references)
70571 //IL_1afc: Unknown result type (might be due to invalid IL or missing references)
70572 //IL_1b27: Unknown result type (might be due to invalid IL or missing references)
70573 //IL_1ab5: Unknown result type (might be due to invalid IL or missing references)
70574 //IL_146f: Unknown result type (might be due to invalid IL or missing references)
70575 //IL_1471: Unknown result type (might be due to invalid IL or missing references)
70576 //IL_147b: Unknown result type (might be due to invalid IL or missing references)
70577 //IL_1480: Unknown result type (might be due to invalid IL or missing references)
70578 //IL_1485: Unknown result type (might be due to invalid IL or missing references)
70579 //IL_1bd7: Unknown result type (might be due to invalid IL or missing references)
70580 //IL_1be1: Unknown result type (might be due to invalid IL or missing references)
70581 //IL_1be6: Unknown result type (might be due to invalid IL or missing references)
70582 //IL_1b66: Unknown result type (might be due to invalid IL or missing references)
70583 //IL_1b68: Unknown result type (might be due to invalid IL or missing references)
70584 //IL_1b6d: Unknown result type (might be due to invalid IL or missing references)
70585 //IL_1b72: Unknown result type (might be due to invalid IL or missing references)
70586 //IL_23b8: Unknown result type (might be due to invalid IL or missing references)
70587 //IL_23c3: Unknown result type (might be due to invalid IL or missing references)
70588 //IL_1b87: Unknown result type (might be due to invalid IL or missing references)
70589 //IL_1b8b: Unknown result type (might be due to invalid IL or missing references)
70590 //IL_1b90: Unknown result type (might be due to invalid IL or missing references)
70591 //IL_1b94: Unknown result type (might be due to invalid IL or missing references)
70592 //IL_1b9e: Unknown result type (might be due to invalid IL or missing references)
70593 //IL_1ba3: Unknown result type (might be due to invalid IL or missing references)
70594 //IL_1ba5: Unknown result type (might be due to invalid IL or missing references)
70595 //IL_1baf: Unknown result type (might be due to invalid IL or missing references)
70596 //IL_1bb4: Unknown result type (might be due to invalid IL or missing references)
70597 //IL_1c00: Unknown result type (might be due to invalid IL or missing references)
70598 //IL_1ceb: Unknown result type (might be due to invalid IL or missing references)
70599 //IL_1ced: Unknown result type (might be due to invalid IL or missing references)
70600 //IL_1cf2: Unknown result type (might be due to invalid IL or missing references)
70601 //IL_1cf7: Unknown result type (might be due to invalid IL or missing references)
70602 //IL_1cf9: Unknown result type (might be due to invalid IL or missing references)
70603 //IL_1cfd: Unknown result type (might be due to invalid IL or missing references)
70604 //IL_1d02: Unknown result type (might be due to invalid IL or missing references)
70605 //IL_1d06: Unknown result type (might be due to invalid IL or missing references)
70606 //IL_1d10: Unknown result type (might be due to invalid IL or missing references)
70607 //IL_1d15: Unknown result type (might be due to invalid IL or missing references)
70608 //IL_1d17: Unknown result type (might be due to invalid IL or missing references)
70609 //IL_1d21: Unknown result type (might be due to invalid IL or missing references)
70610 //IL_1d26: Unknown result type (might be due to invalid IL or missing references)
70611 //IL_1c26: Unknown result type (might be due to invalid IL or missing references)
70612 //IL_1c28: Unknown result type (might be due to invalid IL or missing references)
70613 //IL_1c2d: Unknown result type (might be due to invalid IL or missing references)
70614 //IL_1c32: Unknown result type (might be due to invalid IL or missing references)
70615 //IL_1c34: Unknown result type (might be due to invalid IL or missing references)
70616 //IL_1c38: Unknown result type (might be due to invalid IL or missing references)
70617 //IL_1c3d: Unknown result type (might be due to invalid IL or missing references)
70618 //IL_1c3f: Unknown result type (might be due to invalid IL or missing references)
70619 //IL_1c4b: Unknown result type (might be due to invalid IL or missing references)
70620 //IL_1c50: Unknown result type (might be due to invalid IL or missing references)
70621 //IL_1c55: Unknown result type (might be due to invalid IL or missing references)
70622 //IL_1c59: Unknown result type (might be due to invalid IL or missing references)
70623 //IL_1c63: Unknown result type (might be due to invalid IL or missing references)
70624 //IL_1c68: Unknown result type (might be due to invalid IL or missing references)
70625 //IL_1c6a: Unknown result type (might be due to invalid IL or missing references)
70626 //IL_1c74: Unknown result type (might be due to invalid IL or missing references)
70627 //IL_1c79: Unknown result type (might be due to invalid IL or missing references)
70628 //IL_1c13: Unknown result type (might be due to invalid IL or missing references)
70629 //IL_1d73: Unknown result type (might be due to invalid IL or missing references)
70630 //IL_1d7d: Unknown result type (might be due to invalid IL or missing references)
70631 //IL_1d82: Unknown result type (might be due to invalid IL or missing references)
70632 //IL_1cc9: Unknown result type (might be due to invalid IL or missing references)
70633 //IL_1cd3: Unknown result type (might be due to invalid IL or missing references)
70634 //IL_1cd8: Unknown result type (might be due to invalid IL or missing references)
70635 //IL_2701: Unknown result type (might be due to invalid IL or missing references)
70636 //IL_2704: Unknown result type (might be due to invalid IL or missing references)
70637 //IL_2709: Unknown result type (might be due to invalid IL or missing references)
70638 //IL_2767: Unknown result type (might be due to invalid IL or missing references)
70639 //IL_272e: Unknown result type (might be due to invalid IL or missing references)
70640 //IL_2731: Unknown result type (might be due to invalid IL or missing references)
70641 //IL_2736: Unknown result type (might be due to invalid IL or missing references)
70642 //IL_2790: Unknown result type (might be due to invalid IL or missing references)
70643 //IL_2793: Unknown result type (might be due to invalid IL or missing references)
70644 //IL_2798: Unknown result type (might be due to invalid IL or missing references)
70645 //IL_1eb7: Unknown result type (might be due to invalid IL or missing references)
70646 //IL_1ebc: Unknown result type (might be due to invalid IL or missing references)
70647 //IL_1ec1: Unknown result type (might be due to invalid IL or missing references)
70648 //IL_1ec8: Unknown result type (might be due to invalid IL or missing references)
70649 //IL_1ecd: Unknown result type (might be due to invalid IL or missing references)
70650 //IL_27f0: Unknown result type (might be due to invalid IL or missing references)
70651 //IL_27f3: Unknown result type (might be due to invalid IL or missing references)
70652 //IL_27f8: Unknown result type (might be due to invalid IL or missing references)
70653 //IL_27fd: Unknown result type (might be due to invalid IL or missing references)
70654 //IL_27b6: Unknown result type (might be due to invalid IL or missing references)
70655 //IL_27bb: Unknown result type (might be due to invalid IL or missing references)
70656 //IL_27be: Unknown result type (might be due to invalid IL or missing references)
70657 //IL_27c3: Unknown result type (might be due to invalid IL or missing references)
70658 //IL_27c8: Unknown result type (might be due to invalid IL or missing references)
70659 //IL_27d2: Unknown result type (might be due to invalid IL or missing references)
70660 //IL_27d7: Unknown result type (might be due to invalid IL or missing references)
70661 //IL_27dc: Unknown result type (might be due to invalid IL or missing references)
70662 //IL_27e1: Unknown result type (might be due to invalid IL or missing references)
70663 //IL_27e6: Unknown result type (might be due to invalid IL or missing references)
70664 //IL_27eb: Unknown result type (might be due to invalid IL or missing references)
70665 //IL_2b7f: Unknown result type (might be due to invalid IL or missing references)
70666 //IL_2b82: Unknown result type (might be due to invalid IL or missing references)
70667 //IL_2b87: Unknown result type (might be due to invalid IL or missing references)
70668 //IL_2b8c: Unknown result type (might be due to invalid IL or missing references)
70669 //IL_28eb: Unknown result type (might be due to invalid IL or missing references)
70670 //IL_28ee: Unknown result type (might be due to invalid IL or missing references)
70671 //IL_28f3: Unknown result type (might be due to invalid IL or missing references)
70672 //IL_28f8: Unknown result type (might be due to invalid IL or missing references)
70673 //IL_2bb3: Unknown result type (might be due to invalid IL or missing references)
70674 //IL_2bb5: Unknown result type (might be due to invalid IL or missing references)
70675 //IL_2bba: Unknown result type (might be due to invalid IL or missing references)
70676 //IL_2bbf: Unknown result type (might be due to invalid IL or missing references)
70677 //IL_2bc1: Unknown result type (might be due to invalid IL or missing references)
70678 //IL_2bc5: Unknown result type (might be due to invalid IL or missing references)
70679 //IL_2bca: Unknown result type (might be due to invalid IL or missing references)
70680 //IL_2bd3: Unknown result type (might be due to invalid IL or missing references)
70681 //IL_2bde: Unknown result type (might be due to invalid IL or missing references)
70682 //IL_2be8: Unknown result type (might be due to invalid IL or missing references)
70683 //IL_2bef: Unknown result type (might be due to invalid IL or missing references)
70684 //IL_2847: Unknown result type (might be due to invalid IL or missing references)
70685 //IL_284a: Unknown result type (might be due to invalid IL or missing references)
70686 //IL_284f: Unknown result type (might be due to invalid IL or missing references)
70687 //IL_2854: Unknown result type (might be due to invalid IL or missing references)
70688 //IL_2856: Unknown result type (might be due to invalid IL or missing references)
70689 //IL_2858: Unknown result type (might be due to invalid IL or missing references)
70690 //IL_285d: Unknown result type (might be due to invalid IL or missing references)
70691 //IL_2862: Unknown result type (might be due to invalid IL or missing references)
70692 //IL_2864: Unknown result type (might be due to invalid IL or missing references)
70693 //IL_2868: Unknown result type (might be due to invalid IL or missing references)
70694 //IL_286d: Unknown result type (might be due to invalid IL or missing references)
70695 //IL_2876: Unknown result type (might be due to invalid IL or missing references)
70696 //IL_2881: Unknown result type (might be due to invalid IL or missing references)
70697 //IL_288b: Unknown result type (might be due to invalid IL or missing references)
70698 //IL_2892: Unknown result type (might be due to invalid IL or missing references)
70699 //IL_293d: Unknown result type (might be due to invalid IL or missing references)
70700 //IL_2940: Unknown result type (might be due to invalid IL or missing references)
70701 //IL_2945: Unknown result type (might be due to invalid IL or missing references)
70702 //IL_294a: Unknown result type (might be due to invalid IL or missing references)
70703 //IL_294c: Unknown result type (might be due to invalid IL or missing references)
70704 //IL_294e: Unknown result type (might be due to invalid IL or missing references)
70705 //IL_2953: Unknown result type (might be due to invalid IL or missing references)
70706 //IL_2958: Unknown result type (might be due to invalid IL or missing references)
70707 //IL_295a: Unknown result type (might be due to invalid IL or missing references)
70708 //IL_295e: Unknown result type (might be due to invalid IL or missing references)
70709 //IL_2963: Unknown result type (might be due to invalid IL or missing references)
70710 //IL_296c: Unknown result type (might be due to invalid IL or missing references)
70711 //IL_2977: Unknown result type (might be due to invalid IL or missing references)
70712 //IL_2981: Unknown result type (might be due to invalid IL or missing references)
70713 //IL_2988: Unknown result type (might be due to invalid IL or missing references)
70714 //IL_29d8: Unknown result type (might be due to invalid IL or missing references)
70715 //IL_29dd: Unknown result type (might be due to invalid IL or missing references)
70716 //IL_29e4: Unknown result type (might be due to invalid IL or missing references)
70717 //IL_29e9: Unknown result type (might be due to invalid IL or missing references)
70718 //IL_29ee: Unknown result type (might be due to invalid IL or missing references)
70719 //IL_2a1d: Unknown result type (might be due to invalid IL or missing references)
70720 //IL_2a31: Unknown result type (might be due to invalid IL or missing references)
70721 //IL_2a3b: Unknown result type (might be due to invalid IL or missing references)
70722 //IL_2a42: Unknown result type (might be due to invalid IL or missing references)
70723 //IL_2a47: Unknown result type (might be due to invalid IL or missing references)
70724 //IL_2a4f: Unknown result type (might be due to invalid IL or missing references)
70725 //IL_2a54: Unknown result type (might be due to invalid IL or missing references)
70726 //IL_2a70: Unknown result type (might be due to invalid IL or missing references)
70727 //IL_2a76: Unknown result type (might be due to invalid IL or missing references)
70728 //IL_2a90: Unknown result type (might be due to invalid IL or missing references)
70729 //IL_2a96: Unknown result type (might be due to invalid IL or missing references)
70730 //IL_2a9b: Unknown result type (might be due to invalid IL or missing references)
70731 //IL_2aa0: Unknown result type (might be due to invalid IL or missing references)
70732 //IL_2aa5: Unknown result type (might be due to invalid IL or missing references)
70733 //IL_2aaa: Unknown result type (might be due to invalid IL or missing references)
70734 //IL_2aaf: Unknown result type (might be due to invalid IL or missing references)
70735 //IL_2ab4: Unknown result type (might be due to invalid IL or missing references)
70736 //IL_2ab9: Unknown result type (might be due to invalid IL or missing references)
70737 //IL_2ac4: Unknown result type (might be due to invalid IL or missing references)
70738 //IL_2ac9: Unknown result type (might be due to invalid IL or missing references)
70739 //IL_2ad3: Unknown result type (might be due to invalid IL or missing references)
70740 //IL_2ad8: Unknown result type (might be due to invalid IL or missing references)
70741 //IL_2add: Unknown result type (might be due to invalid IL or missing references)
70742 //IL_2b15: Unknown result type (might be due to invalid IL or missing references)
70743 //IL_2b17: Unknown result type (might be due to invalid IL or missing references)
70744 //IL_2b2b: Unknown result type (might be due to invalid IL or missing references)
70745 //IL_2b35: Unknown result type (might be due to invalid IL or missing references)
70746 //IL_2b3a: Unknown result type (might be due to invalid IL or missing references)
70747 //IL_2aea: Unknown result type (might be due to invalid IL or missing references)
70748 //IL_2af8: Unknown result type (might be due to invalid IL or missing references)
70749 //IL_2b02: Unknown result type (might be due to invalid IL or missing references)
70750 //IL_2b07: Unknown result type (might be due to invalid IL or missing references)
70751 float num = 0f;
70752 float num12 = 0f;
70753 float num23 = 20f;
70754 float num34 = 40f;
70755 float num45 = 0.69f;
70756 if (type == 963)
70757 {
70758 if (Main.player[owner].dead)
70759 {
70760 Main.player[owner].abigailMinion = false;
70761 }
70762 if (Main.player[owner].abigailMinion)
70763 {
70764 timeLeft = 2;
70765 }
70766 originalDamage = Main.player[owner].highestAbigailCounterOriginalDamage;
70767 num12 = Main.player[owner].ownedProjectileCounts[970] - 1;
70768 num23 = Math.Max(4f, 18f - num12 * 1.75f);
70769 num = 1.4f;
70770 num34 = Math.Max(5f, num34 - num12 * 4f);
70771 num45 = Math.Min(1f, num45 + num12 * 0.03f);
70772 }
70773 if (type == 423)
70774 {
70775 num34 = 5f;
70776 }
70777 if (type == 373)
70778 {
70779 if (Main.player[owner].dead)
70780 {
70781 Main.player[owner].hornetMinion = false;
70782 }
70783 if (Main.player[owner].hornetMinion)
70784 {
70785 timeLeft = 2;
70786 }
70787 }
70788 if (type == 375)
70789 {
70790 if (Main.player[owner].dead)
70791 {
70792 Main.player[owner].impMinion = false;
70793 }
70794 if (Main.player[owner].impMinion)
70795 {
70796 timeLeft = 2;
70797 }
70798 }
70799 if (type == 407)
70800 {
70801 if (Main.player[owner].dead)
70802 {
70803 Main.player[owner].sharknadoMinion = false;
70804 }
70805 if (Main.player[owner].sharknadoMinion)
70806 {
70807 timeLeft = 2;
70808 }
70809 }
70810 if (type == 423)
70811 {
70812 if (Main.player[owner].dead)
70813 {
70814 Main.player[owner].UFOMinion = false;
70815 }
70816 if (Main.player[owner].UFOMinion)
70817 {
70818 timeLeft = 2;
70819 }
70820 }
70821 if (type == 613)
70822 {
70823 if (Main.player[owner].dead)
70824 {
70825 Main.player[owner].stardustMinion = false;
70826 }
70827 if (Main.player[owner].stardustMinion)
70828 {
70829 timeLeft = 2;
70830 }
70831 Lighting.AddLight(base.Center, 0.2f, 0.6f, 0.7f);
70832 if (localAI[1] > 0f)
70833 {
70834 localAI[1] -= 1f;
70835 }
70836 }
70837 if (type == 423)
70838 {
70839 if (ai[0] == 2f)
70840 {
70841 ai[1] -= 1f;
70842 tileCollide = false;
70843 if (ai[1] > 3f)
70844 {
70845 int num48 = Dust.NewDust(base.Center, 0, 0, 220 + Main.rand.Next(2), velocity.X, velocity.Y, 100);
70846 Main.dust[num48].scale = 0.5f + (float)Main.rand.NextDouble() * 0.3f;
70847 Dust obj = Main.dust[num48];
70848 obj.velocity /= 2.5f;
70849 Main.dust[num48].noGravity = true;
70850 Main.dust[num48].noLight = true;
70851 Main.dust[num48].frame.Y = 80;
70852 }
70853 if (ai[1] != 0f)
70854 {
70855 return;
70856 }
70857 ai[1] = 30f;
70858 ai[0] = 0f;
70859 velocity /= 5f;
70860 velocity.Y = 0f;
70861 extraUpdates = 0;
70862 numUpdates = 0;
70863 netUpdate = true;
70864 extraUpdates = 0;
70865 numUpdates = 0;
70866 }
70867 if (extraUpdates > 1)
70868 {
70869 extraUpdates = 0;
70870 }
70871 if (numUpdates > 1)
70872 {
70873 numUpdates = 0;
70874 }
70875 }
70876 Vector2 center4;
70877 if (type == 613)
70878 {
70879 if (ai[0] == 2f)
70880 {
70881 ai[1] -= 1f;
70882 tileCollide = false;
70883 if (ai[1] > 3f)
70884 {
70885 if (numUpdates < 20)
70886 {
70887 for (int i = 0; i < 3; i++)
70888 {
70889 Dust obj2 = Main.dust[Dust.NewDust(position, width, height, 229)];
70890 obj2.noGravity = true;
70891 obj2.position = base.Center;
70892 obj2.velocity *= 3f;
70893 obj2.velocity += velocity * 3f;
70894 obj2.fadeIn = 1f;
70895 }
70896 }
70897 float num49 = 2f - (float)numUpdates / 30f;
70898 if (scale > 0f)
70899 {
70900 float num50 = 2f;
70901 for (int j = 0; (float)j < num50; j++)
70902 {
70903 Dust obj3 = Main.dust[Dust.NewDust(position, width, height, 229)];
70904 obj3.noGravity = true;
70905 Vector2 center3 = base.Center;
70906 Vector2 unitY = Vector2.UnitY;
70907 double radians = (float)numUpdates * ((float)Math.PI / 30f) + (float)whoAmI * ((float)Math.PI / 4f) + (float)Math.PI / 2f;
70908 center4 = default(Vector2);
70909 obj3.position = center3 + unitY.RotatedBy(radians, center4) * (float)(height / 2) - velocity * ((float)j / num50);
70910 obj3.velocity = velocity / 3f;
70911 obj3.fadeIn = num49 / 2f;
70912 obj3.scale = num49;
70913 }
70914 }
70915 }
70916 if (ai[1] != 0f)
70917 {
70918 return;
70919 }
70920 ai[1] = 30f;
70921 ai[0] = 0f;
70922 velocity /= 5f;
70923 velocity.Y = 0f;
70924 extraUpdates = 0;
70925 numUpdates = 0;
70926 netUpdate = true;
70927 float num51 = 15f;
70928 for (int k = 0; (float)k < num51; k++)
70929 {
70930 Dust dust = Main.dust[Dust.NewDust(position, width, height, 229)];
70931 dust.noGravity = true;
70932 dust.position = base.Center - velocity * 5f;
70933 dust.velocity *= 3f;
70934 dust.velocity += velocity * 3f;
70935 dust.fadeIn = 1f;
70936 if (Main.rand.Next(3) != 0)
70937 {
70938 dust.fadeIn = 2f;
70939 dust.scale = 2f;
70940 dust.velocity /= 8f;
70941 }
70942 }
70943 for (int l = 0; (float)l < num51; l++)
70944 {
70945 Dust dust2 = Main.dust[Dust.NewDust(position, width, height, 229)];
70946 dust2.noGravity = true;
70947 dust2.position = base.Center;
70948 dust2.velocity *= 3f;
70949 dust2.velocity += velocity * 3f;
70950 dust2.fadeIn = 1f;
70951 if (Main.rand.Next(3) != 0)
70952 {
70953 dust2.fadeIn = 2f;
70954 dust2.scale = 2f;
70955 dust2.velocity /= 8f;
70956 }
70957 }
70958 extraUpdates = 0;
70959 numUpdates = 0;
70960 }
70961 if (extraUpdates > 1)
70962 {
70963 extraUpdates = 0;
70964 }
70965 if (numUpdates > 1)
70966 {
70967 numUpdates = 0;
70968 }
70969 }
70970 if (type == 423 && localAI[0] > 0f)
70971 {
70972 localAI[0] -= 1f;
70973 }
70974 if (type == 613 && localAI[0] > 0f)
70975 {
70976 localAI[0] -= 1f;
70977 }
70978 float num2 = 0.05f;
70979 float num3 = width;
70980 if (type == 407)
70981 {
70982 num2 = 0.1f;
70983 num3 *= 2f;
70984 }
70985 for (int m = 0; m < 1000; m++)
70986 {
70987 if (m != whoAmI && Main.projectile[m].active && Main.projectile[m].owner == owner && Main.projectile[m].type == type && Math.Abs(position.X - Main.projectile[m].position.X) + Math.Abs(position.Y - Main.projectile[m].position.Y) < num3)
70988 {
70989 if (position.X < Main.projectile[m].position.X)
70990 {
70991 velocity.X -= num2;
70992 }
70993 else
70994 {
70995 velocity.X += num2;
70996 }
70997 if (position.Y < Main.projectile[m].position.Y)
70998 {
70999 velocity.Y -= num2;
71000 }
71001 else
71002 {
71003 velocity.Y += num2;
71004 }
71005 }
71006 }
71007 Vector2 vector = position;
71008 float num4 = 400f;
71009 if (type == 423)
71010 {
71011 num4 = 300f;
71012 }
71013 if (type == 613)
71014 {
71015 num4 = 300f;
71016 }
71017 num4 = 2000f;
71018 if (type == 963)
71019 {
71020 num4 = 700f;
71021 }
71022 bool flag = false;
71023 int num5 = -1;
71024 tileCollide = true;
71025 if (type == 963)
71026 {
71027 tileCollide = false;
71028 }
71029 if (type == 407)
71030 {
71031 tileCollide = false;
71032 if (Collision.SolidCollision(position, width, height))
71033 {
71034 alpha += 20;
71035 if (alpha > 150)
71036 {
71037 alpha = 150;
71038 }
71039 }
71040 else
71041 {
71042 alpha -= 50;
71043 if (alpha < 60)
71044 {
71045 alpha = 60;
71046 }
71047 }
71048 }
71049 if (type == 407 || type == 613 || type == 423)
71050 {
71051 Vector2 center = Main.player[owner].Center;
71052 Vector2 vector2 = default(Vector2);
71053 ((Vector2)(ref vector2))._002Ector(0.5f);
71054 if (type == 423)
71055 {
71056 vector2.Y = 0f;
71057 }
71059 if (ownerMinionAttackTargetNPC != null && ownerMinionAttackTargetNPC.CanBeChasedBy(this))
71060 {
71061 Vector2 vector3 = ownerMinionAttackTargetNPC.position + ownerMinionAttackTargetNPC.Size * vector2;
71062 float num6 = num4 * 3f;
71063 float num7 = Vector2.Distance(vector3, center);
71064 if (num7 < num6 && !flag && Collision.CanHitLine(position, width, height, ownerMinionAttackTargetNPC.position, ownerMinionAttackTargetNPC.width, ownerMinionAttackTargetNPC.height))
71065 {
71066 num4 = num7;
71067 vector = vector3;
71068 flag = true;
71070 }
71071 }
71072 if (!flag)
71073 {
71074 for (int n = 0; n < 200; n++)
71075 {
71076 NPC nPC = Main.npc[n];
71077 if (nPC.CanBeChasedBy(this))
71078 {
71079 Vector2 vector4 = nPC.position + nPC.Size * vector2;
71080 float num8 = Vector2.Distance(vector4, center);
71081 if (!(num8 >= num4) && Collision.CanHitLine(position, width, height, nPC.position, nPC.width, nPC.height))
71082 {
71083 num4 = num8;
71084 vector = vector4;
71085 flag = true;
71086 num5 = n;
71087 }
71088 }
71089 }
71090 }
71091 }
71092 else
71093 {
71095 if (ownerMinionAttackTargetNPC2 != null && ownerMinionAttackTargetNPC2.CanBeChasedBy(this))
71096 {
71097 float num9 = Vector2.Distance(ownerMinionAttackTargetNPC2.Center, base.Center);
71098 float num10 = num4 * 3f;
71099 if (num9 < num10 && !flag && ((type != 963) ? Collision.CanHitLine(position, width, height, ownerMinionAttackTargetNPC2.position, ownerMinionAttackTargetNPC2.width, ownerMinionAttackTargetNPC2.height) : Collision.CanHit(base.Center, 1, 1, ownerMinionAttackTargetNPC2.Center, 1, 1)))
71100 {
71101 num4 = num9;
71103 flag = true;
71105 }
71106 }
71107 if (!flag)
71108 {
71109 for (int num11 = 0; num11 < 200; num11++)
71110 {
71111 NPC nPC2 = Main.npc[num11];
71112 if (nPC2.CanBeChasedBy(this))
71113 {
71114 float num13 = Vector2.Distance(nPC2.Center, base.Center);
71115 if (!(num13 >= num4) && ((type != 963) ? Collision.CanHitLine(position, width, height, nPC2.position, nPC2.width, nPC2.height) : Collision.CanHit(base.Center, 1, 1, nPC2.Center, 1, 1)))
71116 {
71117 num4 = num13;
71118 vector = nPC2.Center;
71119 flag = true;
71120 num5 = num11;
71121 }
71122 }
71123 }
71124 }
71125 }
71126 int num14 = 500;
71127 if (type == 963)
71128 {
71129 num14 = 800;
71130 }
71131 if (flag)
71132 {
71133 num14 = 1000;
71134 }
71135 if (flag && type == 423)
71136 {
71137 num14 = 1200;
71138 }
71139 if (flag && type == 613)
71140 {
71141 num14 = 1350;
71142 }
71143 Player player = Main.player[owner];
71144 if (Vector2.Distance(player.Center, base.Center) > (float)num14)
71145 {
71146 ai[0] = 1f;
71147 netUpdate = true;
71148 }
71149 if (ai[0] == 1f)
71150 {
71151 tileCollide = false;
71152 }
71153 bool flag2 = false;
71154 if (type == 963)
71155 {
71156 flag2 = true;
71157 }
71158 if (flag2)
71159 {
71160 if (ai[0] <= 1f && localAI[1] <= 0f)
71161 {
71162 localAI[1] = -1f;
71163 }
71164 else
71165 {
71166 localAI[1] = Utils.Clamp(localAI[1] + 0.05f, 0f, 1f);
71167 if (localAI[1] == 1f)
71168 {
71169 localAI[1] = -1f;
71170 }
71171 }
71172 }
71173 if (type == 963 && ((Vector2)(ref velocity)).Length() > 0.1f && Main.rand.Next(1500) == 0)
71174 {
71176 }
71177 bool flag3 = false;
71178 if (type == 423 || type == 407)
71179 {
71180 flag3 = true;
71181 }
71182 if (ai[0] >= 2f)
71183 {
71184 if (ai[0] == 2f && type == 963)
71185 {
71187 }
71188 ai[0] += 1f;
71189 if (flag2)
71190 {
71191 localAI[1] = ai[0] / num34;
71192 }
71193 if (!flag)
71194 {
71195 ai[0] += 1f;
71196 }
71197 if (ai[0] > num34)
71198 {
71199 ai[0] = 0f;
71200 netUpdate = true;
71201 if (flag && type == 963)
71202 {
71203 center4 = vector - base.Center;
71204 if (((Vector2)(ref center4)).Length() < 50f)
71205 {
71206 ai[0] = 2f;
71207 }
71208 }
71209 }
71210 velocity *= num45;
71211 }
71212 else if (flag && (flag3 || ai[0] == 0f))
71213 {
71214 Vector2 v = vector - base.Center;
71215 float num15 = ((Vector2)(ref v)).Length();
71216 v = v.SafeNormalize(Vector2.Zero);
71217 if (type == 423)
71218 {
71219 v = vector - Vector2.UnitY * 80f;
71220 int num16 = (int)v.Y / 16;
71221 if (num16 < 0)
71222 {
71223 num16 = 0;
71224 }
71225 Tile tile = Main.tile[(int)v.X / 16, num16];
71226 if (tile != null && tile.active() && Main.tileSolid[tile.type] && !Main.tileSolidTop[tile.type])
71227 {
71228 v += Vector2.UnitY * 16f;
71229 tile = Main.tile[(int)v.X / 16, (int)v.Y / 16];
71230 if (tile != null && tile.active() && Main.tileSolid[tile.type] && !Main.tileSolidTop[tile.type])
71231 {
71232 v += Vector2.UnitY * 16f;
71233 }
71234 }
71235 v -= base.Center;
71236 num15 = ((Vector2)(ref v)).Length();
71237 v = v.SafeNormalize(Vector2.Zero);
71238 if (num15 > 300f && num15 <= 800f && localAI[0] == 0f)
71239 {
71240 ai[0] = 2f;
71241 ai[1] = (int)(num15 / 10f);
71242 extraUpdates = (int)ai[1];
71243 velocity = v * 10f;
71244 localAI[0] = 60f;
71245 return;
71246 }
71247 }
71248 if (type == 613)
71249 {
71250 v = vector;
71251 Vector2 vector5 = base.Center - v;
71252 if (vector5 == Vector2.Zero)
71253 {
71254 vector5 = -Vector2.UnitY;
71255 }
71256 vector5 = vector5.SafeNormalize(Vector2.Zero);
71257 v += vector5 * 60f;
71258 int num17 = (int)v.Y / 16;
71259 if (num17 < 0)
71260 {
71261 num17 = 0;
71262 }
71263 Tile tile2 = Main.tile[(int)v.X / 16, num17];
71264 if (tile2 != null && tile2.active() && Main.tileSolid[tile2.type] && !Main.tileSolidTop[tile2.type])
71265 {
71266 v += Vector2.UnitY * 16f;
71267 tile2 = Main.tile[(int)v.X / 16, (int)v.Y / 16];
71268 if (tile2 != null && tile2.active() && Main.tileSolid[tile2.type] && !Main.tileSolidTop[tile2.type])
71269 {
71270 v += Vector2.UnitY * 16f;
71271 }
71272 }
71273 v -= base.Center;
71274 num15 = ((Vector2)(ref v)).Length();
71275 v = v.SafeNormalize(Vector2.Zero);
71276 if (num15 > 400f && num15 <= 800f && localAI[0] == 0f)
71277 {
71278 ai[0] = 2f;
71279 ai[1] = (int)(num15 / 10f);
71280 extraUpdates = (int)ai[1];
71281 velocity = v * 10f;
71282 localAI[0] = 60f;
71283 return;
71284 }
71285 }
71286 if (type == 407)
71287 {
71288 if (num15 > 400f)
71289 {
71290 float num18 = 3f;
71291 v *= num18;
71292 velocity = (velocity * 20f + v) / 21f;
71293 }
71294 else
71295 {
71296 velocity *= 0.96f;
71297 }
71298 }
71299 if (num15 > 200f)
71300 {
71301 float num19 = 6f + num12 * num;
71302 v *= num19;
71303 float num20 = num23 * 2f;
71304 velocity.X = (velocity.X * num20 + v.X) / (num20 + 1f);
71305 velocity.Y = (velocity.Y * num20 + v.Y) / (num20 + 1f);
71306 }
71307 else if (type == 963)
71308 {
71309 if (num15 < 50f)
71310 {
71311 velocity *= 0.5f;
71312 ai[0] = 2f;
71313 netUpdate = true;
71314 }
71315 else
71316 {
71317 float num21 = 4f + num12 * num;
71318 v *= num21;
71319 velocity = (velocity * num23 + v) / (num23 + 1f);
71320 }
71321 }
71322 else if (type == 423 || type == 613)
71323 {
71324 if (num15 > 70f && num15 < 130f)
71325 {
71326 float num22 = 7f;
71327 if (num15 < 100f)
71328 {
71329 num22 = -3f;
71330 }
71331 v *= num22;
71332 velocity = (velocity * 20f + v) / 21f;
71333 if (Math.Abs(v.X) > Math.Abs(v.Y))
71334 {
71335 velocity.X = (velocity.X * 10f + v.X) / 11f;
71336 }
71337 }
71338 else
71339 {
71340 velocity *= 0.97f;
71341 }
71342 }
71343 else if (type == 375)
71344 {
71345 if (num15 < 150f)
71346 {
71347 float num24 = 4f;
71348 v *= 0f - num24;
71349 velocity.X = (velocity.X * 40f + v.X) / 41f;
71350 velocity.Y = (velocity.Y * 40f + v.Y) / 41f;
71351 }
71352 else
71353 {
71354 velocity *= 0.97f;
71355 }
71356 }
71357 else if (velocity.Y > -1f)
71358 {
71359 velocity.Y -= 0.1f;
71360 }
71361 }
71362 else
71363 {
71364 if (type != 963 && !Collision.CanHitLine(base.Center, 1, 1, Main.player[owner].Center, 1, 1))
71365 {
71366 ai[0] = 1f;
71367 }
71368 float num25 = 6f;
71369 if (ai[0] == 1f)
71370 {
71371 num25 = 15f;
71372 }
71373 if (type == 407)
71374 {
71375 num25 = 9f;
71376 }
71377 if (type == 963)
71378 {
71379 num25 *= 0.8f;
71380 }
71381 Vector2 center2 = base.Center;
71382 Vector2 v2 = player.Center - center2 + new Vector2(0f, -60f);
71383 if (type == 407)
71384 {
71385 v2 += new Vector2(0f, 40f);
71386 }
71387 if (type == 963)
71388 {
71389 v2 += new Vector2((float)(-40 * Main.player[owner].direction), 40f);
71390 }
71391 if (type == 375)
71392 {
71393 ai[1] = 80f;
71394 netUpdate = true;
71395 v2 = player.Center - center2;
71396 int num26 = 1;
71397 for (int num27 = 0; num27 < whoAmI; num27++)
71398 {
71399 if (Main.projectile[num27].active && Main.projectile[num27].owner == owner && Main.projectile[num27].type == type)
71400 {
71401 num26++;
71402 }
71403 }
71404 v2.X -= 10 * Main.player[owner].direction;
71405 v2.X -= num26 * 40 * Main.player[owner].direction;
71406 v2.Y -= 10f;
71407 }
71408 float num28 = ((Vector2)(ref v2)).Length();
71409 if (num28 > 200f && num25 < 9f)
71410 {
71411 num25 = 9f;
71412 }
71413 if ((type == 423 || type == 407) && num28 > 300f && num25 < 12f)
71414 {
71415 num25 = 12f;
71416 }
71417 if (type == 375)
71418 {
71419 num25 = (int)((double)num25 * 0.75);
71420 }
71421 if (num28 < 100f && ai[0] == 1f && !Collision.SolidCollision(position, width, height))
71422 {
71423 ai[0] = 0f;
71424 netUpdate = true;
71425 }
71426 if (num28 > 2000f)
71427 {
71428 position.X = Main.player[owner].Center.X - (float)(width / 2);
71429 position.Y = Main.player[owner].Center.Y - (float)(width / 2);
71430 }
71431 if (type == 375 || type == 963)
71432 {
71433 if (num28 > 10f)
71434 {
71435 v2 = v2.SafeNormalize(Vector2.Zero);
71436 if (num28 < 50f)
71437 {
71438 num25 /= 2f;
71439 }
71440 v2 *= num25;
71441 velocity = (velocity * 20f + v2) / 21f;
71442 }
71443 else
71444 {
71445 direction = Main.player[owner].direction;
71446 velocity *= 0.9f;
71447 }
71448 }
71449 else if (type == 407)
71450 {
71451 if (Math.Abs(v2.X) > 40f || Math.Abs(v2.Y) > 10f)
71452 {
71453 v2 = v2.SafeNormalize(Vector2.Zero);
71454 v2 *= num25;
71455 v2 *= new Vector2(1.25f, 0.65f);
71456 velocity = (velocity * 20f + v2) / 21f;
71457 }
71458 else
71459 {
71460 if (velocity.X == 0f && velocity.Y == 0f)
71461 {
71462 velocity.X = -0.15f;
71463 velocity.Y = -0.05f;
71464 }
71465 velocity *= 1.01f;
71466 }
71467 }
71468 else if (num28 > 70f)
71469 {
71470 v2 = v2.SafeNormalize(Vector2.Zero);
71471 v2 *= num25;
71472 velocity = (velocity * 20f + v2) / 21f;
71473 }
71474 else
71475 {
71476 if (velocity.X == 0f && velocity.Y == 0f)
71477 {
71478 velocity.X = -0.15f;
71479 velocity.Y = -0.05f;
71480 }
71481 velocity *= 1.01f;
71482 }
71483 if (num28 > 250f && (type == 423 || type == 407))
71484 {
71485 float x = Main.player[owner].velocity.X;
71486 float y = Main.player[owner].velocity.Y;
71487 if ((velocity.X < 0f && x >= 0f) || (velocity.X >= 0f && x < 0f))
71488 {
71489 velocity.X *= 0.95f;
71490 }
71491 else
71492 {
71493 velocity.X += x * 0.125f;
71494 }
71495 if ((velocity.Y < 0f && y >= 0f) || (velocity.Y >= 0f && y < 0f))
71496 {
71497 velocity.Y *= 0.95f;
71498 }
71499 else
71500 {
71501 velocity.Y += y * 0.125f;
71502 }
71503 if (((Vector2)(ref velocity)).Length() > num25)
71504 {
71505 velocity = velocity.SafeNormalize(Vector2.Zero) * num25;
71506 }
71507 }
71508 }
71509 rotation = velocity.X * 0.05f;
71510 frameCounter++;
71511 if (type == 373)
71512 {
71513 if (frameCounter > 1)
71514 {
71515 frame++;
71516 frameCounter = 0;
71517 }
71518 if (frame > 2)
71519 {
71520 frame = 0;
71521 }
71522 }
71523 if (type == 963)
71524 {
71525 if (ai[0] >= 2f)
71526 {
71527 int num29 = 12;
71528 if (frame < 8)
71529 {
71530 frameCounter = 0;
71531 }
71532 frameCounter++;
71534 if (frame > 6)
71535 {
71536 frameCounter = 0;
71537 frame = 5;
71538 }
71539 switch (frame)
71540 {
71541 case 0:
71542 case 1:
71543 case 2:
71544 frame = 8 + frame;
71545 break;
71546 case 3:
71547 case 5:
71548 case 7:
71549 frame = 11;
71550 break;
71551 default:
71552 frame = 12;
71553 break;
71554 }
71555 if (Main.rand.Next(2) == 0)
71556 {
71557 float num30 = 1.1f + Main.rand.NextFloat() * 0.3f;
71558 float num31 = 1.4f + Main.rand.NextFloat() * 0.4f;
71559 Vector2 vector6 = Main.rand.NextVector2CircularEdge((float)width * num30, (0f - (float)height) * 0.25f * num30);
71560 float num32 = vector6.ToRotation() + (float)Math.PI / 2f;
71561 int num33 = Dust.NewDust(base.Bottom + vector6, 1, 1, 303, 0f, 0f, 50, Color.GhostWhite, num31);
71562 Main.dust[num33].velocity = vector6 * 0.0125f + Utils.RotatedBy(new Vector2(1f, 0f), num32, Vector2.Zero);
71563 Main.dust[num33].noGravity = true;
71564 }
71565 }
71566 else
71567 {
71568 if (frame > 7)
71569 {
71570 frame = 0;
71571 frameCounter = 0;
71572 }
71573 if (frameCounter > 6)
71574 {
71575 frameCounter = 0;
71576 frame++;
71577 if (frame > 7)
71578 {
71579 frame = 0;
71580 }
71581 }
71582 }
71583 }
71584 if (type == 375)
71585 {
71586 if (frameCounter >= 16)
71587 {
71588 frameCounter = 0;
71589 }
71590 frame = frameCounter / 4;
71591 if (ai[1] > 0f && ai[1] < 16f)
71592 {
71593 frame += 4;
71594 }
71595 if (Main.rand.Next(6) == 0)
71596 {
71597 int num35 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 6, 0f, 0f, 100, default(Color), 2f);
71598 Dust obj4 = Main.dust[num35];
71599 obj4.velocity *= 0.3f;
71600 Main.dust[num35].noGravity = true;
71601 Main.dust[num35].noLight = true;
71602 }
71603 }
71604 if (type == 407)
71605 {
71606 int num36 = 2;
71607 if (frameCounter >= 6 * num36)
71608 {
71609 frameCounter = 0;
71610 }
71612 if (Main.rand.Next(5) == 0)
71613 {
71614 int num37 = Dust.NewDust(new Vector2(position.X, position.Y), width, height, 217, 0f, 0f, 100, default(Color), 2f);
71615 Dust obj5 = Main.dust[num37];
71616 obj5.velocity *= 0.3f;
71617 Main.dust[num37].noGravity = true;
71618 Main.dust[num37].noLight = true;
71619 }
71620 }
71621 if (type == 423 || type == 613)
71622 {
71623 int num38 = 3;
71624 if (frameCounter >= 4 * num38)
71625 {
71626 frameCounter = 0;
71627 }
71629 }
71630 if (velocity.X > 0f)
71631 {
71632 spriteDirection = (direction = -1);
71633 }
71634 else if (velocity.X < 0f)
71635 {
71636 spriteDirection = (direction = 1);
71637 }
71638 if (type == 963)
71639 {
71640 spriteDirection = (direction *= -1);
71641 if (!flag && Math.Abs(velocity.X) < 0.1f)
71642 {
71643 spriteDirection = ((Main.player[owner].Center.X > base.Center.X) ? 1 : (-1));
71644 }
71645 }
71646 if (type == 373)
71647 {
71648 if (ai[1] > 0f)
71649 {
71650 ai[1] += Main.rand.Next(1, 4);
71651 }
71652 int num39 = 90;
71653 if (Main.player[owner].strongBees)
71654 {
71655 num39 = 70;
71656 }
71657 if (ai[1] > (float)num39)
71658 {
71659 ai[1] = 0f;
71660 netUpdate = true;
71661 }
71662 }
71663 else if (type == 375)
71664 {
71665 if (ai[1] > 0f)
71666 {
71667 ai[1] += 1f;
71668 if (Main.rand.Next(3) == 0)
71669 {
71670 ai[1] += 1f;
71671 }
71672 }
71673 if (ai[1] > 90f)
71674 {
71675 ai[1] = 0f;
71676 netUpdate = true;
71677 }
71678 }
71679 else if (type == 407)
71680 {
71681 if (ai[1] > 0f)
71682 {
71683 ai[1] += 1f;
71684 if (Main.rand.Next(3) != 0)
71685 {
71686 ai[1] += 1f;
71687 }
71688 }
71689 if (ai[1] > 50f)
71690 {
71691 ai[1] = 0f;
71692 netUpdate = true;
71693 }
71694 }
71695 else if (type == 423)
71696 {
71697 if (ai[1] > 0f)
71698 {
71699 ai[1] += 1f;
71700 if (Main.rand.Next(3) != 0)
71701 {
71702 ai[1] += 1f;
71703 }
71704 }
71705 if (ai[1] > 40f)
71706 {
71707 ai[1] = 0f;
71708 netUpdate = true;
71709 }
71710 }
71711 else if (type == 613)
71712 {
71713 if (ai[1] > 0f)
71714 {
71715 ai[1] += 1f;
71716 if (Main.rand.Next(3) != 0)
71717 {
71718 ai[1] += 1f;
71719 }
71720 }
71721 if (ai[1] > 60f)
71722 {
71723 ai[1] = 0f;
71724 netUpdate = true;
71725 }
71726 }
71727 if (!flag3 && ai[0] != 0f)
71728 {
71729 return;
71730 }
71731 float num40 = 0f;
71732 int num41 = 0;
71733 if (type == 373)
71734 {
71735 num40 = 10f;
71736 num41 = 374;
71737 }
71738 else if (type == 375)
71739 {
71740 num40 = 11f;
71741 num41 = 376;
71742 }
71743 else if (type == 407)
71744 {
71745 num40 = 20f;
71746 num41 = 408;
71747 }
71748 else if (type == 423)
71749 {
71750 num40 = 4f;
71751 num41 = 433;
71752 }
71753 else if (type == 613)
71754 {
71755 num40 = 14f;
71756 num41 = 614;
71757 }
71758 if (!flag)
71759 {
71760 return;
71761 }
71762 if (type == 375)
71763 {
71764 if ((vector - base.Center).X > 0f)
71765 {
71766 spriteDirection = (direction = -1);
71767 }
71768 else if ((vector - base.Center).X < 0f)
71769 {
71770 spriteDirection = (direction = 1);
71771 }
71772 }
71773 if (type == 407 && Collision.SolidCollision(position, width, height))
71774 {
71775 return;
71776 }
71777 if (type == 423)
71778 {
71779 if (Math.Abs((vector - base.Center).ToRotation() - (float)Math.PI / 2f) > (float)Math.PI / 4f)
71780 {
71781 velocity += (vector - base.Center - Vector2.UnitY * 80f).SafeNormalize(Vector2.Zero);
71782 }
71783 center4 = vector - base.Center;
71784 if (!(((Vector2)(ref center4)).Length() > 400f) && ai[1] == 0f)
71785 {
71786 ai[1] += 1f;
71787 if (Main.myPlayer == owner)
71788 {
71789 Vector2 v3 = vector - base.Center;
71790 v3 = v3.SafeNormalize(Vector2.Zero);
71791 v3 *= num40;
71792 NewProjectile(GetProjectileSource_FromThis(), base.Center.X, base.Center.Y, v3.X, v3.Y, num41, damage, knockBack, Main.myPlayer);
71793 netUpdate = true;
71794 }
71795 }
71796 }
71797 else if (ai[1] == 0f && type == 613)
71798 {
71799 center4 = vector - base.Center;
71800 if (((Vector2)(ref center4)).Length() > 500f || ai[1] != 0f)
71801 {
71802 return;
71803 }
71804 ai[1] += 1f;
71805 if (Main.myPlayer == owner)
71806 {
71807 Vector2 v4 = vector - base.Center;
71808 v4 = v4.SafeNormalize(Vector2.Zero);
71809 v4 *= num40;
71810 int num42 = NewProjectile(GetProjectileSource_FromThis(), base.Center.X, base.Center.Y, v4.X, v4.Y, num41, damage, knockBack, Main.myPlayer, 0f, num5);
71811 Main.projectile[num42].timeLeft = 300;
71812 Main.projectile[num42].netUpdate = true;
71813 velocity -= v4 / 3f;
71814 netUpdate = true;
71815 }
71816 for (int num43 = 0; num43 < 5; num43++)
71817 {
71818 int num44 = width / 4;
71819 _ = ((float)Main.rand.NextDouble() * ((float)Math.PI * 2f)).ToRotationVector2() * (float)Main.rand.Next(24, 41) / 8f;
71820 int num46 = Dust.NewDust(base.Center - Vector2.One * (float)num44, num44 * 2, num44 * 2, 88);
71821 Dust dust3 = Main.dust[num46];
71822 Vector2 vector7 = (dust3.position - base.Center).SafeNormalize(Vector2.Zero);
71823 dust3.position = base.Center + vector7 * (float)num44 * scale - new Vector2(4f);
71824 if (num43 < 30)
71825 {
71826 dust3.velocity = vector7 * ((Vector2)(ref dust3.velocity)).Length() * 2f;
71827 }
71828 else
71829 {
71830 dust3.velocity = 2f * vector7 * (float)Main.rand.Next(45, 91) / 10f;
71831 }
71832 dust3.noGravity = true;
71833 dust3.scale = 0.7f + Main.rand.NextFloat();
71834 }
71835 }
71836 else if (ai[1] == 0f)
71837 {
71838 Vector2 v5 = vector - base.Center;
71839 ai[1] += 1f;
71840 if (Main.myPlayer == owner)
71841 {
71842 v5 = v5.SafeNormalize(Vector2.Zero);
71843 v5 *= num40;
71844 int num47 = NewProjectile(GetProjectileSource_FromThis(), base.Center.X, base.Center.Y, v5.X, v5.Y, num41, damage, knockBack, Main.myPlayer);
71845 Main.projectile[num47].timeLeft = 300;
71846 Main.projectile[num47].netUpdate = true;
71847 netUpdate = true;
71848 }
71849 }
71850 }
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 ...
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
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
static readonly SoundStyle AbigailAttack
Definition SoundID.cs:251
static readonly SoundStyle AbigailCry
Definition SoundID.cs:249
int owner
The index of the player who owns this projectile. In Multiplayer, Clients "own" projectiles that they...
int damage
This will always be set in Projectile.NewProjectile based on the weapons damage and player stat modif...
float[] ai
An array with 3 slots used for any sort of data storage, which is occasionally synced to the server....
bool netUpdate
Set manually to true in M:Terraria.ModLoader.ModProjectile.AI once to make it sync its current F:Terr...
int alpha
How transparent to draw this projectile. 0 to 255. 255 is completely transparent. ExampleBulletsets...
IEntitySource GetProjectileSource_FromThis()
float[] localAI
Acts like F:Terraria.Projectile.ai, but does not sync to the server. Many vanilla T:Terraria....
int frame
The frame number in the spritesheet that this projectile will be drawn with. Assign in M:Terraria....
float knockBack
This will always be set in Projectile.NewProjectile based on the weapons knockback and player stat mo...
int type
The Projectile ID of this projectile. The Projectile ID is a unique number assigned to each Projectil...
bool tileCollide
If true, the projectile will collide with tiles, usually bouncing or killing the tile depending on M:...
int timeLeft
Time in ticks before this projectile will naturally despawn. Each update timeLeft is decreased by 1...
float rotation
Rotation of the projectile. Radians not Degrees. Use T:Microsoft.Xna.Framework.MathHelper if you want...
int extraUpdates
Additional update steps per tick. Useful for really fast projectiles such as Shadowbeam Staff....
int frameCounter
Used as a timer to decide when to change F:Terraria.Projectile.frame. Defaults to 0.
float scale
Scales how large the projectile will be drawn. Will also affect the hitbox (F:Terraria....
static int NewProjectile(IEntitySource spawnSource, Vector2 position, Vector2 velocity, int Type, int Damage, float KnockBack, int Owner=-1, float ai0=0f, float ai1=0f, float ai2=0f)
This particular overload uses a Vector2 instead of X and Y to determine the actual spawn position and...

References Terraria.ID.SoundID.AbigailAttack, Terraria.ID.SoundID.AbigailCry, Terraria.Tile.active(), Terraria.Lighting.AddLight(), Terraria.Collision.CanHit(), Terraria.Collision.CanHitLine(), Terraria.Entity.Center, Terraria.Main.dust, Terraria.Main.myPlayer, Terraria.Dust.NewDust(), Terraria.Main.npc, Terraria.Main.player, Terraria.Audio.SoundEngine.PlaySound(), Terraria.Main.projectile, Terraria.Main.rand, Terraria.Utils.RotatedBy(), Terraria.Collision.SolidCollision(), Terraria.Main.tile, Terraria.Main.tileSolid, Terraria.Main.tileSolidTop, and Terraria.Tile.type.

+ Here is the call graph for this function: