diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 43aae96117..4b94d2f59d 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -728,7 +728,7 @@ namespace CalamityMod.CalPlayer public int phantomicBulwarkCooldown = 0; public int phantomicHeartRegen = 0; // 0 = can spawn, 720 = regen applied, 600 = regen stops and 10 sec cd before it can spawn again public bool silvaWings = false; - public int icicleCooldown = 0; + public int wingProjectileCooldown = 0; public bool RustyMedallionDroplets = false; public bool MiniSwarmers = false; public bool noStupidNaturalARSpawns = false; @@ -2449,7 +2449,7 @@ namespace CalamityMod.CalPlayer killSpikyBalls = false; scuttlerCooldown = 0; rogueCrownCooldown = 0; - icicleCooldown = 0; + wingProjectileCooldown = 0; statisTimer = 0; hallowedRuneCooldown = 0; sulphurBubbleCooldown = 0; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index e64f6a2859..0aaa8acdd5 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -1630,8 +1630,8 @@ namespace CalamityMod.CalPlayer evolutionLifeRegenCounter--; if (hurtSoundTimer > 0) hurtSoundTimer--; - if (icicleCooldown > 0) - icicleCooldown--; + if (wingProjectileCooldown > 0) + wingProjectileCooldown--; if (statisTimer > 0 && Player.dashDelay >= 0) statisTimer = 0; if (hallowedRuneCooldown > 0) diff --git a/Items/Accessories/Wings/SoulofCryogen.cs b/Items/Accessories/Wings/SoulofCryogen.cs index 11fb4da191..eba7f6f796 100644 --- a/Items/Accessories/Wings/SoulofCryogen.cs +++ b/Items/Accessories/Wings/SoulofCryogen.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Items.Accessories.Wings CalamityPlayer modPlayer = player.Calamity(); modPlayer.cryogenSoul = true; player.noFallDmg = true; - if (modPlayer.icicleCooldown <= 0) + if (modPlayer.wingProjectileCooldown <= 0) { if (player.controlJump && player.jump == 0 && player.velocity.Y != 0f && !player.mount.Active && !player.mount.Cart) { @@ -66,7 +66,7 @@ namespace CalamityMod.Items.Accessories.Wings Main.projectile[p].DamageType = DamageClass.Generic; Main.projectile[p].frame = Main.rand.Next(5); } - modPlayer.icicleCooldown = 7; + modPlayer.wingProjectileCooldown = 7; } } } diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 175e99a6cc..a228313cb1 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -1403,7 +1403,7 @@ namespace CalamityMod.Items else if (item.type == ItemID.FestiveWings) // Drop homing christmas tree bulbs while in flight { player.noFallDmg = true; - if (modPlayer.icicleCooldown <= 0) + if (modPlayer.wingProjectileCooldown <= 0) { var source = player.GetSource_Accessory(item); if (player.controlJump && player.jump == 0 && player.velocity.Y != 0f && !player.mount.Active && !player.mount.Cart) @@ -1414,7 +1414,7 @@ namespace CalamityMod.Items { Main.projectile[p].DamageType = DamageClass.Generic; Main.projectile[p].Calamity().lineColor = 1; - modPlayer.icicleCooldown = 15; + modPlayer.wingProjectileCooldown = 15; } } } @@ -1422,7 +1422,7 @@ namespace CalamityMod.Items else if (item.type == ItemID.TatteredFairyWings) // Leave a trail of damaging fairy dust while in flight { player.noFallDmg = true; - if (modPlayer.icicleCooldown <= 0) + if (modPlayer.wingProjectileCooldown <= 0) { var source = player.GetSource_Accessory(item); if (player.controlJump && player.jump == 0 && player.velocity.Y != 0f && !player.mount.Active && !player.mount.Cart) @@ -1432,7 +1432,7 @@ namespace CalamityMod.Items int p = Projectile.NewProjectile(source, player.Center, fairyDustVel, ModContent.ProjectileType(), fairyDustDamage, 0f, player.whoAmI); if (p.WithinBounds(Main.maxProjectiles)) - modPlayer.icicleCooldown = 10; + modPlayer.wingProjectileCooldown = 10; } } }