Arrow dust, replaced star on proc with more sparks
This commit is contained in:
1 parent
106e2c29e4
commit
aaab2f94dd
2 files changed
+7
-10
No files matched your search
@@ -5102,13 +5102,13 @@ namespace CalamityMod.NPCs
|
||||
veriumDoomTimer--;
|
||||
if (veriumDoomTimer == 0 && veriumDoomMarked)
|
||||
{
|
||||
for (int d = 0; d < 20; d++)
|
||||
for (int d = 0; d < 14 + veriumDoomStacks; d++)
|
||||
{
|
||||
Particle sparks = new LineParticle(npc.Center, new Vector2(Main.rand.NextFloat(-9f, 9f), Main.rand.NextFloat(-9f, 9f)), false, 45, 0.9f, Main.rand.NextBool() ? Color.Cyan : Color.SkyBlue);
|
||||
GeneralParticleHandler.SpawnParticle(sparks);
|
||||
}
|
||||
Particle boop = new CustomPulse(npc.Center, Vector2.Zero, new Color(206, 95, 212), "CalamityMod/Particles/Sparkle2", Vector2.One, Main.rand.NextFloat(-5f, 5f), 0.75f + (float)(0.04 * veriumDoomStacks), 1.5f + (float)(0.08 * veriumDoomStacks), 40);
|
||||
GeneralParticleHandler.SpawnParticle(boop);
|
||||
//Particle boop = new CustomPulse(npc.Center, Vector2.Zero, new Color(233, 95, 212), "CalamityMod/Particles/Sparkle2", Vector2.One, Main.rand.NextFloat(-5f, 5f), 0.8f + (float)(0.04 * veriumDoomStacks), 1.6f + (float)(0.08 * veriumDoomStacks), 40);
|
||||
//GeneralParticleHandler.SpawnParticle(boop);
|
||||
|
||||
SoundEngine.PlaySound(new("CalamityMod/Sounds/NPCHit/CryogenHit", 3) { Volume = 0.6f}, npc.Center);
|
||||
Projectile.NewProjectile(npc.GetSource_FromThis(), npc.Center, Vector2.Zero, ModContent.ProjectileType<DirectStrike>(), 100 + (15 * veriumDoomStacks), 0, Main.myPlayer, 200f);
|
||||
|
||||
@@ -42,15 +42,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
Projectile.rotation = Projectile.velocity.ToRotation() - MathHelper.PiOver2;
|
||||
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.Center, Main.rand.NextBool(4) ? 226 : 303, new Vector2(Projectile.velocity.X * Main.rand.NextFloat(-0.1f, 0.1f), Projectile.velocity.Y * Main.rand.NextFloat(-0.1f, 0.1f)));
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.Center, Main.rand.NextBool(4) ? 223 : 252, new Vector2(Projectile.velocity.X * Main.rand.NextFloat(-0.1f, 0.1f), Projectile.velocity.Y * Main.rand.NextFloat(-0.1f, 0.1f)));
|
||||
dust.noGravity = true;
|
||||
if (dust.type == 226)
|
||||
dust.scale = Main.rand.NextFloat(0.45f, 0.7f);
|
||||
if (dust.type == 223)
|
||||
dust.scale = Main.rand.NextFloat(0.4f, 0.66f);
|
||||
else
|
||||
{
|
||||
dust.color = Color.Cyan;
|
||||
dust.scale = Main.rand.NextFloat(0.6f, 0.85f);
|
||||
}
|
||||
dust.scale = Main.rand.NextFloat(0.65f, 0.9f);
|
||||
}
|
||||
// This projectile is always fullbright.
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
|
||||
Reference in new issue
Block a user