Definition at line 87556 of file NPC.cs.
87557 {
87559 if (num == 0)
87560 {
87562 {
87565 {
87567 }
87569 }
87571 }
87572 if (num == 1)
87573 {
87575 {
87577 }
87579 }
87580 if (num == 2)
87581 {
87582 if ((
int)
ai[0] == 4 ||
ai[0] == 5f ||
ai[0] == 6f)
87583 {
87585 {
87588 }
87591 }
87592 else
87593 {
87595 {
87598 }
87599 }
87600 }
87601 if (num == 3)
87602 {
87604 {
87607 }
87610 }
87611 switch (num)
87612 {
87613 case 4:
87614 {
87616 {
87618 Lighting.AddLight((
int)position.X / 16, (int)
position.
Y / 16, 0.3f, 0f, 0.2f);
87619 }
87621 break;
87622 }
87623 case 5:
87624 {
87626 {
87628 }
87630 break;
87631 }
87632 case 6:
87633 {
87635 {
87637 }
87639 break;
87640 }
87641 case 7:
87642 {
87644 {
87647 }
87650 break;
87651 }
87652 }
87653 }
static int[] TrailingMode
References Terraria.Lighting.AddLight(), Microsoft.Xna.Framework.Vector2.Length(), Terraria.ID.NPCID.Sets.TrailingMode, and System.type.