rotten brain line nerf

shade was doing insane contribution for amalgamated brain so a heavy nerf was in order. also a fix for chaos stone if the player has 0 max mana (in case of another mod doing that)
This commit is contained in:
doze-zoze committed 2025-12-16 00:20:44 -06:00
1 parent f0dfdfa5f4
commit 1c7cb3ada0
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ namespace CalamityMod.Projectiles.Typeless
// Number of clouds and their damage scale based on what accessory in the upgrade path triggered it (damage is set when the spawner is created)
if (Main.myPlayer == Projectile.owner)
{
int cloudAmt = EffectStrength == 3f ? 11 : EffectStrength == 2f ? 7 : 5;
int cloudAmt = EffectStrength == 3f ? 5 : EffectStrength == 2f ? 3 : 2;
for (int c = -(cloudAmt - 1) / 2; c <= (cloudAmt - 1) / 2; c++)
{
Vector2 cloudVelocity = c == 0 ? Vector2.Zero : Vector2.UnitX.RotatedByRandom(MathHelper.Pi / 72f) * Main.rand.NextFloat(3f, 9.5f);
@@ -238,6 +238,8 @@ namespace CalamityMod.UI.ResourceSets
// This works by dynamically creating a texture that it then draws over the life bar.
int width = 12 * stars;
if (width < 1)
width = 1;
GraphicsDevice _graphicsDevice = Main.graphics.GraphicsDevice;
var barOverlay = new Texture2D(_graphicsDevice, width, 12);
Color[] barTextureData = new Color[12*12];