48496 {
48498 {
48500 float num = 0f;
48501 for (
int i = 0;
i < 1000;
i++)
48502 {
48503 if (!Main.projectile[i].active || Main.projectile[i].owner !=
whoAmI || !Main.projectile[i].minion)
48504 {
48505 continue;
48506 }
48509 {
48510 if (Main.projectile[
list[
j]].minionSlots > Main.projectile[i].minionSlots)
48511 {
48513 break;
48514 }
48515 }
48517 {
48519 }
48520 num += Main.projectile[
i].minionSlots;
48521 }
48527 {
48528 int type = Main.projectile[
list[
k]].type;
48530 {
48533 }
48535 {
48536 if (Main.projectile[(
int)Main.projectile[
list[
k]].localAI[1]].type == 628)
48537 {
48539 }
48542 }
48543 }
48545 {
48547 list.
Add(Projectile.GetByUUID(Main.projectile[
num5].owner, Main.projectile[
num5].ai[0]));
48548 }
48550 {
48552 {
48553 break;
48554 }
48557 {
48558 continue;
48559 }
48561 {
48563 }
48565 {
48567 }
48568 num3 += Main.projectile[
list[
l]].minionSlots;
48570 {
48571 Projectile projectile = Main.projectile[
list[
l]];
48572 int byUUID = Projectile.GetByUUID(projectile.owner, projectile.ai[0]);
48573 if (Main.projectile.IndexInRange(
byUUID))
48574 {
48577 {
48579 }
48580 projectile2 = Main.projectile[(int)projectile.localAI[1]];
48583 projectile2.netUpdate = true;
48584 }
48585 }
48586 Main.projectile[
list[
l]].Kill();
48587 }
48589 if (num +
num2 >= 9f)
48590 {
48592 }
48593 return;
48594 }
48595 for (
int m = 0;
m < 1000;
m++)
48596 {
48599 {
48601 {
48603 }
48605 {
48607 }
48609 {
48611 }
48612 }
48613 }
48614 }
void Add(TKey key, TValue value)
static void HandleSpecialEvent(Player player, int eventID)
static int[] StaffMinionSlotsRequired
static bool[] MinionSacrificable