1 - God Slayer dash adjustments.

2 - Reduced holy arrow star damage from 70% to 50%.
3 - Tarragon Horned Helm grants 5% minion damage, reduced set bonus minion damage from 55% to 50%.
4 - Adjusted SCal's bullet hells.
This commit is contained in:
Andrew Marheine committed 2021-06-08 22:43:39 -05:00
1 parent a0190f62d2
commit 43f8eda01b
11 files changed
+337 -100

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ namespace CalamityMod.Buffs.Cooldowns
public override void SetDefaults()
{
DisplayName.SetDefault("God Slayer Cooldown");
Description.SetDefault("Godslayer dash is recharging");
Description.SetDefault("God Slayer dash is recharging");
Main.debuff[Type] = true;
Main.pvpBuff[Type] = true;
Main.buffNoSave[Type] = true;
+294 -71
View File
@@ -632,6 +632,7 @@ namespace CalamityMod.CalPlayer
public bool godSlayerRanged = false;
public bool godSlayerThrowing = false;
public bool godSlayerCooldown = false;
public bool godSlayerDashHotKeyPressed = false;
public bool ataxiaBolt = false;
public bool ataxiaFire = false;
public bool ataxiaVolley = false;
@@ -2265,6 +2266,7 @@ namespace CalamityMod.CalPlayer
godSlayerDamage = false;
godSlayerRanged = false;
godSlayerThrowing = false;
godSlayerDashHotKeyPressed = false;
auricBoost = false;
silvaSet = false;
silvaMage = false;
@@ -3048,6 +3050,10 @@ namespace CalamityMod.CalPlayer
}
}
// Trigger for pressing the God Slayer dash key
if (CalamityMod.GodSlayerDashHotKey.JustPressed)
godSlayerDashHotKeyPressed = true;
// Trigger for pressing the Rage hotkey.
if (CalamityMod.RageHotKey.JustPressed)
{
@@ -3909,7 +3915,12 @@ namespace CalamityMod.CalPlayer
}
// Neither scarf can be used if either is on cooldown
bool playerDashing = player.pulley || player.grappling[0] == -1 && !player.tongued;
bool playerDashing = player.pulley || (player.grappling[0] == -1 && !player.tongued);
if (playerDashing && dashMod == 9 && player.dashDelay < 0)
{
GodSlayerDodge();
return true;
}
if (playerDashing && dashMod == 1 && player.dashDelay < 0 && dodgeScarf && !scarfCooldown && !eScarfCooldown)
{
OnDodge();
@@ -3970,6 +3981,34 @@ namespace CalamityMod.CalPlayer
NetMessage.SendData(MessageID.Dodge, -1, -1, null, player.whoAmI, 1f, 0f, 0f, 0, 0, 0);
}
private void GodSlayerDodge()
{
player.immune = true;
player.immuneTime = player.longInvince ? 100 : 60;
for (int k = 0; k < player.hurtCooldowns.Length; k++)
player.hurtCooldowns[k] = player.immuneTime;
Main.PlaySound(SoundID.Item, (int)player.position.X, (int)player.position.Y, 67);
for (int j = 0; j < 30; j++)
{
int num = Dust.NewDust(player.position, player.width, player.height, (int)CalamityDusts.PurpleCosmolite, 0f, 0f, 100, default, 2f);
Dust dust = Main.dust[num];
dust.position.X += Main.rand.Next(-20, 21);
dust.position.Y += Main.rand.Next(-20, 21);
dust.velocity *= 0.4f;
dust.scale *= 1f + Main.rand.Next(40) * 0.01f;
dust.shader = GameShaders.Armor.GetSecondaryShader(player.cWaist, player);
if (Main.rand.NextBool(2))
{
dust.scale *= 1f + Main.rand.Next(40) * 0.01f;
dust.noGravity = true;
}
}
NetMessage.SendData(MessageID.Dodge, -1, -1, null, player.whoAmI, 1f, 0f, 0f, 0, 0, 0);
}
private void OnDodge()
{
if (evasionScarf)
@@ -3982,27 +4021,28 @@ namespace CalamityMod.CalPlayer
player.AddBuff(ModContent.BuffType<ScarfMeleeBoost>(), 540);
player.AddBuff(ModContent.BuffType<ScarfCooldown>(), player.chaosState ? 1800 : 900);
}
player.immune = true;
player.immuneTime = player.longInvince ? 100 : 60;
for (int k = 0; k < player.hurtCooldowns.Length; k++)
{
player.hurtCooldowns[k] = player.immuneTime;
}
for (int j = 0; j < 100; j++)
{
int num = Dust.NewDust(player.position, player.width, player.height, 235, 0f, 0f, 100, default, 2f);
Dust dust = Main.dust[num];
dust.position.X += (float)Main.rand.Next(-20, 21);
dust.position.Y += (float)Main.rand.Next(-20, 21);
dust.position.X += Main.rand.Next(-20, 21);
dust.position.Y += Main.rand.Next(-20, 21);
dust.velocity *= 0.4f;
dust.scale *= 1f + (float)Main.rand.Next(40) * 0.01f;
dust.scale *= 1f + Main.rand.Next(40) * 0.01f;
dust.shader = GameShaders.Armor.GetSecondaryShader(player.cWaist, player);
if (Main.rand.NextBool(2))
{
dust.scale *= 1f + (float)Main.rand.Next(40) * 0.01f;
dust.scale *= 1f + Main.rand.Next(40) * 0.01f;
dust.noGravity = true;
}
}
NetMessage.SendData(MessageID.Dodge, -1, -1, null, player.whoAmI, 1f, 0f, 0f, 0, 0, 0);
}
@@ -5391,7 +5431,7 @@ namespace CalamityMod.CalPlayer
{
if (!heldItem.summon &&
(heldItem.melee || heldItem.ranged || heldItem.magic || heldItem.Calamity().rogue) &&
heldItem.hammer == 0 && heldItem.pick == 0 && heldItem.axe == 0 && heldItem.useStyle != 0 &&
heldItem.hammer == 0 && heldItem.pick == 0 && heldItem.axe == 0 && heldItem.useStyle != 0 &&
!heldItem.accessory && heldItem.ammo == AmmoID.None)
{
damage = (int)(damage * summonNerfMult);
@@ -5407,7 +5447,7 @@ namespace CalamityMod.CalPlayer
damage = (int)(damage * 0.6);
break;
case ProjectileID.HallowStar:
damage = (int)(damage * 0.7);
damage = (int)(damage * 0.5);
break;
}
@@ -8272,7 +8312,7 @@ namespace CalamityMod.CalPlayer
for (int j = 0; j < 30; j++)
{
int dust = Dust.NewDust(player.position, player.width, player.height, 173, 0f, 0f, 100, default, 2f);
int dust = Dust.NewDust(player.position, player.width, player.height, (int)CalamityDusts.PurpleCosmolite, 0f, 0f, 100, default, 2f);
Dust dust2 = Main.dust[dust];
dust2.position.X += Main.rand.Next(-20, 21);
dust2.position.Y += Main.rand.Next(-20, 21);
@@ -8283,7 +8323,7 @@ namespace CalamityMod.CalPlayer
dust2.scale *= 1f + Main.rand.Next(40) * 0.01f;
}
float num = 5000f * player.AverageDamage();
float num = 3000f * player.AverageDamage();
float num2 = 15f;
bool crit = false;
if (player.kbGlove)
@@ -8485,6 +8525,7 @@ namespace CalamityMod.CalPlayer
}
else if (dashMod == 9) // God Slayer Armor
{
player.maxFallSpeed = 50f;
for (int m = 0; m < 24; m++)
{
int num14 = Dust.NewDust(new Vector2(player.position.X, player.position.Y + 4f), player.width, player.height - 8, (int)CalamityDusts.PurpleCosmolite, 0f, 0f, 100, default, 2.75f);
@@ -8497,39 +8538,76 @@ namespace CalamityMod.CalPlayer
Main.dust[num14].fadeIn = 0.5f;
}
}
num7 = 20f;
num7 = 40f;
}
if (dashMod > 0)
{
player.vortexStealthActive = false;
if (player.velocity.X > num7 || player.velocity.X < -num7)
{
player.velocity.X = player.velocity.X * num8;
return;
}
if (player.velocity.X > num9 || player.velocity.X < -num9)
{
player.velocity.X = player.velocity.X * num10;
return;
}
if (dashMod == 9)
{
if (player.velocity.Length() > num7)
{
player.velocity *= num8;
return;
}
if (player.velocity.Length() > num9)
{
player.velocity *= num10;
return;
}
}
else
{
if (player.velocity.X > num7 || player.velocity.X < -num7)
{
player.velocity.X *= num8;
return;
}
if (player.velocity.X > num9 || player.velocity.X < -num9)
{
player.velocity.X *= num10;
return;
}
}
player.dashDelay = delay;
// Cooldown for God Slayer Armor dash
if (dashMod == 9)
player.AddBuff(ModContent.BuffType<GodSlayerCooldown>(), CalamityUtils.SecondsToFrames(30f));
{
player.AddBuff(ModContent.BuffType<GodSlayerCooldown>(), CalamityUtils.SecondsToFrames(15f));
godSlayerDashHotKeyPressed = false;
}
if (player.velocity.X < 0f)
{
player.velocity.X = -num9;
return;
}
if (player.velocity.X > 0f)
{
player.velocity.X = num9;
return;
}
if (dashMod == 9)
{
if (player.velocity.Length() < 0f)
{
player.velocity.Normalize();
player.velocity *= -num9;
return;
}
if (player.velocity.Length() > 0f)
{
player.velocity.Normalize();
player.velocity *= num9;
return;
}
}
else
{
if (player.velocity.X < 0f)
{
player.velocity.X = -num9;
return;
}
if (player.velocity.X > 0f)
{
player.velocity.X = num9;
return;
}
}
}
}
else if (dashMod > 0 && !player.mount.Active)
@@ -8676,7 +8754,7 @@ namespace CalamityMod.CalPlayer
}
else if (dashMod == 9) // God Slayer Armor
{
if (DoADash(30f))
if (DoADash(80f))
{
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/DevourerAttack"), (int)player.position.X, (int)player.position.Y);
@@ -8701,51 +8779,196 @@ namespace CalamityMod.CalPlayer
{
bool justDashed = false;
int direction = 0;
if (dashTimeMod > 0)
{
dashTimeMod--;
}
if (dashTimeMod < 0)
{
dashTimeMod++;
}
if (player.controlRight && player.releaseRight)
{
if (dashTimeMod > 0)
{
direction = 1;
justDashed = true;
dashTimeMod = 0;
}
else
{
dashTimeMod = 15;
}
}
else if (player.controlLeft && player.releaseLeft)
{
if (dashTimeMod < 0)
{
direction = -1;
justDashed = true;
dashTimeMod = 0;
}
else
{
dashTimeMod = -15;
}
}
if (dashMod == 9)
{
if (player.controlUp && player.controlLeft)
{
if (dashTimeMod < 0)
{
direction = -4;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = -15;
}
else if (player.controlUp && player.controlRight)
{
if (dashTimeMod > 0)
{
direction = 4;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = 15;
}
else if (player.controlDown && player.controlLeft)
{
if (dashTimeMod < 0)
{
direction = -3;
justDashed = true;
dashTimeMod = 0;
player.maxFallSpeed = 50f;
}
else
dashTimeMod = -15;
}
else if (player.controlDown && player.controlRight)
{
if (dashTimeMod > 0)
{
direction = 3;
justDashed = true;
dashTimeMod = 0;
player.maxFallSpeed = 50f;
}
else
dashTimeMod = 15;
}
else if (player.controlUp)
{
if (dashTimeMod < 0)
{
direction = -2;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = -15;
}
else if (player.controlDown)
{
if (dashTimeMod > 0)
{
direction = 2;
justDashed = true;
dashTimeMod = 0;
player.maxFallSpeed = 50f;
}
else
dashTimeMod = 15;
}
else if (player.controlLeft)
{
if (dashTimeMod < 0)
{
direction = -1;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = -15;
}
else if (player.controlRight)
{
if (dashTimeMod > 0)
{
direction = 1;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = 15;
}
}
else
{
if (player.controlRight && player.releaseRight)
{
if (dashTimeMod > 0)
{
direction = 1;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = 15;
}
else if (player.controlLeft && player.releaseLeft)
{
if (dashTimeMod < 0)
{
direction = -1;
justDashed = true;
dashTimeMod = 0;
}
else
dashTimeMod = -15;
}
}
if (justDashed)
{
player.velocity.X = dashDistance * (float)direction;
Point point5 = (player.Center + new Vector2((float)(direction * player.width / 2 + 2), player.gravDir * (float)-(float)player.height / 2f + player.gravDir * 2f)).ToTileCoordinates();
Point point6 = (player.Center + new Vector2((float)(direction * player.width / 2 + 2), 0f)).ToTileCoordinates();
if (WorldGen.SolidOrSlopedTile(point5.X, point5.Y) || WorldGen.SolidOrSlopedTile(point6.X, point6.Y))
{
player.velocity.X = player.velocity.X / 2f;
}
int totalDirections = 8;
float radians = MathHelper.TwoPi / totalDirections;
Vector2 spinningPoint = new Vector2(0f, -dashDistance);
Vector2[] possibleVelocities = new Vector2[totalDirections];
for (int k = 0; k < totalDirections; k++)
possibleVelocities[k] = spinningPoint.RotatedBy(radians * k);
switch (direction)
{
// Up Left
case -4:
player.velocity = possibleVelocities[7];
break;
// Down Left
case -3:
player.velocity = possibleVelocities[5];
break;
// Up
case -2:
player.velocity = possibleVelocities[0];
break;
// Left
case -1:
player.velocity = possibleVelocities[6];
break;
// Nothing
case 0:
break;
// Right
case 1:
player.velocity = possibleVelocities[2];
break;
// Down
case 2:
player.velocity = possibleVelocities[4];
break;
// Down Right
case 3:
player.velocity = possibleVelocities[3];
break;
// Up Right
case 4:
player.velocity = possibleVelocities[1];
break;
}
Point point5 = (player.Center + new Vector2(MathHelper.Clamp(direction, -1f, 1f) * player.width / 2 + 2, player.gravDir * -player.height / 2f + player.gravDir * 2f)).ToTileCoordinates();
Point point6 = (player.Center + new Vector2(MathHelper.Clamp(direction, -1f, 1f) * player.width / 2 + 2, 0f)).ToTileCoordinates();
if (WorldGen.SolidOrSlopedTile(point5.X, point5.Y) || WorldGen.SolidOrSlopedTile(point6.X, point6.Y))
player.velocity.X = player.velocity.X / 2f;
player.dashDelay = -1;
}
return justDashed;
}
+4 -1
View File
@@ -78,6 +78,7 @@ namespace CalamityMod
public static ModHotKey SpectralVeilHotKey;
public static ModHotKey PlaguePackHotKey;
public static ModHotKey AngelicAllianceHotKey;
public static ModHotKey GodSlayerDashHotKey;
// Boss Spawners
public static int ghostKillCount = 0;
@@ -175,8 +176,9 @@ namespace CalamityMod
SpectralVeilHotKey = RegisterHotKey("Spectral Veil Teleport", "Z");
PlaguePackHotKey = RegisterHotKey("Booster Dash", "Q");
AngelicAllianceHotKey = RegisterHotKey("Angelic Alliance Blessing", "G");
GodSlayerDashHotKey = RegisterHotKey("God Slayer Dash", "H");
if (!Main.dedServ)
if (!Main.dedServ)
LoadClient();
ILChanges.Load();
@@ -306,6 +308,7 @@ namespace CalamityMod
SpectralVeilHotKey = null;
PlaguePackHotKey = null;
AngelicAllianceHotKey = null;
GodSlayerDashHotKey = null;
AstralCactusTexture = null;
AstralCactusGlowTexture = null;
+4 -1
View File
@@ -61,7 +61,10 @@ namespace CalamityMod.Items.Armor
player.statDefense += 30;
player.lifeRegen += 10;
}
}
if (!modPlayer.godSlayerCooldown && modPlayer.godSlayerDashHotKeyPressed)
modPlayer.dashMod = 9;
}
public override void UpdateEquip(Player player)
{
+4 -1
View File
@@ -58,7 +58,10 @@ namespace CalamityMod.Items.Armor
player.statDefense += 30;
player.lifeRegen += 10;
}
}
if (!modPlayer.godSlayerCooldown && modPlayer.godSlayerDashHotKeyPressed)
modPlayer.dashMod = 9;
}
public override void UpdateEquip(Player player)
{
+4 -1
View File
@@ -65,7 +65,10 @@ namespace CalamityMod.Items.Armor
player.statDefense += 30;
player.lifeRegen += 10;
}
}
if (!modPlayer.godSlayerCooldown && modPlayer.godSlayerDashHotKeyPressed)
modPlayer.dashMod = 9;
}
public override void UpdateEquip(Player player)
{
+3 -3
View File
@@ -39,10 +39,10 @@ namespace CalamityMod.Items.Armor
CalamityPlayer modPlayer = player.Calamity();
modPlayer.godSlayer = true;
modPlayer.godSlayerDamage = true;
player.setBonus = "Allows you to dash for an immense distance\n" +
player.setBonus = "Allows you to dash for an immense distance in 8 directions\n" +
"Enemies you dash through take massive damage\n" +
"During the dash you are immune to most debuffs\n" +
"The dash has a 30 second cooldown\n" +
"The dash has a 15 second cooldown\n" +
"Enemies are more likely to target you\n" +
"Taking over 80 damage in one hit will cause you to release a swarm of high-damage god killer darts\n" +
"Enemies take a lot of damage when they hit you\n" +
@@ -50,7 +50,7 @@ namespace CalamityMod.Items.Armor
player.thorns += 2.5f;
player.aggro += 1000;
if (!modPlayer.godSlayerCooldown)
if (!modPlayer.godSlayerCooldown && modPlayer.godSlayerDashHotKeyPressed)
modPlayer.dashMod = 9;
}
+3 -3
View File
@@ -39,13 +39,13 @@ namespace CalamityMod.Items.Armor
CalamityPlayer modPlayer = player.Calamity();
modPlayer.godSlayer = true;
modPlayer.godSlayerRanged = true;
player.setBonus = "Allows you to dash for an immense distance\n" +
player.setBonus = "Allows you to dash for an immense distance in 8 directions\n" +
"Enemies you dash through take massive damage\n" +
"During the dash you are immune to most debuffs\n" +
"The dash has a 30 second cooldown\n" +
"The dash has a 15 second cooldown\n" +
"You fire a god killer shrapnel round while firing ranged weapons every 2.5 seconds";
if (!modPlayer.godSlayerCooldown)
if (!modPlayer.godSlayerCooldown && modPlayer.godSlayerDashHotKeyPressed)
modPlayer.dashMod = 9;
}
+3 -3
View File
@@ -41,10 +41,10 @@ namespace CalamityMod.Items.Armor
modPlayer.godSlayerThrowing = true;
modPlayer.rogueStealthMax += 1.2f;
modPlayer.wearingRogueArmor = true;
player.setBonus = "Allows you to dash for an immense distance\n" +
player.setBonus = "Allows you to dash for an immense distance in 8 directions\n" +
"Enemies you dash through take massive damage\n" +
"During the dash you are immune to most debuffs\n" +
"The dash has a 30 second cooldown\n" +
"The dash has a 15 second cooldown\n" +
"While at full HP all of your rogue stats are boosted by 10%\n" +
"If you take over 80 damage in one hit you will be given extra immunity frames\n" +
"Rogue stealth builds while not attacking and slower while moving, up to a max of 120\n" +
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.Armor
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
if (!modPlayer.godSlayerCooldown)
if (!modPlayer.godSlayerCooldown && modPlayer.godSlayerDashHotKeyPressed)
modPlayer.dashMod = 9;
}
+5 -4
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Armor
DisplayName.SetDefault("Tarragon Horned Helm");
Tooltip.SetDefault("Temporary immunity to lava\n" +
"Can move freely through liquids\n" +
"5% increased damage reduction");
"5% increased damage reduction and minion damage");
}
public override void SetDefaults()
@@ -59,19 +59,20 @@ namespace CalamityMod.Items.Armor
CalamityPlayer modPlayer = player.Calamity();
modPlayer.tarraSet = true;
modPlayer.tarraSummon = true;
player.setBonus = "55% increased minion damage and +3 max minions\n" +
player.setBonus = "50% increased minion damage and +3 max minions\n" +
"Reduces enemy spawn rates\n" +
"Increased heart pickup range\n" +
"Enemies have a chance to drop extra hearts on death\n" +
"Summons a life aura around you that damages nearby enemies";
player.minionDamage += 0.55f;
player.minionDamage += 0.5f;
player.maxMinions += 3;
}
public override void UpdateEquip(Player player)
{
player.endurance += 0.05f;
player.lavaMax += 240;
player.minionDamage += 0.05f;
player.lavaMax += 240;
player.ignoreWater = true;
}
+12 -11
View File
@@ -361,8 +361,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas
int hellblastDamage = npc.GetProjectileDamage(ModContent.ProjectileType<BrimstoneHellblast>());
int bodyWidth = 44;
int bodyHeight = 42;
int baseBulletHellProjectileGateValue = enraged ? 6 : 8;
Vector2 vectorCenter = npc.Center;
Vector2 vectorCenter = npc.Center;
// Get a target
if (npc.target < 0 || npc.target == Main.maxPlayers || Main.player[npc.target].dead || !Main.player[npc.target].active)
@@ -638,10 +639,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas
if (Main.netMode != NetmodeID.MultiplayerClient)
{
bulletHellCounter += 1;
if (bulletHellCounter > (enraged ? 4 : 6))
if (bulletHellCounter >= baseBulletHellProjectileGateValue)
{
bulletHellCounter = 0;
if (bulletHellCounter2 % ((enraged ? 4 : 6) * 3) == 0)
if (bulletHellCounter2 % (baseBulletHellProjectileGateValue * 3) == 0)
{
float distance = Main.rand.NextBool() ? -1000f : 1000f;
float velocity = (distance == -1000f ? 4f : -4f) * uDieLul;
@@ -724,10 +725,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas
Projectile.NewProjectile(player.position.X + Main.rand.Next(-1000, 1001), player.position.Y - 1000f, 0f, 5f * uDieLul, ModContent.ProjectileType<BrimstoneGigaBlast>(), gigablastDamage, 0f, Main.myPlayer);
}
bulletHellCounter += 1;
if (bulletHellCounter > (enraged ? 7 : 9))
if (bulletHellCounter >= baseBulletHellProjectileGateValue + 2)
{
bulletHellCounter = 0;
if (bulletHellCounter2 % ((enraged ? 7 : 9) * 3) == 0)
if (bulletHellCounter2 % ((baseBulletHellProjectileGateValue + 2) * 3) == 0)
{
float distance = Main.rand.NextBool() ? -1000f : 1000f;
float velocity = (distance == -1000f ? 4f : -4f) * uDieLul;
@@ -785,10 +786,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas
Projectile.NewProjectile(player.position.X + Main.rand.Next(-1000, 1001), player.position.Y - 1000f, 0f, 10f * uDieLul, ModContent.ProjectileType<BrimstoneFireblast>(), fireblastDamage, 0f, Main.myPlayer);
bulletHellCounter += 1;
if (bulletHellCounter > (enraged ? 9 : 11))
if (bulletHellCounter >= baseBulletHellProjectileGateValue + 4)
{
bulletHellCounter = 0;
if (bulletHellCounter2 % ((enraged ? 9 : 11) * 3) == 0)
if (bulletHellCounter2 % ((baseBulletHellProjectileGateValue + 4) * 3) == 0)
{
float distance = Main.rand.NextBool() ? -1000f : 1000f;
float velocity = (distance == -1000f ? 4f : -4f) * uDieLul;
@@ -860,10 +861,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas
}
bulletHellCounter += 1;
if (bulletHellCounter > (enraged ? 10 : 12))
if (bulletHellCounter >= baseBulletHellProjectileGateValue + 6)
{
bulletHellCounter = 0;
if (bulletHellCounter2 % ((enraged ? 10 : 12) * 3) == 0)
if (bulletHellCounter2 % ((baseBulletHellProjectileGateValue + 6) * 3) == 0)
{
float distance = Main.rand.NextBool() ? -1000f : 1000f;
float velocity = (distance == -1000f ? 4f : -4f) * uDieLul;
@@ -931,10 +932,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas
}
bulletHellCounter += 1;
if (bulletHellCounter > (enraged ? 12 : 14))
if (bulletHellCounter >= baseBulletHellProjectileGateValue + 8)
{
bulletHellCounter = 0;
if (bulletHellCounter2 % ((enraged ? 12 : 14) * 3) == 0)
if (bulletHellCounter2 % ((baseBulletHellProjectileGateValue + 8) * 3) == 0)
{
float distance = Main.rand.NextBool() ? -1000f : 1000f;
float velocity = (distance == -1000f ? 4f : -4f) * uDieLul;