This commit is contained in:
Big E committed 2025-07-23 14:37:48 -04:00
commit 620428f653
14 files changed
+129 -29

No files matched your search

@@ -1978,6 +1978,11 @@ DriftwoodTable: {
Tooltip: ""
}
DriftwoodToilet: {
DisplayName: Driftwood Toilet
Tooltip: ""
}
DriftwoodWorkBench: {
DisplayName: Driftwood Work Bench
Tooltip: ""
@@ -3364,7 +3369,7 @@ WulfrumPlating: {
WulfrumSink: {
DisplayName: Wulfrum Sink
Tooltip: ""
Tooltip: Counts as a water source
}
WulfrumSofa: {
@@ -3387,6 +3392,91 @@ WulfrumWorkBench: {
Tooltip: ""
}
AnodizedWulfrumBathtub: {
DisplayName: Anodized Wulfrum Bathtub
Tooltip: ""
}
AnodizedWulfrumBookcase: {
DisplayName: Anodized Wulfrum Bookcase
Tooltip: ""
}
AnodizedWulfrumChair: {
DisplayName: Anodized Wulfrum Chair
Tooltip: ""
}
AnodizedWulfrumChandelier: {
DisplayName: Anodized Wulfrum Chandelier
Tooltip: ""
}
AnodizedWulfrumChest: {
DisplayName: Anodized Wulfrum Chest
Tooltip: ""
}
AnodizedWulfrumDeskLight: {
DisplayName: Anodized Wulfrum Desk Light
Tooltip: ""
}
AnodizedWulfrumDoor: {
DisplayName: Anodized Wulfrum Door
Tooltip: ""
}
AnodizedWulfrumDresser: {
DisplayName: Anodized Wulfrum Dresser
Tooltip: ""
}
AnodizedWulfrumJukebox: {
DisplayName: Anodized Wulfrum Jukebox
Tooltip: ""
}
AnodizedWulfrumLamp: {
DisplayName: Anodized Wulfrum Lamp
Tooltip: ""
}
AnodizedWulfrumLantern: {
DisplayName: Anodized Wulfrum Lantern
Tooltip: ""
}
AnodizedWulfrumSink: {
DisplayName: Anodized Wulfrum Sink
Tooltip: Counts as a water source
}
AnodizedWulfrumSleepingPod: {
DisplayName: Anodized Wulfrum Sleeping Pod
Tooltip: ""
}
AnodizedWulfrumSofa: {
DisplayName: Anodized Wulfrum Sofa
Tooltip: ""
}
AnodizedWulfrumTable: {
DisplayName: Anodized Wulfrum Table
Tooltip: ""
}
AnodizedWulfrumToilet: {
DisplayName: Anodized Wulfrum Toilet
Tooltip: ""
}
AnodizedWulfrumWorkBench: {
DisplayName: Anodized Wulfrum Work Bench
Tooltip: ""
}
HardenedAstralSand: {
DisplayName: Hardened Astral Sand
Tooltip: ""
@@ -9,6 +9,8 @@ PirateCrate: Abandoned Crate
// Basic Calamity Furniture
Basin: Basin
LavaFountain: Lava Fountain
BaroqueCello: Baroque Cello
Jukebox: Jukebox
PipeOrgan: Pipe Organ
Sconce: Sconce
// Draedon Lab Furniture
+2 -1
View File
@@ -27,11 +27,12 @@ namespace CalamityMod.NPCs.AquaticScourge
this.HideFromBestiary();
}
public static int ToothDamage = 23; // 92
public static int ToothDamage = 25; // 100
public override void SetDefaults()
{
NPC.damage = 52; // 104
NPC.Calamity().canBreakPlayerDefense = true;
NPC.width = 32;
NPC.height = 32;
NPC.defense = 20;
@@ -30,6 +30,7 @@ namespace CalamityMod.NPCs.AquaticScourge
public override void SetDefaults()
{
NPC.damage = 48; // 96
NPC.Calamity().canBreakPlayerDefense = true;
NPC.width = 32;
NPC.height = 32;
NPC.defense = 15;
+5 -6
View File
@@ -54,13 +54,12 @@ namespace CalamityMod.NPCs.AquaticScourge
NPCID.Sets.MPAllowedEnemies[Type] = true;
}
public static int MistDamage = 23; // 92
public static int SandCloudDamage = 28; // 112
public static int ToxicCloudDamage = 32; // 128
public static int MistDamage = 25; // 100
public static int CloudDamage = 28; // 112; applies to both Sand and Toxic
public override void SetDefaults()
{
NPC.damage = 80; // 160
NPC.damage = 90; // 180
NPC.Calamity().canBreakPlayerDefense = true;
NPC.width = 90;
NPC.height = 90;
@@ -252,7 +251,7 @@ namespace CalamityMod.NPCs.AquaticScourge
for (int k = 0; k < totalProjectiles; k++)
{
Vector2 vector255 = spinningPoint.RotatedBy(radians * k);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + vector255.SafeNormalize(Vector2.UnitY) * 5f, vector255, type, ToxicCloudDamage, 0f, Main.myPlayer);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + vector255.SafeNormalize(Vector2.UnitY) * 5f, vector255, type, CloudDamage, 0f, Main.myPlayer);
}
}
}
@@ -366,7 +365,7 @@ namespace CalamityMod.NPCs.AquaticScourge
if (expertMode)
velocity *= 1f + (maximumVelocityMult * (0.5f - lifeRatio));
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + velocity.SafeNormalize(Vector2.UnitY) * 5f, velocity, type, SandCloudDamage, 0f, Main.myPlayer);
Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + velocity.SafeNormalize(Vector2.UnitY) * 5f, velocity, type, CloudDamage, 0f, Main.myPlayer);
}
}
}
+1 -1
View File
@@ -355,7 +355,7 @@ namespace CalamityMod.NPCs.AquaticScourge
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
{
if (hurtInfo.Damage > 0)
target.AddBuff(ModContent.BuffType<Irradiated>(), 180, true);
target.AddBuff(ModContent.BuffType<Irradiated>(), 300, true);
}
}
}
@@ -75,6 +75,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental
{
NPC.npcSlots = 64f;
NPC.damage = 52; // 104
NPC.Calamity().canBreakPlayerDefense = true;
NPC.width = 100;
NPC.height = 150;
NPC.defense = 15;
@@ -839,7 +840,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)
{
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 360);
target.AddBuff(ModContent.BuffType<BrimstoneFlames>(), 240);
}
public override void FindFrame(int frameHeight) // 9 total frames
+2 -2
View File
@@ -89,8 +89,8 @@ namespace CalamityMod.NPCs.Cryogen
}
}
public static int IceBlastDamage = 22; // 88; Also applies to GFB darts
public static int IceRainDamage = 22; // 88; Also applies to GFB darts
public static int IceBlastDamage = 23; // 92; Also applies to GFB darts
public static int IceRainDamage = 23; // 92; Also applies to GFB darts
public static int IceBombDamage = 30; // 120; Also applies to GFB fireblasts
public override void SetDefaults()
@@ -18,6 +18,10 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
public static int EverlastingRainbowDamage = 30; // 120
public static int EtherealLanceDamage = 30; // 120
public static int SunDanceDamage = 35; // 140
public static int Phase2PrismaticBoltDamage = 35; // 140
public static int Phase2EverlastingRainbowDamage = 35; // 140
public static int Phase2EtherealLanceDamage = 35; // 140
public static int Phase2SunDanceDamage = 40; // 160
// Vanilla sets her defDamage to 184 (80 * 2 * 1.15) in Expert Mode
// However, some weird contraption in her Expert AI that knocks her base contact damage to the intended value of 110
@@ -47,6 +51,11 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
bool phase2 = npc.AI_120_HallowBoss_IsInPhase2();
bool phase3 = lifeRatio <= phase3LifeRatio;
int boltDamage = (phase2 ? Phase2PrismaticBoltDamage : PrismaticBoltDamage).CalculateDamageForEnrage();
int rainbowDamage = (phase2 ? Phase2EverlastingRainbowDamage : EverlastingRainbowDamage).CalculateDamageForEnrage();
int lanceDamage = (phase2 ? Phase2EtherealLanceDamage : EtherealLanceDamage).CalculateDamageForEnrage();
int sunDanceDamage = (phase2 ? Phase2SunDanceDamage : SunDanceDamage).CalculateDamageForEnrage();
bool shouldBeInPhase2ButIsStillInPhase1 = lifeRatio <= phase2LifeRatio && !phase2;
if (shouldBeInPhase2ButIsStillInPhase1)
calamityGlobalNPC.DR = 0.99f;
@@ -417,7 +426,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if ((int)npc.ai[1] % streakSpawnFrequency == 0 && npc.ai[1] < 60f)
{
int projectileType = ProjectileID.HallowBossRainbowStreak;
int projectileDamage = PrismaticBoltDamage.CalculateDamageForEnrage();
int projectileDamage = boltDamage;
float ai3 = npc.ai[1] / 60f;
Vector2 rainbowStreakVelocity = new Vector2(0f, death ? -10f : -8f).RotatedBy(MathHelper.PiOver2 * Main.rand.NextFloatDirection());
@@ -551,7 +560,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
}
int projectileType = ProjectileID.FairyQueenLance;
int projectileDamage = EtherealLanceDamage.CalculateDamageForEnrage();
int projectileDamage = lanceDamage;
Vector2 v3 = targetHoverPos - spawnLocation;
if (Main.netMode != NetmodeID.MultiplayerClient)
@@ -631,9 +640,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
for (float i = 0f; i < 1f; i += 1f / totalProjectiles)
{
int projectileType = ProjectileID.HallowBossLastingRainbow;
int projectileDamage = EverlastingRainbowDamage.CalculateDamageForEnrage();
int projectileDamage = rainbowDamage;
int projectileType2 = ProjectileID.HallowBossRainbowStreak;
int projectileDamage2 = PrismaticBoltDamage.CalculateDamageForEnrage();
int projectileDamage2 = boltDamage;
float projRotationMultiplier = i;
Vector2 spinningpoint = Vector2.UnitY.RotatedBy(MathHelper.PiOver2 + MathHelper.TwoPi * projRotationMultiplier + projRotation);
@@ -704,7 +713,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if (npc.ai[1] % sunDanceGateValue == 0f && npc.ai[1] < totalSunDancePhaseTime)
{
int projectileType = ProjectileID.FairyQueenSunDance;
int projectileDamage = SunDanceDamage.CalculateDamageForEnrage();
int projectileDamage = sunDanceDamage;
int sunDanceExtension = (int)(npc.ai[1] / sunDanceGateValue);
int targetFloatDirection = (targetData2.Center.X > npc.Center.X) ? 1 : 0;
@@ -824,7 +833,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
}
int projectileType = ProjectileID.FairyQueenLance;
int projectileDamage = EtherealLanceDamage.CalculateDamageForEnrage();
int projectileDamage = lanceDamage;
for (float i = 0f; i <= 1f; i += 1f / totalProjectiles)
{
@@ -906,7 +915,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if ((npc.ai[1] - 1f) % rainbowStreakGateValue == 0f)
{
int projectileType = ProjectileID.HallowBossRainbowStreak;
int projectileDamage = PrismaticBoltDamage.CalculateDamageForEnrage();
int projectileDamage = boltDamage;
float ai3 = (npc.ai[1] - chargeGateValue - 1f) / chargeDuration;
Vector2 rainbowStreakVelocity = new Vector2(0f, death ? -5f : -4f).RotatedBy(MathHelper.PiOver2 * Main.rand.NextFloatDirection());
@@ -1077,7 +1086,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
}
int projectileType = ProjectileID.FairyQueenLance;
int projectileDamage = EtherealLanceDamage.CalculateDamageForEnrage();
int projectileDamage = lanceDamage;
Vector2 v = straightLanceSpawnPredict - straightLanceSpawnDirection;
if (Main.netMode != NetmodeID.MultiplayerClient)
@@ -1154,7 +1163,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if ((int)npc.ai[1] % stationaryStreakSpawnFrequency == 0 && shouldSpawnStreaks)
{
int projectileType = ProjectileID.HallowBossRainbowStreak;
int projectileDamage = PrismaticBoltDamage.CalculateDamageForEnrage();
int projectileDamage = boltDamage;
Vector2 vector = new Vector2(0f, (death ? -24f : -22f) - (phase3 ? ((death ? 6f : 4f) * streakHomeTime) : 0f)).RotatedBy(MathHelper.TwoPi * streakHomeTime);
if (Main.netMode != NetmodeID.MultiplayerClient)
@@ -13,8 +13,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
public static class QueenSlimeAI
{
// Vanilla values
public static int SmallGelDamage = 15; // 60
public static int SpikeDamage = 15; // 60
public static int SmallGelDamage = Main.masterMode ? 20 : 17; // 68
public static int SpikeDamage = Main.masterMode ? 20 : 17; // 68
public static int LargeGelDamage = 30; // 120
public static int SlamDamage = 40; // 160
+1 -1
View File
@@ -84,7 +84,7 @@ namespace CalamityMod.Projectiles.Boss
if (info.Damage <= 0)
return;
target.AddBuff(ModContent.BuffType<Irradiated>(), 240, true);
target.AddBuff(BuffID.Venom, 180);
}
}
}
+1 -3
View File
@@ -87,9 +87,7 @@ namespace CalamityMod.Projectiles.Boss
if (info.Damage <= 0)
return;
target.AddBuff(BuffID.Poisoned, 240);
target.AddBuff(BuffID.Venom, 240);
target.AddBuff(ModContent.BuffType<Irradiated>(), 240);
target.AddBuff(ModContent.BuffType<Irradiated>(), 480);
}
}
}
@@ -313,7 +313,6 @@ namespace CalamityMod.Projectiles
{ ProjectileID.PhantasmalDeathray, defenseDamage },
{ ProjectileID.PhantasmalSphere, defenseDamage },
{ ProjectileID.Present, defenseDamage }, // Falling present bombs in Frost Moon
{ ProjectileID.QueenSlimeSmash, defenseDamage },
{ ProjectileID.RockGolemRock, defenseDamage },
{ ProjectileID.RuneBlast, defenseDamage }, // Rune Wizard shots
{ ProjectileID.SaucerDeathray, defenseDamage },
+1 -1
View File
@@ -95,7 +95,7 @@ namespace CalamityMod.Projectiles.Enemy
return;
if (Projectile.Opacity >= 0.9f)
target.AddBuff(ModContent.BuffType<Irradiated>(), 120);
target.AddBuff(ModContent.BuffType<Irradiated>(), 300);
}
}
}