diff --git a/Localization/en-US/Mods.CalamityMod.Misc.hjson b/Localization/en-US/Mods.CalamityMod.Misc.hjson index ea779ddde8..3983dd1d0d 100644 --- a/Localization/en-US/Mods.CalamityMod.Misc.hjson +++ b/Localization/en-US/Mods.CalamityMod.Misc.hjson @@ -25,7 +25,7 @@ MusicModReminder: "[i:MusicBoxMartians] [c/71DFF5:Remember to also install the C GimmeSwagPlushieCampaign: ''' - [i:GreenPresent] [c/3BE022:LIMITED TIME! Sign up for the Calamitas Plushie Campaign!] [c/3989FF:calamitymod.com/plush] [i:GreenPresent] + [i:GreenPresent] [c/3BE022:NOW AVAILABLE! Supreme Calamitas Plushie!] [c/3989FF:calamitymod.com/plush] [i:GreenPresent] ''' // Recipe Conditions Tier1ArsenalRecipeCondition: View an unencrypted schematic from the lab near the Sunken Sea diff --git a/Projectiles/Magic/RancorMagicCircle.cs b/Projectiles/Magic/RancorMagicCircle.cs index e95a3b2d7e..9a69884773 100644 --- a/Projectiles/Magic/RancorMagicCircle.cs +++ b/Projectiles/Magic/RancorMagicCircle.cs @@ -1,4 +1,5 @@ -using System; +using CalamityMod.Particles; +using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using ReLogic.Utilities; @@ -121,7 +122,7 @@ namespace CalamityMod.Projectiles.Magic public void DoPrettyDustEffects() { - int dustSpawnChance = (int)MathHelper.SmoothStep(16f, 4f, ChargeupCompletion); + int dustSpawnChance = (int)MathHelper.SmoothStep(20f, 2f, ChargeupCompletion); for (int i = 0; i < 2; i++) { if (!Main.rand.NextBool(dustSpawnChance)) @@ -140,10 +141,26 @@ namespace CalamityMod.Projectiles.Magic magic.noLight = true; magic.noGravity = true; } + + // Light particle effects, which get bigger and turn from white to red as the beam charges. + // It then stays at max size and red color as long as the beam is firing. + if (Time > 30 && Time % 5 == 0) + { + Vector2 particleVel = Main.rand.NextVector2CircularEdge(1f, 1f); + particleVel.SafeNormalize(Vector2.Zero); + particleVel *= Main.rand.NextFloat(5f, 10f); + + Particle chargeParticle = new GenericBloom(Projectile.Center, particleVel, Color.Lerp(Color.White, Color.Red, ChargeupCompletion), MathHelper.Lerp(0.075f, 0.35f, ChargeupCompletion), 30); + GeneralParticleHandler.SpawnParticle(chargeParticle); + } } public void HandleChargeEffects() { + // Play charge-up sound. + if (Time == 30) + SoundEngine.PlaySound(new("CalamityMod/Sounds/Custom/MoonLordLaserCharge"), Projectile.Center, _ => new ProjectileAudioTracker(Projectile).IsActiveAndInGame()); + // Create dust that fires parallel to the direction of the circle. if (Main.rand.NextBool(3)) { diff --git a/UI/DraedonSummoning/DraedonContactPanel.png b/UI/DraedonSummoning/DraedonContactPanel.png index 35f722036b..7c96b04b5f 100644 Binary files a/UI/DraedonSummoning/DraedonContactPanel.png and b/UI/DraedonSummoning/DraedonContactPanel.png differ diff --git a/build.txt b/build.txt index f696702666..dc2ea7ec07 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = Fabsol and the Dev Team -version = 2.0.3.009 +version = 2.0.3.011 displayName = Calamity Mod homepage = https://discord.gg/calamity buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, .git\*, .github\*, LICENSE, README.md, .editorconfig, .gitignore, .gitattributes, Effects\Compiler\*