1 - Reduced debuff durations of several vanilla boss projectiles.

2 - Rebalanced vanilla Hardmode boss damage values to make a lot more sense.
3 - Reduced Ironskin Potion and defensive prefix defense bonus scaling (it really is too much right now).
This commit is contained in:
mountaindrew10 committed 2024-03-05 18:09:20 -06:00
1 parent 7111477545
commit 4c0dc0d4e3
4 files changed
+62 -62

No files matched your search

+12 -12
View File
@@ -1283,11 +1283,11 @@ namespace CalamityMod.CalPlayer
}
else if (proj.type == ProjectileID.FrostBeam && !Player.frozen && !gState)
{
Player.AddBuff(ModContent.BuffType<GlacialState>(), 120);
Player.AddBuff(ModContent.BuffType<GlacialState>(), 60);
}
else if (proj.type == ProjectileID.DeathLaser || proj.type == ProjectileID.RocketSkeleton)
{
Player.AddBuff(BuffID.OnFire, 240);
Player.AddBuff(BuffID.OnFire, 180);
}
else if (proj.type == ProjectileID.Skull)
{
@@ -1299,11 +1299,11 @@ namespace CalamityMod.CalPlayer
}
else if (proj.type == ProjectileID.ThornBall)
{
Player.AddBuff(BuffID.Poisoned, 480);
Player.AddBuff(BuffID.Poisoned, 300);
}
else if (proj.type == ProjectileID.CultistBossIceMist)
{
Player.AddBuff(BuffID.Frozen, 90);
Player.AddBuff(BuffID.Frozen, 60);
Player.AddBuff(BuffID.Chilled, 180);
}
else if (proj.type == ProjectileID.CultistBossLightningOrbArc)
@@ -1320,35 +1320,35 @@ namespace CalamityMod.CalPlayer
}
else if (proj.type == ProjectileID.PhantasmalBolt || proj.type == ProjectileID.PhantasmalEye)
{
Player.AddBuff(ModContent.BuffType<Nightwither>(), 120);
Player.AddBuff(ModContent.BuffType<Nightwither>(), 60);
}
else if (proj.type == ProjectileID.PhantasmalSphere)
{
Player.AddBuff(ModContent.BuffType<Nightwither>(), 240);
Player.AddBuff(ModContent.BuffType<Nightwither>(), 120);
}
else if (proj.type == ProjectileID.PhantasmalDeathray)
{
Player.AddBuff(ModContent.BuffType<Nightwither>(), 400);
Player.AddBuff(ModContent.BuffType<Nightwither>(), 300);
}
else if (proj.type == ProjectileID.FairyQueenLance || proj.type == ProjectileID.HallowBossRainbowStreak || proj.type == ProjectileID.HallowBossSplitShotCore)
{
Player.AddBuff(Main.dayTime ? ModContent.BuffType<HolyFlames>() : ModContent.BuffType<Nightwither>(), 120);
Player.AddBuff(Main.dayTime ? ModContent.BuffType<HolyFlames>() : ModContent.BuffType<Nightwither>(), 60);
}
else if (proj.type == ProjectileID.HallowBossLastingRainbow)
{
Player.AddBuff(Main.dayTime ? ModContent.BuffType<HolyFlames>() : ModContent.BuffType<Nightwither>(), 160);
Player.AddBuff(Main.dayTime ? ModContent.BuffType<HolyFlames>() : ModContent.BuffType<Nightwither>(), 120);
}
else if (proj.type == ProjectileID.FairyQueenSunDance)
{
Player.AddBuff(Main.dayTime ? ModContent.BuffType<HolyFlames>() : ModContent.BuffType<Nightwither>(), 200);
Player.AddBuff(Main.dayTime ? ModContent.BuffType<HolyFlames>() : ModContent.BuffType<Nightwither>(), 180);
}
else if (proj.type == ProjectileID.BloodNautilusShot)
{
Player.AddBuff(ModContent.BuffType<BurningBlood>(), 240);
Player.AddBuff(ModContent.BuffType<BurningBlood>(), 120);
}
else if (proj.type == ProjectileID.BloodShot)
{
Player.AddBuff(ModContent.BuffType<BurningBlood>(), 180);
Player.AddBuff(ModContent.BuffType<BurningBlood>(), 60);
}
else if (proj.type == ProjectileID.RuneBlast && Main.zenithWorld)
{
+26 -26
View File
@@ -620,16 +620,16 @@ namespace CalamityMod
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceRain>()), new int[] { 60, 100, 120, 132, 180 } },
{ new Tuple<int, int>(ModContent.NPCType<CryogenShield>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 124, 168 } },
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 76, 116, 128, 150 } },
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 92, 116, 128, 150 } },
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.DeathLaser), new int[] {
50, // 38 in rapid fire
92, // 69 in rapid fire
108, // 81 in rapid fire
124, // 93 in rapid fire
136, // 102 in rapid fire
186 } }, // 139 in rapid fire; 138 in non-rev master mode, 102 in rapid fire in non-rev master mode
{ new Tuple<int, int>(NPCID.Retinazer, ModContent.ProjectileType<ScavengerLaser>()), new int[] { 70, 120, 136, 152, 210 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 88, 120, 132, 162 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.EyeFire), new int[] { 60, 108, 128, 140, 192 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 100, 120, 132, 162 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.EyeFire), new int[] { 60, 120, 148, 160, 222 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<Shadowflamethrower>()), new int[] { 70, 120, 148, 160, 222 } },
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 60, 100, 128, 140, 192 } },
@@ -638,13 +638,13 @@ namespace CalamityMod
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<ToxicCloud>()), new int[] { 80, 140, 160, 176, 234 } },
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 66, 112, 128, 140, 192 } },
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 72, 116, 128, 150 } },
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 76, 128, 140, 186 } },
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 80, 136, 152, 210 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 72, 116, 128, 150 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 76, 128, 140, 186 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 80, 136, 152, 210 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.EyeLaser), new int[] { 40, 68, 100, 112, 132 } },
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 128, 150 } },
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 140, 186 } },
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 152, 210 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 128, 150 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 140, 186 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 152, 210 } },
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.EyeLaser), new int[] { 40, 88, 100, 112, 132 } },
{ new Tuple<int, int>(NPCID.Probe, ProjectileID.PinkLaser), new int[] { 50, 88, 100, 112, 132 } },
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 176, 234 } },
@@ -654,15 +654,15 @@ namespace CalamityMod
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 176, 234 } },
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 140, 192 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 100, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 100, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 108, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 160, 222 } },
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.Skull), new int[] { 50, 100, 124, 136, 186 } },
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.Skull), new int[] { 50, 108, 124, 136, 186 } },
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 180, 200, 240 } },
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.FrostBeam), new int[] { 50, 100, 124, 136, 186 } },
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.FrostBeam), new int[] { 50, 108, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 160, 222 } },
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 0, 0, 240 } },
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 100, 124, 136, 186 } },
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 136, 186 } },
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 176, 234 } },
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 176, 234 } },
@@ -673,9 +673,9 @@ namespace CalamityMod
{ new Tuple<int, int>(ModContent.NPCType<Catastrophe>(), ModContent.ProjectileType<BrimstoneBall>()), new int[] { 70, 112, 128, 140, 192 } },
{ new Tuple<int, int>(ModContent.NPCType<SoulSeeker>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 140, 192 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 44, 76, 128, 140, 156 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 54, 96, 136, 152, 192 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 62, 108, 160, 176, 216 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 52, 96, 128, 140, 156 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 62, 116, 136, 152, 192 } },
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 72, 132, 160, 176, 216 } },
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<SporeGasPlantera>()), new int[] { 80, 140, 160, 176, 234 } },
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<HomingGasBulb>()), new int[] { 80, 140, 160, 176, 234 } },
@@ -693,13 +693,13 @@ namespace CalamityMod
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralFlame>()), new int[] { 100, 172, 208, 228, 300 } },
{ new Tuple<int, int>(ModContent.NPCType<AureusSpawn>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 200, 270 } },
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 58, 116, 160, 176, 234 } },
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 56, 112, 172, 188, 228 } },
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 48, 94, 160, 176, 192 } },
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 56, 112, 172, 188, 228 } },
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 48, 94, 160, 176, 192 } },
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 56, 112, 172, 188, 228 } },
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 64, 128, 184, 200, 258 } },
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 72, 132, 160, 176, 234 } },
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 188, 228 } },
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 60, 120, 160, 176, 192 } },
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 188, 228 } },
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 60, 120, 160, 176, 192 } },
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 188, 228 } },
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 200, 258 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliath>()), new int[] { 88, 156, 184, 200, 270 } },
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 88, 156, 184, 200, 270 } },
+14 -14
View File
@@ -1569,11 +1569,11 @@ namespace CalamityMod.Items
/* Prehardmode = 2
* Hardmode = 3
* Post-Moon Lord = 4
* Post-DoG = 6
* Post-DoG = 5
*/
if (DownedBossSystem.downedDoG)
player.statDefense += 4;
player.statDefense += 3;
else if (NPC.downedMoonlord)
player.statDefense += 2;
else if (Main.hardMode)
@@ -1584,34 +1584,34 @@ namespace CalamityMod.Items
if (item.prefix == PrefixID.Armored)
{
/* Prehardmode = 3
* Hardmode = 5
* Post-Moon Lord = 6
* Post-DoG = 8
* Hardmode = 4
* Post-Moon Lord = 5
* Post-DoG = 6
*/
if (DownedBossSystem.downedDoG)
player.statDefense += 5;
else if (NPC.downedMoonlord)
player.statDefense += 3;
else if (Main.hardMode)
else if (NPC.downedMoonlord)
player.statDefense += 2;
else if (Main.hardMode)
player.statDefense += 1;
player.endurance += 0.0075f;
}
if (item.prefix == PrefixID.Warding)
{
/* Prehardmode = 4
* Hardmode = 6
* Post-Moon Lord = 8
* Post-DoG = 10
* Hardmode = 5
* Post-Moon Lord = 6
* Post-DoG = 7
*/
if (DownedBossSystem.downedDoG)
player.statDefense += 6;
player.statDefense += 3;
else if (NPC.downedMoonlord)
player.statDefense += 4;
else if (Main.hardMode)
player.statDefense += 2;
else if (Main.hardMode)
player.statDefense += 1;
player.endurance += 0.01f;
}
+10 -10
View File
@@ -47,11 +47,11 @@ namespace CalamityMod
// This makes sense to be here but also not
case -1:
if (DownedBossSystem.downedDoG)
return 20;
return 14;
else if (NPC.downedMoonlord)
return 16;
else if (Main.hardMode)
return 12;
else if (Main.hardMode)
return 10;
return 8;
case PrefixID.Hard:
@@ -65,7 +65,7 @@ namespace CalamityMod
case PrefixID.Guarding:
if (DownedBossSystem.downedDoG)
return 6;
return 5;
else if (NPC.downedMoonlord)
return 4;
else if (Main.hardMode)
@@ -74,20 +74,20 @@ namespace CalamityMod
case PrefixID.Armored:
if (DownedBossSystem.downedDoG)
return 8;
else if (NPC.downedMoonlord)
return 6;
else if (Main.hardMode)
else if (NPC.downedMoonlord)
return 5;
else if (Main.hardMode)
return 4;
return 3;
case PrefixID.Warding:
if (DownedBossSystem.downedDoG)
return 10;
return 7;
else if (NPC.downedMoonlord)
return 8;
else if (Main.hardMode)
return 6;
else if (Main.hardMode)
return 5;
return 4;
}
}