This commit is contained in:
Andrew Marheine committed 2019-10-22 19:23:25 -05:00
commit fe00ac219e
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Projectiles.Rogue
public override bool OnTileCollide(Vector2 oldVelocity)
{
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
if (projectile.velocity.X != oldVelocity.X)
projectile.velocity.X = -oldVelocity.X;
@@ -76,7 +76,7 @@ namespace CalamityMod.Projectiles.Rogue
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
projectile.velocity.X = -projectile.velocity.X;
projectile.velocity.Y = -projectile.velocity.Y;
+2 -2
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.Projectiles.Rogue
public override bool OnTileCollide(Vector2 oldVelocity)
{
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
if (projectile.velocity.X != oldVelocity.X)
projectile.velocity.X = -oldVelocity.X;
@@ -117,7 +117,7 @@ namespace CalamityMod.Projectiles.Rogue
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
projectile.velocity.X = -projectile.velocity.X;
projectile.velocity.Y = -projectile.velocity.Y;
+2 -2
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.Projectiles.Rogue
public override bool OnTileCollide(Vector2 oldVelocity)
{
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
if (projectile.owner == Main.myPlayer)
{
@@ -109,7 +109,7 @@ namespace CalamityMod.Projectiles.Rogue
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
if (projectile.owner == Main.myPlayer)
{
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.Projectiles.Rogue
public override void Kill(int timeLeft)
{
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.65f, 0f);
Main.PlaySound(4, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
projectile.position = projectile.Center;
projectile.width = projectile.height = 36;