19637 {
19638 int num = 0;
19640 {
19642 }
19644 {
19647 }
19649 {
19651 Main.dust[
num2].velocity *= 0.025f;
19654 Main.dust[
num2].velocity *= 0.2f;
19656 }
19658 {
19659 for (
int i = 0;
i < 4;
i++)
19660 {
19662 Main.dust[
num3].noGravity =
true;
19663 Main.dust[
num3].velocity.X = Main.dust[
num3].velocity.X * 0.2f;
19664 Main.dust[
num3].velocity.Y = Main.dust[
num3].velocity.Y * 0.2f;
19666 Main.dust[
num3].scale += (float)Main.rand.Next(-5, 3) * 0.1f;
19669 vector *= (float)Main.rand.Next(81) * 0.1f;
19670 }
19671 }
19673 {
19675 dust.velocity *= 0.2f;
19676 dust.velocity.Y -=
gravDir * 2f;
19678 }
19680 {
19681 for (
int j = 0;
j < 2;
j++)
19682 {
19683 int num4 = ((
j != 0) ? Dust.NewDust(
new Vector2(
position.
X + (
float)(
width / 2),
position.
Y + (
float)
height +
gfxOffY),
width / 2, 6, 76, 0f, 0f, 0,
default(
Color), 1.35f) : Dust.NewDust(
new Vector2(
position.
X,
position.
Y + (float)
height +
gfxOffY),
width / 2, 6, 76, 0f, 0f, 0,
default(
Color), 1.35f));
19684 Main.dust[
num4].scale *= 1f + (float)Main.rand.Next(20, 40) * 0.01f;
19685 Main.dust[
num4].noGravity =
true;
19686 Main.dust[
num4].noLight =
true;
19687 Main.dust[
num4].velocity *= 0.001f;
19688 Main.dust[
num4].velocity.Y -= 0.003f;
19690 }
19691 }
19693 {
19694 int type = Main.rand.NextFromList(
new short[6] { 61, 61, 61, 242, 64, 63 });
19695 int alpha = 0;
19696 for (
int k = 1;
k < 3;
k++)
19697 {
19698 float scale = 1.5f;
19700 {
19701 scale = 1f;
19702 }
19704 Main.dust[
num5].velocity *= 1.5f;
19706 {
19707 Main.dust[
num5].position += Main.dust[
num5].velocity;
19708 }
19709 Main.dust[
num5].noGravity =
true;
19710 Main.dust[
num5].noLightEmittence =
true;
19712 }
19713 }
19715 {
19717 Main.dust[
num6].velocity.X = Main.dust[
num6].velocity.X * 0.2f;
19718 Main.dust[
num6].velocity.Y = -1.5f - Main.rand.NextFloat() * 0.5f;
19719 Main.dust[
num6].fadeIn = 0.5f;
19720 Main.dust[
num6].noGravity =
true;
19722 }
19723 else
19724 {
19726 Main.dust[
num7].velocity.X = Main.dust[
num7].velocity.X * 0.2f;
19727 Main.dust[
num7].velocity.Y = Main.dust[
num7].velocity.Y * 0.2f;
19729 }
19730 }
static void PlaySound(int type, Vector2 position, int style=1)
static ArmorShaderDataSet Armor
SoundPlaySet hermesStepSound