Definition at line 89517 of file NPC.cs.
89518 {
89523 {
89524 int num = (int)(44f + 20f *
ai[1]);
89525 cPosition.Y += num;
89527 cPosition.X +=
cWidth / 2;
89529 cPosition.X -=
cWidth / 2;
89530 }
89532 {
89534 cPosition.Y +=
num2;
89536 cPosition.X +=
cWidth / 2;
89538 cPosition.X -=
cWidth / 2;
89539 }
89541 {
89543 }
89545 {
89547 }
89549 {
89551 }
89553 {
89555 }
89557 {
89559 }
89561 {
89562 for (
int i = 0;
i < 200;
i++)
89563 {
89564 if (Main.npc[i].active && Main.npc[i].type == 390 && Main.npc[i].ai[0] == (
float)
whoAmI)
89565 {
89567 break;
89568 }
89569 }
89570 }
89572 {
89573 for (
int j = 0;
j < 200;
j++)
89574 {
89575 if (Main.npc[
j].active && Main.npc[
j].type == 416 && Main.npc[
j].ai[0] == (
float)
whoAmI)
89576 {
89578 break;
89579 }
89580 }
89581 }
89583 {
89584 cPosition.X += 32f;
89586 }
89588 {
89590 }
89591 }
References Terraria.Main.npc, and System.type.
Referenced by Terraria.NPC.AI_107_ImprovedWalkers().