diff --git a/Items/Accessories/FrozenCube.cs b/Items/Accessories/FrozenCube.cs index 486aaabec2..1f38366c6a 100644 --- a/Items/Accessories/FrozenCube.cs +++ b/Items/Accessories/FrozenCube.cs @@ -13,8 +13,8 @@ namespace CalamityMod.Items.Accessories { public class FrozenCube : ModItem, ILocalizedModType { - public static int mistBaseDamage = 2; - public static int slamBaseDamage = 38; + public static int mistBaseDamage = 1; + public static int slamBaseDamage = 20; public static int baseAttackSpeed = 90; public static int baseAttackCooldown = 180; public static int debuff = ModContent.BuffType(); diff --git a/Projectiles/Typeless/Elumphant.cs b/Projectiles/Typeless/Elumphant.cs index 06f3ea2de2..3c0639b280 100644 --- a/Projectiles/Typeless/Elumphant.cs +++ b/Projectiles/Typeless/Elumphant.cs @@ -126,7 +126,7 @@ namespace CalamityMod.Projectiles.Typeless { maxTargetingDistance = (float)(500 * GetPower(0.25f)); attackTimeAdjusted = (int)(FrozenCube.baseAttackSpeed / (GetPower(0.5f))); - damageScaling = (float)GetPower(0.014f, 21 * (1 + frozenCubePower)); + damageScaling = (float)GetPower(0.015f, 22 * (1 + frozenCubePower)); cooldownTime = (int)(FrozenCube.baseAttackCooldown / GetPower(0.5f)); } public void SetElumphantPower() @@ -137,7 +137,7 @@ namespace CalamityMod.Projectiles.Typeless Owner.statDefense -= usedDefense; frozenCubePower = usedDefense * 0.05f; // 1 point of defense = 5% effectiveness - float power = (float)(GetPower(0.02f, 14f * (1 + frozenCubePower)) - 1); + float power = (float)(GetPower(0.0185f, 13f * (1 + frozenCubePower)) - 1); Owner.Calamity().frozenCubeDebuffBoost = power; Owner.Calamity().frozenCubeElumphantBoost = damageScaling - 1; Owner.Calamity().ColdDebuffMultiplier += power; // Boost cold debuff damage @@ -592,8 +592,8 @@ namespace CalamityMod.Projectiles.Typeless if (!Owner.Calamity().frozenCube) { - if (sound.IsPlaying) - sound?.Stop(); + if (SoundEngine.TryGetActiveSound(soundSlot, out var sound2) && sound2.IsPlaying) + sound2?.Stop(); Projectile.Kill(); return; }