37688 {
37690 bool num =
type == 864;
37692 if (num)
37693 {
37694 if (player.dead)
37695 {
37696 player.smolstar = false;
37697 }
37698 if (player.smolstar)
37699 {
37701 }
37703 {
37710 vector.Y += player.gfxOffY;
37712 }
37713 }
37715 {
37720 if (
vector4.Length() >= 3000f)
37721 {
37723 }
37726 {
37728 }
37733 {
37737 }
37740 {
37742 }
37744 return;
37745 }
37747 {
37749 {
37751 for (
int i = 0;
i < 2;
i++)
37752 {
37754 if (Main.rand.Next(3) != 0)
37755 {
37756 dust.scale *= 1.3f;
37757 dust.velocity *= 1.1f;
37758 }
37759 dust.noGravity = true;
37760 dust.fadeIn = 0f;
37761 }
37762 velocity += Main.rand.NextVector2CircularEdge(4f, 4f);
37763 }
37765 rotation += velocity.X * 0.1f + velocity.Y * 0.05f;
37768 {
37771 }
37772 return;
37773 }
37776 if (Main.npc.IndexInRange(
num5) && Main.npc[
num5].CanBeChasedBy(
this))
37777 {
37779 }
37781 {
37785 }
37786 else if (player.Distance(
nPC.Center) >= 900f)
37787 {
37791 }
37792 else
37793 {
37798 {
37800 }
37803 }
37806 for (
int j = 0;
j < 1000;
j++)
37807 {
37809 {
37810 if (
position.
X < Main.projectile[
j].position.X)
37811 {
37812 velocity.X -=
num7;
37813 }
37814 else
37815 {
37816 velocity.X +=
num7;
37817 }
37818 if (
position.
Y < Main.projectile[
j].position.Y)
37819 {
37820 velocity.Y -=
num7;
37821 }
37822 else
37823 {
37824 velocity.Y +=
num7;
37825 }
37826 }
37827 }
37828 }
static double Abs(double value)
static void PlaySound(int type, Vector2 position, int style=1)
void Minion_FindTargetInRange(int startAttackRange, ref int attackTarget, bool skipIfCannotHitWithOwnBody, Func< Entity, int, bool > customEliminationCheck=null)
void AI_GetMyGroupIndexAndFillBlackList(List< int > blackListedTargets, out int index, out int totalIndexesInGroup)