27606 {
27609 {
27610 num = 4;
27611 }
27612 for (
int i = 0;
i < 2;
i++)
27613 {
27614 int num2 = ((
i == 0) ? 2 : (-2));
27617 {
27618 r.X -= 4;
27619 }
27621 float scale = 2.5f;
27622 int alpha = 100;
27625 Dust dust;
27627 {
27628 case 5:
27630 scale = 2.5f;
27631 break;
27632 case 1:
27634 {
27636 scale = 1.5f;
27637 }
27638 break;
27639 case 3:
27641 scale = 1f;
27642 alpha = 20;
27643 break;
27644 case 2:
27646 {
27647 type = Main.rand.NextFromList(
new short[6] { 61, 61, 61, 242, 64, 63 });
27648 scale = 2f;
27649 alpha = 120;
27650 }
27651 else
27652 {
27654 scale = 1.5f;
27655 alpha = 20;
27656 }
27657 break;
27658 case 4:
27659 {
27660 int num4 = Main.rand.Next(6);
27663 {
27666 dust.scale = 0.66f;
27667 dust.noGravity = true;
27668 dust.velocity *= 0.25f;
27670 dust.velocity +=
vector * 0.5f;
27671 dust.position += dust.velocity * 4f;
27672 if (Main.rand.Next(5) == 0)
27673 {
27674 dust.fadeIn = 0.8f;
27675 }
27676 continue;
27677 }
27679 alpha = 100;
27680 scale = 0.7f;
27682 break;
27683 }
27684 }
27685 dust = Dust.NewDustDirect(
r.TopLeft(),
r.Width,
r.Height,
type, 0f, 0f, alpha,
default(
Color), scale);
27687 dust.velocity +=
vector;
27688 dust.velocity *=
num3;
27690 {
27691 case 5:
27692 dust.noGravity = true;
27693 break;
27694 case 1:
27695 dust.noGravity = true;
27696 break;
27697 case 2:
27698 dust.velocity *= 0.1f;
27699 break;
27700 case 3:
27701 dust.velocity *= 0.05f;
27702 dust.velocity.Y += 0.15f;
27703 dust.noLight = true;
27704 if (Main.rand.Next(2) == 0)
27705 {
27706 dust.noGravity = true;
27707 dust.scale = 1.75f;
27708 }
27709 break;
27710 }
27712 {
27713 dust.noGravity = true;
27714 dust.noLightEmittence = true;
27715 }
27716 }
27717 }
static ArmorShaderDataSet Armor
bool socialShadowRocketBoots
static Color Lerp(Color value1, Color value2, float amount)