Misc Changes
- Volcanic Sand places Volcanic Sand properly now - Evolution no longer spams infinite shards during silva revive - Sandgun buff (22 -> 30 damage, it was too weak for the difficulty of dealing with it. Still retains the fire rate nerf) - Astral Sand ammo +5 damage, splits 50% -> 100% damage - Fuel Cell Bundle 25 -> 22 damage - 45% -> 60% damage on Plaguebringer armor (making it so Plaguebringer does not need to run an extra Papyrus Scarab to be able to even compete with spooky) - Adjusted various hive pack effects - Rampart & Deific star-bees no longer gain 1 pierce and 20% less damage, but instead spawns 50% more star-bees (6 -> 9 & 12 -> 18) - Plaguebringer Armor 50% -> 100% chance to add an extra bee - Plaguenade 25% -> 50% more bees (much of the damage comes from the explosion itself, which is unchanged by pack) - Hive missile 50% -> 100% chance to add an extra bee (same as above reason) - Hive Nuke 15% -> 25% more bees (same as above) - Fuel Cell Bundle +15% -> +25% fire rate (cancels out with the dmg nerf for neutral power with hive pack, but nerf to non-hive pack fuel cell) - Alchemical Decanter no longer has bee cooldown reduced, but instead 10 -> 15 damage on bees (1 frame cooldown reduction made no difference on almost any weapons)
This commit is contained in:
1 parent
042c10d3cb
commit
d6ef9daade
14 files changed
+18
-20
No files matched your search
@@ -848,7 +848,7 @@ namespace CalamityMod.CalPlayer
|
||||
float cooldownDurationScalar = MathHelper.Clamp((actualProjDamage - dodgeDamageGateValue) / (float)maxCooldownDurationDamageValue, 0f, 1f);
|
||||
|
||||
// The Evolution
|
||||
if (evolution)
|
||||
if (evolution && !Player.HasBuff<SilvaRevival>())
|
||||
{
|
||||
if (Player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
@@ -2408,10 +2408,10 @@ namespace CalamityMod.CalPlayer
|
||||
if (dAmulet)
|
||||
{
|
||||
var source = Player.GetSource_Accessory_OnHurt(FindAccessory<DeificAmulet>(), hurtInfo.DamageSource);
|
||||
int projAmount = (rampartOfDeities ? 12 : 6);
|
||||
var projAmount = (rampartOfDeities ? 12 : 6) * (Player.strongBees ? 1.5f : 1f);
|
||||
for (int n = 0; n < projAmount; n++)
|
||||
{
|
||||
int deificProjDamage = (int)(Player.GetBestClassDamage().ApplyTo(DeificAmulet.StarDamage) * (Player.strongBees ? 0.85f : 1f));
|
||||
int deificProjDamage = (int)(Player.GetBestClassDamage().ApplyTo(DeificAmulet.StarDamage));
|
||||
|
||||
Projectile onHitProj = Main.projectile[Projectile.NewProjectile(source, Player.Center, new Vector2(0,-15 * (rampartOfDeities && n % 2 == 0 ? 0.75f: 1.25f)).RotatedBy(MathHelper.TwoPi/projAmount*n), ModContent.ProjectileType<AstralStar>(), deificProjDamage, 4f, Player.whoAmI)];
|
||||
if (onHitProj.whoAmI.WithinBounds(Main.maxProjectiles))
|
||||
@@ -2422,8 +2422,6 @@ namespace CalamityMod.CalPlayer
|
||||
onHitProj.tileCollide = false;
|
||||
onHitProj.extraUpdates = 1;
|
||||
onHitProj.Calamity().conditionalHomingRange = 600f;
|
||||
if (Player.strongBees)
|
||||
onHitProj.penetrate += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -695,14 +695,14 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (alchFlask && AlchFlaskCooldown == 0 && proj.type != ProjectileType<BasicPlagueBee>())
|
||||
{
|
||||
int seekerDamage = (int)Player.GetBestClassDamage().ApplyTo(10);
|
||||
int seekerDamage = (int)Player.GetBestClassDamage().ApplyTo(Player.strongBees ? 15 : 10);
|
||||
Vector2 seekerVelocity = new Vector2(5, 5).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 1.2f);
|
||||
|
||||
Projectile bee = Projectile.NewProjectileDirect(source, position, seekerVelocity, ProjectileType<BasicPlagueBee>(), seekerDamage, 0f, Player.whoAmI, -20, 30, 2);
|
||||
bee.ArmorPenetration = 20;
|
||||
bee.penetrate = 2;
|
||||
bee.extraUpdates = 1;
|
||||
AlchFlaskCooldown = Player.strongBees ? 6 : 7;
|
||||
AlchFlaskCooldown = 7;
|
||||
}
|
||||
|
||||
bool lifeAndShieldCondition = Player.statLife >= Player.statLifeMax2 && (!HasAnyEnergyShield || TotalEnergyShielding >= TotalMaxShieldDurability);
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer
|
||||
public new string LocalizationCategory => "Items.Armor.Hardmode";
|
||||
|
||||
public static int MinionSlotBoost = 1;
|
||||
public static float SummonDamageBoost = 0.15f;
|
||||
public static float SummonDamageBoost = 0.20f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinionSlotBoost, SummonDamageBoost.ToPercent());
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer
|
||||
public new string LocalizationCategory => "Items.Armor.Hardmode";
|
||||
|
||||
public static int MinionSlotBoost = 1;
|
||||
public static float SummonDamageBoost = 0.15f;
|
||||
public static float SummonDamageBoost = 0.20f;
|
||||
public static float MoveSpeedBoost = 0.15f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinionSlotBoost, SummonDamageBoost.ToPercent(), MoveSpeedBoost.ToPercent());
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Armor.Plaguebringer
|
||||
public new string LocalizationCategory => "Items.Armor.Hardmode";
|
||||
|
||||
public static int MinionSlotBoost = 1;
|
||||
public static float SummonDamageBoost = 0.15f;
|
||||
public static float SummonDamageBoost = 0.20f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinionSlotBoost, SummonDamageBoost.ToPercent());
|
||||
|
||||
// Set Bonus
|
||||
|
||||
@@ -211,7 +211,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.RedRyder, Do(DamageExact(24)) },
|
||||
{ ItemID.RedsYoyo, Do(DamageExact(48)) }, // Red's Throw and Valkyrie Yoyo have the same stats
|
||||
{ ItemID.RocketLauncher, Do(DamageExact(60), ShootSpeedExact(9)) },
|
||||
{ ItemID.Sandgun, Do(DamageExact(22), UseExact(20)) },
|
||||
{ ItemID.Sandgun, Do(UseExact(20)) },
|
||||
{ ItemID.SapphireStaff, Do(DamageExact(25)) },
|
||||
{ ItemID.ScourgeoftheCorruptor, Do(DamageExact(63)) },
|
||||
{ ItemID.Seedler, Do(UseMeleeSpeed, DamageExact(45), ShootSpeedExact(16)) },
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Placeables.Astral
|
||||
Item.ResearchUnlockCount = 100;
|
||||
ItemTrader.ChlorophyteExtractinator.AddOption_OneWay(Type, 1, ItemID.SandBlock, 1);
|
||||
|
||||
ItemID.Sets.SandgunAmmoProjectileData[Type] = new(ModContent.ProjectileType<AstralSandBallGun>(), 0);
|
||||
ItemID.Sets.SandgunAmmoProjectileData[Type] = new(ModContent.ProjectileType<AstralSandBallGun>(), 5);
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
Item.width = 32;
|
||||
Item.height = 32;
|
||||
Item.mana = 10;
|
||||
Item.damage = 25;
|
||||
Item.damage = 22;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.useAnimation = Item.useTime = 36;
|
||||
Item.noMelee = true;
|
||||
|
||||
@@ -156,7 +156,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
dust2.color = Main.rand.NextBool(3) ? EffectsColor : StaticEffectsColor;
|
||||
}
|
||||
var projAmount = isClusterRocket ? 3f : 2f;
|
||||
if (Main.player[Projectile.owner].strongBees && Main.rand.NextBool())
|
||||
if (Main.player[Projectile.owner].strongBees)
|
||||
projAmount++;
|
||||
for (int k = 0; k < projAmount; k++)
|
||||
{
|
||||
|
||||
@@ -241,7 +241,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
var projAmount = isClusterRocket ? 30f : 20f;
|
||||
if (Main.player[Projectile.owner].strongBees)
|
||||
projAmount *= 1.15f;
|
||||
projAmount *= 1.25f;
|
||||
for (int k = 0; k < projAmount; k++)
|
||||
{
|
||||
int BEES = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, new Vector2(10, 10).RotatedByRandom(100) * Main.rand.NextFloat(0.2f, 0.8f), ModContent.ProjectileType<BasicPlagueBee>(), (int)(Projectile.damage * (isClusterRocket ? 0.03f : 0.04f)), 0f, Projectile.owner, 0f, 0f, isClusterRocket ? 2f : 1f);
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Player player = Main.player[Projectile.owner];
|
||||
int projAmt = Projectile.Calamity().stealthStrike ? 28 : 20;
|
||||
if (player.strongBees)
|
||||
projAmt += Projectile.Calamity().stealthStrike ? 7 : 5;
|
||||
projAmt = (int)(projAmt * 1.5f);
|
||||
for (int projIndex = 0; projIndex < projAmt; projIndex++)
|
||||
{
|
||||
float speedX = (float)Main.rand.Next(-35, 36) * 0.02f;
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
else
|
||||
Projectile.velocity = Projectile.SafeDirectionTo(destination) * Projectile.Distance(destination) / 36f;
|
||||
|
||||
int timeNeeded = (int)(MathHelper.Lerp(60f, 18f, MathHelper.Clamp(Projectile.localAI[1] / 320f, 0f, 1f)) * (player.strongBees ? 0.85f : 1f));
|
||||
int timeNeeded = (int)(MathHelper.Lerp(60f, 18f, MathHelper.Clamp(Projectile.localAI[1] / 320f, 0f, 1f)) * (player.strongBees ? 0.75f : 1f));
|
||||
if (Projectile.ai[0] >= timeNeeded && Main.myPlayer == Projectile.owner)
|
||||
{
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center,
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
if (Projectile.ai[0] % 12 == 11)
|
||||
{
|
||||
int beeCount = Main.rand.Next(1, 3);
|
||||
if (Owner.strongBees && Main.rand.NextBool(3))
|
||||
if (Owner.strongBees)
|
||||
++beeCount;
|
||||
|
||||
for (int i = 0; i < beeCount; i++)
|
||||
|
||||
@@ -120,7 +120,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
if (Projectile.ai[2] != 1)
|
||||
{
|
||||
for (var i = 0; i < 4; i++)
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity.RotatedByRandom(0.75f) * Main.rand.NextFloat(0.5f,0.75f), ModContent.ProjectileType<AstralSandBallGun>(), (int)(Projectile.damage * 0.5f), Projectile.knockBack, Projectile.owner, ai2: 1);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Projectile.velocity.RotatedByRandom(0.75f) * Main.rand.NextFloat(0.5f,0.75f), ModContent.ProjectileType<AstralSandBallGun>(), (int)(Projectile.damage), Projectile.knockBack, Projectile.owner, ai2: 1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -242,7 +242,7 @@ namespace CalamityMod.Projectiles.Typeless
|
||||
public class VolcanicSandBallGun : SandBall
|
||||
{
|
||||
public override string Texture => "CalamityMod/Projectiles/Typeless/SandBallVolcanic";
|
||||
public override int TileType => ModContent.TileType<Tiles.SunkenSea.EutrophicSand>();
|
||||
public override int TileType => ModContent.TileType<Tiles.SunkenSea.VolcanicSand>();
|
||||
public override int ItemType => ModContent.ItemType<Items.Placeables.SunkenSea.VolcanicSand>();
|
||||
public override int DustType => -1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user