Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
fe00ac219e
4 files changed
+7
-7
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user