size adjustments, removed a debug thing
This commit is contained in:
1 parent
c3b11ce65f
commit
c27a753e72
2 files changed
+3
-3
No files matched your search
@@ -32,7 +32,7 @@ namespace CalamityMod.Particles
|
||||
|
||||
public override void UpdateBehavior(FusableParticle particle)
|
||||
{
|
||||
particle.Size = MathHelper.Clamp(particle.Size - 25f, 0f, 200f) * 0.98f;
|
||||
particle.Size = MathHelper.Clamp(particle.Size - 1f, 0f, 200f) * 0.98f;
|
||||
}
|
||||
|
||||
public override void PrepareOptionalShaderData(Effect effect, int index)
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
modPlayer.voidField = false;
|
||||
if (modPlayer.voidField)
|
||||
Projectile.timeLeft = 2;
|
||||
|
||||
if (start)
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.Item20, Projectile.position);
|
||||
@@ -63,7 +64,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
for (int k = 0; k < Main.projectile.Length; k++)
|
||||
{
|
||||
var proj = Main.projectile[k];
|
||||
if (proj.owner == Projectile.owner && proj.arrow && !proj.Calamity().nihilicArrow && proj.friendly && Vector2.Distance(proj.Center, Projectile.Center) < 80)
|
||||
if (proj.owner == Projectile.owner && proj.arrow && !proj.Calamity().nihilicArrow && proj.friendly && Vector2.Distance(proj.Center, Projectile.Center) < 65)
|
||||
{
|
||||
Main.projectile[k].damage = (int)(proj.damage * 1.2f);
|
||||
proj.extraUpdates += 1;
|
||||
@@ -88,7 +89,6 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
if (voidaura == null)
|
||||
{
|
||||
voidaura = FusableParticleManager.GetParticleSetByType<VoidGeneratorParticleSet>()?.SpawnParticle(Projectile.Center, 500);
|
||||
SoundEngine.PlaySound(SoundID.Item20, Projectile.Center);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user