Definition at line 87655 of file NPC.cs.
87656 {
87657 maxFallSpeed = 10f;
87660 {
87663 {
87664 velocity.Y = 3f;
87665 }
87666 }
87667 else if (
type == 425 &&
ai[2] == 1f)
87668 {
87670 }
87671 else if ((
type == 576 ||
type == 577) &&
ai[0] > 0f &&
ai[1] == 2f)
87672 {
87675 {
87676 velocity.Y = 32f;
87677 }
87678 }
87679 else if (
type == 427 &&
ai[2] == 1f)
87680 {
87683 {
87684 velocity.Y = 4f;
87685 }
87686 }
87687 else if (
type == 426)
87688 {
87691 {
87692 velocity.Y = 3f;
87693 }
87694 }
87695 else if (
type == 541)
87696 {
87698 }
87700 {
87702 }
87703 float num = (float)Main.maxTilesX / 4200f;
87704 num *= num;
87705 float num2 = (float)((
double)(position.Y / 16f - (60f + 10f * num)) / (Main.worldSurface / 6.0));
87706 if ((
double)
num2 < 0.25)
87707 {
87709 }
87711 {
87713 }
87716 {
87718 {
87720 maxFallSpeed = 5.5f;
87721 }
87723 {
87725 maxFallSpeed = 4f;
87726 }
87727 else
87728 {
87730 maxFallSpeed = 7f;
87731 }
87732 }
87733 }
References Terraria.Main.maxTilesX, and System.type.