37436 {
37437 bool flag = false;
37438 bool flag2 =
false;
37439 float num = 140f;
37441 float num3 = 0.98f;
37442 float value = 0.05f;
37446 {
37447 num = 180f;
37454 {
37459 for (
int i = 0;
i < 3;
i++)
37460 {
37461 Dust dust = Dust.NewDustPerfect(
base.Center, 267, Main.rand.NextVector2CircularEdge(3f, 3f) * (Main.rand.NextFloat() * 0.5f + 0.5f), 0,
fairyQueenWeaponsColor);
37462 dust.scale *= 1.2f;
37463 dust.noGravity = true;
37464 }
37465 }
37466 }
37468 {
37469 flag = true;
37470 }
37472 {
37474 }
37475 if (flag)
37476 {
37477 float num6 = (float)
Math.
Cos((
float)
whoAmI % 6f / 6f + position.X / 320f + position.Y / 160f);
37480 }
37482 {
37484 if (Main.npc.IndexInRange(
num7) && !Main.npc[
num7].CanBeChasedBy(
this))
37485 {
37489 }
37491 {
37494 {
37498 }
37499 }
37500 }
37502 {
37506 {
37509 }
37511 {
37512 if (Main.npc.IndexInRange(
num9))
37513 {
37515 {
37517 }
37520 }
37521 else
37522 {
37524 }
37525 }
37529 {
37531 }
37532 }
37535 }
static float Lerp(float value1, float value2, float amount)
static double Cos(double d)
Vector2 DirectionTo(Vector2 Destination)
Color GetFairyQueenWeaponsColor(float alphaChannelMultiplier=1f, float lerpToWhite=0f, float? rawHueOverride=null)
int FindTargetWithLineOfSight(float maxRange=800f)
static Vector2 SmoothStep(Vector2 value1, Vector2 value2, float amount)