Misc Balance Changes

- Mana Polarizer & Hydro lifesteal no longer requires holding a mage weapon
- Obliterator counterweights now cause an extra dimensional drive. Dmg nerf to compensate 475 -> 400
- Omega Blue set 69 -> 50 defense
- Glaive dmg 22 -> 19; ut 15 -> 22 shred DoT 60 -> 100, 0.6 -> 0.4 ssdm
- Blazing Star 10% -> 20% falloff, tile ricochets now cause falloff too
- Flamarang 2 -> 1 extra update, 37 -> 40 damage
- Undid the *dev only* amalgam debuff mult increase (stays +200%, same as public)
- Bloom Stone is now a flat +30 MPH buff
- Fixed Vodka doing literally nothing lol
- Nebulous Core spawns more consistently at a rate of 8 stars per second. Boosted its homing speed.
This commit is contained in:
Doze-Zoze committed 2026-05-19 11:20:38 -05:00
1 parent 75b0f72ff1
commit 7bca87e6c6
18 files changed
+84 -44

No files matched your search

+1 -1
View File
@@ -2392,7 +2392,7 @@ namespace CalamityMod.CalPlayer
if (bloomStoneTotalHeal > 0)
{
float healRateDiv = (Player.statLife >= Player.statLifeMax ? 5 : // 5 times as slow if at max hp already (overheal prevention)
float healRateDiv = (Player.statLife >= Player.statLifeMax ? 2 : // 2 times as slow if at max hp already (overheal prevention)
bloomStoneBuffedHealRateTimer > 0 ? Utils.Remap(bloomStoneBuffedHealRateTimer, 90, 0, 0.5f, 1f, true) // 2 times faster if pollen buffed, scales back down to regular speed as the buff fades
: 1); // Regular speed
bloomStoneHealRate = 1 / healRateDiv;
+1 -1
View File
@@ -1289,7 +1289,7 @@ namespace CalamityMod.CalPlayer
//Nanotech has the same heal as Electrician's glove
Player.SpawnLifeStealProjectile(target, proj, ProjectileID.VampireHeal, electricianGlove ? 10 : 5, electricianGlove ? 2f : 3f);
if (proj.CountsAsClass<MagicDamageClass>() && Player.HeldItem.CountsAsClass<MagicDamageClass>())
if (proj.CountsAsClass<MagicDamageClass>())
{
if (manaOverloader)
{
+5 -5
View File
@@ -39,11 +39,11 @@ namespace CalamityMod.Items.Accessories
modPlayer.rBrain = true; // Handles shaderain cloud spawning on hit
modPlayer.amalgam = true;
player.brainOfConfusionItem = Item;
modPlayer.HeatDebuffMultiplier += 3f;
modPlayer.ColdDebuffMultiplier += 3f;
modPlayer.SicknessDebuffMultiplier += 3f;
modPlayer.WaterDebuffMultiplier += 3f;
modPlayer.ElectricDebuffMultiplier += 3f;
modPlayer.HeatDebuffMultiplier += 2f;
modPlayer.ColdDebuffMultiplier += 2f;
modPlayer.SicknessDebuffMultiplier += 2f;
modPlayer.WaterDebuffMultiplier += 2f;
modPlayer.ElectricDebuffMultiplier += 2f;
}
public override void AddRecipes()
+1 -1
View File
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue
Item.width = 18;
Item.height = 18;
Item.value = CalamityGlobalItem.RarityPureGreenBuyPrice;
Item.defense = 28;
Item.defense = 20;
Item.rare = ModContent.RarityType<PureGreen>();
}
+1 -1
View File
@@ -51,7 +51,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue
Item.width = 18;
Item.height = 18;
Item.value = CalamityGlobalItem.RarityPureGreenBuyPrice;
Item.defense = 19;
Item.defense = 15;
Item.rare = ModContent.RarityType<PureGreen>();
}
+1 -1
View File
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.OmegaBlue
Item.width = 18;
Item.height = 18;
Item.value = CalamityGlobalItem.RarityPureGreenBuyPrice;
Item.defense = 22;
Item.defense = 15;
Item.rare = ModContent.RarityType<PureGreen>();
}
+1 -1
View File
@@ -112,7 +112,7 @@ namespace CalamityMod.Items
{ ItemID.FairyQueenMagicItem, Do(DamageExact(54)) }, // Nightglow. VANILLA: 50 DMG
{ ItemID.FalconBlade, Do(UseTurn, UseExact(13)) }, // VANILLA: 20 UT
{ ItemID.FireworksLauncher, Do(DamageExact(50), UseExact(25)) }, // Celebration. VANILLA: 25 DMG, 30 UT
{ ItemID.Flamarang, Do(DamageExact(37)) }, // VANILLA: 49 DMG
{ ItemID.Flamarang, Do(DamageExact(40)) }, // VANILLA: 49 DMG
{ ItemID.Flamelash, Do(DamageExact(36)) }, // VANILLA: 32 DMG
{ ItemID.Flamethrower, Do(DamageExact(21), ShootSpeedDelta(+3f)) }, // VANILLA: 35 DMG, 7 VEL
{ ItemID.FlowerofFire, Do(DamageRatio(0.78f)) }, // VANILLA: 48 DMG. Uses ratios due to remix seed
+1 -1
View File
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Melee
Item.width = 42;
Item.height = 40;
Item.DamageType = DamageClass.MeleeNoSpeed;
Item.damage = 475;
Item.damage = 400;
Item.knockBack = 7.5f;
Item.useTime = 20;
Item.useAnimation = 20;
+4 -4
View File
@@ -13,14 +13,14 @@ namespace CalamityMod.Items.Weapons.Rogue
{
Item.width = 34;
Item.height = 32;
Item.damage = 22;
Item.damage = 19;
Item.DamageType = RogueDamageClass.Instance;
Item.crit = 6;
Item.autoReuse = true;
Item.noMelee = true;
Item.noUseGraphic = true;
Item.useTime = 15;
Item.useAnimation = 15;
Item.useTime = 22;
Item.useAnimation = 22;
Item.useStyle = ItemUseStyleID.Swing;
Item.knockBack = 3;
Item.value = Item.buyPrice(gold: 10); // Sold by Bandit
@@ -32,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Rogue
}
public override float StealthVelocityMultiplier => 1.3f;
public override float StealthDamageMultiplier => 0.6f;
public override float StealthDamageMultiplier => 0.4f;
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
var p = Projectile.NewProjectileDirect(source, position, velocity, type, damage, knockback, player.whoAmI, 0f, -1f);
@@ -350,7 +350,7 @@ BloomStone: {
Tooltip:
'''
Healing Potions are 50% more effective, but provide their healing over time
Grappling hooks retract and pull the player 50% faster, and grow a flower at hookpoints
Grappling hooks retract and pull the player 30 mph faster, and grow a flower at hookpoints
Touching a flower makes it burst into pollen which gives a temporary boost to potion healing over time
Potion healing slows drastically when at full health
'One of the ancient relics'
@@ -1135,7 +1135,7 @@ ManaPolarizer: {
Lower mana means more life regeneration, but less magic damage
These scale from -2 to +2 HP/s, and 15% to 5% damage
The provided regeneration is halved when under Mana Sickness
Magic projectiles steal enemy life while holding a magic weapon
Magic projectiles steal enemy life
'''
}
@@ -1910,7 +1910,7 @@ TheAmalgam: {
DisplayName: The Amalgam
Tooltip:
'''
All attacks inflict a variety of debuffs, 300% increased elemental debuff damage
All attacks inflict a variety of debuffs, 200% increased elemental debuff damage
Most buffs last twice as long, and persist after dying
Taking damage confuses nearby enemies and spawns a dank creeper
The dank creeper flies above you, exploding into several shaderain clouds
@@ -1380,7 +1380,11 @@ TheObliterator: {
{$Common.YoyoStatsInfinite}
[GFB]
'''
TooltipNormal: Occasionally performs a miniature [ceffect/dog:Dimensional Drive] at nearby foes
TooltipNormal:
'''
Occasionally performs a miniature [ceffect/dog:Dimensional Drive] at nearby foes
Counterweight hits instantly begin another [ceffect/dog:Dimensional Drive]
'''
TooltipGFB: just a slight bit of dust spam on this weapon im afraid
}
@@ -173,8 +173,8 @@ EditedTooltip: {
MoltenQuiver: Lights wooden arrows ablaze and all arrows inflict Hellfire
RifleScope1: Increase view range for guns (<right> to zoom out)
RifleScope2: The scope effect can be toggled with visibility
ReconScope1: 15% increased ranged damage
ReconScope2: 5% increased ranged critical strike chance
ReconScope1: 15% increased ranged damage
ReconScope2: 5% increased ranged critical strike chance
SniperScope: 12% increased ranged critical strike chance
Magiluminescence:
'''
+2 -1
View File
@@ -876,6 +876,7 @@ namespace CalamityMod.NPCs
ActiveSicknessDebuffMultiplier = SicknessDebuffMultiplier;
ActiveElectricDebuffMultiplier = ElectricDebuffMultiplier;
ActiveWaterDebuffMultiplier = WaterDebuffMultiplier;
ActiveTypelessDebuffMultiplier = TypelessDebuffMultiplier;
if (irradiated)
{
@@ -1015,7 +1016,7 @@ namespace CalamityMod.NPCs
int dmg = 0;
if (glaiveShredTimer > 0)
{
dmg += 120; // 60 DPS
dmg += 200; // 100 DPS
glaiveShredTimer--;
}
if (blazingStarShredTimer > 0)
+5 -5
View File
@@ -4621,15 +4621,15 @@ namespace CalamityMod.Projectiles
}
public override void GrapplePullSpeed(Projectile projectile, Player player, ref float speed)
{
if (player.Calamity().bloomStone)
speed += 6f;
float mult = 1f;
if (player.Calamity().reaverSpeed)
mult += ReaverHeadMobility.SetBonusHookBoost;
if (player.Calamity().tungstenArmorHookBoost)
mult += TungstenArmorSetChange.HookBoost;
if (player.Calamity().bloomStone)
mult += 0.5f;
speed *= mult;
speed *= mult;
if (player.velocity.Length() > 2f)
{
player.Calamity().hookPullVisuals = 60;
@@ -4637,13 +4637,13 @@ namespace CalamityMod.Projectiles
}
public override void GrappleRetreatSpeed(Projectile projectile, Player player, ref float speed)
{
if (player.Calamity().bloomStone)
speed += 6f;
float mult = 1f;
if (player.Calamity().reaverSpeed)
mult += ReaverHeadMobility.SetBonusHookBoost;
if (player.Calamity().tungstenArmorHookBoost)
mult += TungstenArmorSetChange.HookBoost;
if (player.Calamity().bloomStone)
mult += 0.5f;
speed *= mult;
}
#endregion
@@ -147,7 +147,7 @@ namespace CalamityMod.Projectiles
{ ProjectileID.ExplosiveBullet, Do(ExtraUpdatesDelta(+2), IDStaticIFrames(5), SingleHitImmunity) }, // Has an exception in Vanilla iframe code, uses 5 iframes
{ ProjectileID.FairyQueenRangedItemShot, Do(PiercingExact(7), ExtraUpdatesExact(1)) }, // Eventide Convert
{ ProjectileID.FlaironBubble, Do(ExtraUpdatesExact(1), TimeLeftExact(150), DefaultIDStaticIFrames) },
{ ProjectileID.Flamarang, Do(ExtraUpdatesExact(2), DefaultIDStaticIFrames) },
{ ProjectileID.Flamarang, Do(ExtraUpdatesExact(1), DefaultIDStaticIFrames) },
{ ProjectileID.FlamingJack, Do(ExtraUpdatesExact(1), DefaultIDStaticIFrames) },
{ ProjectileID.FlowerPetal, Do(MaxUpdatesExact(4), LocalIFrames(10)) }, // Orichalcum armor
{ ProjectileID.FlyingKnife, Do(ExtraUpdatesExact(1), DefaultIDStaticIFrames) },
+28 -12
View File
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Buffs.StatDebuffs;
@@ -20,12 +21,15 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
public class ObliteratorYoyo : ModProjectile
{
public override LocalizedText DisplayName => CalamityUtils.GetItemName<TheObliterator>();
private static int DashStartup => 60;
private static int DashCooldown => 15;
private static int DashStartup => 90;
private static int DashCooldown => 30;
public SlotId GFB;
public int GFBCounter = 0;
public int time = 0;
public int DashQueue = 0;
int dashTimer = 0;
int timerToStartDash = 0;
public override void SetStaticDefaults()
{
ProjectileID.Sets.YoyosLifeTimeMultiplier[Type] = -1f;
@@ -48,20 +52,30 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
Projectile.localNPCHitCooldown = 7 * Projectile.MaxUpdates;
}
public override void SendExtraAI(BinaryWriter writer)
{
writer.Write(DashQueue);
}
public override void ReceiveExtraAI(BinaryReader reader)
{
DashQueue = reader.ReadInt32();
}
public override bool PreAI()
{
if (Projectile.FinalExtraUpdate())
{
if (Projectile.localAI[1] != DashStartup)
Projectile.localAI[1]++;
if (Projectile.localAI[1] > DashStartup + DashCooldown)
Projectile.localAI[1] = 0;
timerToStartDash++;
if (timerToStartDash % DashStartup == DashStartup - 1)
DashQueue++;
}
if (Projectile.localAI[1] <= DashStartup)
if (dashTimer <= 0)
return true;
Projectile.aiStyle = -1;
Projectile.timeLeft++;
dashTimer--;
return true;
}
@@ -94,8 +108,10 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
if (Projectile.FinalExtraUpdate())
{
if (Projectile.localAI[1] == DashStartup)
if (DashQueue > 0 && dashTimer <= 0)
{
DashQueue--;
List<NPC> targets = new List<NPC>();
float laserRange = 600f;
foreach (NPC n in Main.ActiveNPCs)
@@ -139,7 +155,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
SparkParticle spark = new SparkParticle(Projectile.Center, sparkVelocity, false, sparkLifetime, sparkScale, sparkColor);
GeneralParticleHandler.SpawnParticle(spark);
}
Projectile.localAI[1]++;
dashTimer = DashCooldown;
Projectile.ResetLocalNPCHitImmunity();
}
}
@@ -158,7 +174,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
Vector2 origin = new Vector2(10f, 10f);
Main.EntitySpriteDraw(ModContent.Request<Texture2D>("CalamityMod/Projectiles/Melee/Yoyos/ObliteratorYoyoGlow").Value, Projectile.Center - Main.screenPosition, null, Color.White, Projectile.rotation, origin, 2f, SpriteEffects.None, 0);
if (Projectile.localAI[1] <= DashStartup)
if (dashTimer <= 0)
return;
var tex = ModContent.Request<Texture2D>("CalamityMod/Particles/Jaws").Value;
Main.spriteBatch.SetBlendState(BlendState.Additive);
@@ -176,7 +192,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
{
if (Projectile.localAI[1] > DashStartup)
if (dashTimer > 0)
{
modifiers.SourceDamage *= 6;
}
@@ -186,7 +202,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
if (Projectile.localAI[1] > DashStartup)
{
Projectile.localAI[1] = 0;
dashTimer = 0;
target.AddBuff(ModContent.BuffType<GodSlayerInferno>(), 180);
for (int i = 0; i < 10; i++)
{
+2 -1
View File
@@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Rogue
}
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
{
Projectile.damage = (int)(Projectile.damage * 0.9f);
Projectile.damage = (int)(Projectile.damage * 0.8f);
if (Projectile.Calamity().stealthStrike)
{
if (!hasHit)
@@ -123,6 +123,7 @@ namespace CalamityMod.Projectiles.Rogue
}
Projectile.ResetLocalNPCHitImmunity();
Ricochet();
Projectile.damage = (int)(Projectile.damage * 0.8f);
if (Projectile.penetrate > 0)
Projectile.penetrate--;
return false;
@@ -4,7 +4,11 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.ILEditing;
using CalamityMod.Items.Weapons.Melee;
using CalamityMod.Projectiles.Melee.Yoyos;
using MonoMod;
using MonoMod.Cil;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -26,9 +30,11 @@ namespace CalamityMod.Projectiles.VanillaProjectileOverrides
public override bool PreAI(Projectile projectile)
{
var player = Main.player[projectile.owner];
int id = player.HeldItem.type;
if (!runInitialization)
{
if (player.HeldItem.type == ModContent.ItemType<Pandemic>())
if (id == ModContent.ItemType<Pandemic>())
projectile.MaxUpdates++;
runInitialization = true;
}
@@ -38,8 +44,20 @@ namespace CalamityMod.Projectiles.VanillaProjectileOverrides
public override void OnHitNPC(Projectile projectile, NPC target, NPC.HitInfo hit, int damageDone)
{
var player = Main.player[projectile.owner];
if (player.HeldItem.type == ModContent.ItemType<Pandemic>())
int id = player.HeldItem.type;
if ( id == ModContent.ItemType<Pandemic>())
target.AddBuff(ModContent.BuffType<Plague>(), 300);
if (id == ModContent.ItemType<TheObliterator>())
{
foreach (var item in Main.ActiveProjectiles)
{
if (item.owner == player.whoAmI && item.ModProjectile is ObliteratorYoyo o)
{
o.DashQueue++;
item.netUpdate = true;
}
}
}
}
}
}