Rebalanced Biome Blades for real this time

Also GiveIFrames no longer takes away iframes
This commit is contained in:
Altixal committed 2026-08-03 13:02:36 +07:00
1 parent e599706545
commit e955acbb99
5 files changed
+21 -17

No files matched your search

+4 -4
View File
@@ -34,16 +34,16 @@ namespace CalamityMod.Items.Weapons.Melee
#region stats
public static int BaseDamage = 38;
public static int DefaultAttunement_BaseDamage = 38;
public static int DefaultAttunement_BaseDamage = 34;
public static int EvilAttunement_BaseDamage = 50;
public static int EvilAttunement_BaseDamage = 45;
public static int EvilAttunement_Lifesteal = 2;
public static int EvilAttunement_BounceIFrames = 10;
public static int ColdAttunement_BaseDamage = 40;
public static int ColdAttunement_BaseDamage = 38;
public static float ColdAttunement_ThirdSwingBoost = 1.15f;
public static int HotAttunement_BaseDamage = 42;
public static int HotAttunement_BaseDamage = 38;
public static int HotAttunement_ShredPlayerIFrames = 6;
public static int HotAttunement_LocalIFrames = 30; //Be warned its got one extra update so all the iframes should be divided in 2
public static float HotAttunement_ShredDecayRate = 1f; //How much charge is lost per frame.
+4 -4
View File
@@ -32,9 +32,9 @@ namespace CalamityMod.Items.Weapons.Melee
public bool OnHitProc = false;
#region stats
public static int BaseDamage = 200;
public static int BaseDamage = 150;
public static int WhirlwindAttunement_BaseDamage = 120;
public static int WhirlwindAttunement_BaseDamage = 150;
public static int WhirlwindAttunement_LocalIFrames = 20; //Remember its got one extra update
public static float WhirlwindAttunement_EnergyDamageMult = 0.5f;
public static float WhirlwindAttunement_BaseSwingDamageMult = 0.4f;
@@ -45,7 +45,7 @@ namespace CalamityMod.Items.Weapons.Melee
public static int WhirlwindAttunement_PassiveBaseDamage = 80;
public static int SuperPogoAttunement_BaseDamage = 190;
public static int SuperPogoAttunement_BaseDamage = 200;
public static int SuperPogoAttunement_PlayerShredIFrames = 8;
public static int SuperPogoAttunement_LocalIFrames = 24; //Be warned its got one extra update so all the iframes should be divided in 2
public static float SuperPogoAttunement_ShotDamageMult = 2.5f;
@@ -57,7 +57,7 @@ namespace CalamityMod.Items.Weapons.Melee
public static int SuperPogoAttunement_PassiveLifeSteal = 7;
public static int ShockwaveAttunement_BaseDamage = 550;
public static int ShockwaveAttunement_BaseDamage = 600;
public static float ShockwaveAttunement_BeamDamageMult = 0.25f;
public static int ShockwaveAttunement_DashHitIFrames = 20;
public static float ShockwaveAttunement_FullChargeMult = 3.6f;
+4 -4
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.Items.Weapons.Melee
#region stats
public static int BaseDamage = 115;
public static int DefaultAttunement_BaseDamage = 72;
public static int DefaultAttunement_BaseDamage = 90;
public static int DefaultAttunement_SigilTime = 900;
public static int DefaultAttunement_BeamTime = 90;
public static float DefaultAttunement_LungeDamageMult = 2f;
@@ -48,7 +48,7 @@ namespace CalamityMod.Items.Weapons.Melee
public static float EvilAttunement_SlashDamageBoost = 3f;
public static int EvilAttunement_SlashIFrames = 60;
public static int ColdAttunement_BaseDamage = 115;
public static int ColdAttunement_BaseDamage = 105;
public static float ColdAttunement_ThirdSwingBoost = 1.25f;
public static float ColdAttunement_MistDamageReduction = 0.11f;
@@ -58,13 +58,13 @@ namespace CalamityMod.Items.Weapons.Melee
public static int HotAttunement_LocalIFrames = 24; //Be warned its got one extra update so all the iframes should be divided in 2
public static float HotAttunement_ShredDecayRate = 0.65f; //How much charge is lost per frame.
public static int TropicalAttunement_BaseDamage = 120;
public static int TropicalAttunement_BaseDamage = 115;
public static float TropicalAttunement_ChainDamageReduction = 0.6f;
public static float TropicalAttunement_VineDamageReduction = 0.3f;
public static float TropicalAttunement_SweetSpotDamageMultiplier = 1.5f; //It also crits, so be mindful of that
public static int TropicalAttunement_LocalIFrames = 60; //Be warned its got 2 extra updates so all the iframes should be divided in 3
public static int HolyAttunement_BaseDamage = 96;
public static int HolyAttunement_BaseDamage = 100;
public static float HolyAttunement_BaseSwingDamageMult = 0.5f;
public static float HolyAttunement_FullSwingDamageMult = 1f;
public static float HolyAttunement_ThrowDamageBoost = 3f;
@@ -110,7 +110,7 @@ namespace CalamityMod.Projectiles.Melee
Charge++;
OverCharge--;
Projectile.timeLeft = 2;
if ((Charge / MaxCharge >= 0.25f && CurrentIndicator == 0f) || (Charge / MaxCharge >= 0.5f && CurrentIndicator == 1f) || (Charge / MaxCharge >= 0.75f && CurrentIndicator == 2f) && Owner.whoAmI == Main.myPlayer)
if ((Charge / MaxCharge >= 0.2f && CurrentIndicator == 0f) || (Charge / MaxCharge >= 0.4f && CurrentIndicator == 1f) || (Charge / MaxCharge >= 0.6f && CurrentIndicator == 2f) || (Charge / MaxCharge >= 0.8f && CurrentIndicator == 3f) && Owner.whoAmI == Main.myPlayer)
{
for (int s = 0; s < 2; s++)
{
@@ -127,7 +127,7 @@ namespace CalamityMod.Projectiles.Melee
if (Charge >= MaxCharge)
{
Charge = MaxCharge;
if (Owner.whoAmI == Main.myPlayer && CurrentIndicator < 4f)
if (Owner.whoAmI == Main.myPlayer && CurrentIndicator < 5f)
{
for (int s = 0; s < 5; s++)
{
+7 -3
View File
@@ -545,8 +545,11 @@ namespace CalamityMod
player.immune = true;
player.immuneNoBlink = !blink;
if (cooldownSlot < 0)
player.immuneTime = frames;
else
{
if (player.immuneTime < frames)
player.immuneTime = frames;
}
else if (player.hurtCooldowns[cooldownSlot] < frames)
player.hurtCooldowns[cooldownSlot] = frames;
return true;
@@ -577,7 +580,8 @@ namespace CalamityMod
// Apply iframes thoroughly. Player.AddImmuneTime is not used because iframes should not exceed the intended amount.
player.immune = true;
player.immuneNoBlink = !blink;
player.immuneTime = frames;
if (player.immuneTime < frames)
player.immuneTime = frames;
for (int i = 0; i < player.hurtCooldowns.Length; ++i)
if (player.hurtCooldowns[i] < frames)
player.hurtCooldowns[i] = frames;