Quality Aura no longer CRUSTY

Aura looks better now (Thanks Aqua)
This commit is contained in:
Xyk authored and Cameron Ewell committed 2023-08-06 22:34:28 -04:00
1 parent 5b1d56ae82
commit 39421ae977
6 files changed
+13 -13

No files matched your search

+2 -2
View File
@@ -3215,11 +3215,11 @@ namespace CalamityMod.CalPlayer
Player.accRunSpeed = accRunSpeedMin;
//Life Jelly regen aura spawn when using a healing potion
if (timePotionSick == 1 && Player.whoAmI == Main.myPlayer && lifejelly)
if (timePotionSick == 1 && Player.whoAmI == Main.myPlayer && lifejelly && !GrandGelatin)
Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.Zero, ModContent.ProjectileType<PinkJellyAura>(), 0, 0, Player.whoAmI);
//Cleansing Jelly cleansing aura spawn when using a healing potion
if (timePotionSick == 1 && Player.whoAmI == Main.myPlayer && cleansingjelly)
if (timePotionSick == 1 && Player.whoAmI == Main.myPlayer && cleansingjelly && !GrandGelatin)
{
Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.Zero, ModContent.ProjectileType<BlueJellyAura>(), 0, 0, Player.whoAmI);
//Allowing all players to get cleansed after another aura is spawned by anyone
Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

+1 -1
View File
@@ -9,7 +9,7 @@ namespace CalamityMod.Particles
{
public class StaticPulseRing : Particle
{
public override string Texture => "CalamityMod/Particles/HollowCircleHardEdge";
public override string Texture => "CalamityMod/Particles/HighResHollowCircleHardEdge";
public override bool UseAdditiveBlend => true;
public override bool SetLifetime => true;
public override bool UseCustomDraw => true;
+4 -4
View File
@@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Typless
}
for (int i = 0; i < 55; i++)
{
int dust = Dust.NewDust(player.Center - new Vector2(2f), player.width + 4, player.height + 4, 187, player.velocity.X * 0.2f, player.velocity.Y * 0.2f, 100, default, 5.5f);
int dust = Dust.NewDust(player.Center, player.width + 4, player.height + 4, 187, player.velocity.X * 0.2f, player.velocity.Y * 0.2f, 100, default, 5.5f);
Main.dust[dust].noGravity = true;
Main.dust[dust].velocity *= 1.2f;
Main.dust[dust].velocity.Y -= 0.5f;
@@ -81,7 +81,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce == 1)
{
Particle pulse = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.RoyalBlue, new Vector2(1f, 1f), 0f, 0f, 2f, 10);
Particle pulse = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.RoyalBlue, new Vector2(1f, 1f), 0f, 0f, 0.156f, 10);
GeneralParticleHandler.SpawnParticle(pulse);
PulseOnce = 0;
}
@@ -95,7 +95,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce2 == 1)
{
Particle pulse2 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.RoyalBlue, new Vector2(1f, 1f), 0f, 2f, 2f, 2700);
Particle pulse2 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.RoyalBlue, new Vector2(1f, 1f), 0f, 0.156f, 0.156f, 2700);
GeneralParticleHandler.SpawnParticle(pulse2);
PulseOnce2 = 0;
}
@@ -123,7 +123,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce3 == 1)
{
Particle pulse3 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.RoyalBlue, new Vector2(1f, 1f), 0f, 2f, 0f, 10);
Particle pulse3 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.RoyalBlue, new Vector2(1f, 1f), 0f, 0.156f, 0f, 10);
GeneralParticleHandler.SpawnParticle(pulse3);
PulseOnce3 = 0;
}
+3 -3
View File
@@ -84,7 +84,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce == 1)
{
Particle pulse = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.Lime, new Vector2(1f, 1f), 0f, 0f, 3f, 10);
Particle pulse = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.Lime, new Vector2(1f, 1f), 0f, 0f, 0.225f, 10);
GeneralParticleHandler.SpawnParticle(pulse);
PulseOnce = 0;
}
@@ -98,7 +98,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce2 == 1)
{
Particle pulse2 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.Lime, new Vector2(1f, 1f), 0f, 3f, 3f, 2700);
Particle pulse2 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.Lime, new Vector2(1f, 1f), 0f, 0.225f, 0.225f, 2700);
GeneralParticleHandler.SpawnParticle(pulse2);
PulseOnce2 = 0;
}
@@ -126,7 +126,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce3 == 1)
{
Particle pulse3 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.Lime, new Vector2(1f, 1f), 0f, 3f, 0f, 10);
Particle pulse3 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.Lime, new Vector2(1f, 1f), 0f, 0.225f, 0f, 10);
GeneralParticleHandler.SpawnParticle(pulse3);
PulseOnce3 = 0;
}
+3 -3
View File
@@ -58,7 +58,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce == 1)
{
Particle pulse = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.HotPink, new Vector2(1f, 1f), 0f, 0f, 2f, 10);
Particle pulse = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.HotPink, new Vector2(1f, 1f), 0f, 0f, 0.156f, 10);
GeneralParticleHandler.SpawnParticle(pulse);
SoundEngine.PlaySound(Spawnsound with { Pitch = -0.9f }, Projectile.Center);
PulseOnce = 0;
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce2 == 1)
{
Particle pulse2 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.HotPink, new Vector2(1f, 1f), 0f, 2f, 2f, 2700);
Particle pulse2 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.HotPink, new Vector2(1f, 1f), 0f, 0.156f, 0.156f, 2700);
GeneralParticleHandler.SpawnParticle(pulse2);
PulseOnce2 = 0;
}
@@ -101,7 +101,7 @@ namespace CalamityMod.Projectiles.Typless
{
if (PulseOnce3 == 1)
{
Particle pulse3 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.HotPink, new Vector2(1f, 1f), 0f, 2f, 0f, 10);
Particle pulse3 = new StaticPulseRing(Projectile.Center, Vector2.Zero, Color.HotPink, new Vector2(1f, 1f), 0f, 0.156f, 0f, 10);
GeneralParticleHandler.SpawnParticle(pulse3);
PulseOnce3 = 0;
}