diff --git a/Balancing/BalancingChangesManager.cs b/Balancing/BalancingChangesManager.cs index b7cb6d137f..1c3ba46470 100644 --- a/Balancing/BalancingChangesManager.cs +++ b/Balancing/BalancingChangesManager.cs @@ -314,9 +314,6 @@ namespace CalamityMod.Balancing // 40% resist to Rancor. NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileResistBalancingRule(0.6f, ProjectileType())))); - // 35% resist to Zenith. - NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileResistBalancingRule(0.65f, ProjectileID.FinalFractal)))); - // 30% resist to the Spin Throw part of the Ark of the Cosmos' combo. NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileSpecificRequirementBalancingRule(0.7f, AotCThrowCombo)))); @@ -347,6 +344,9 @@ namespace CalamityMod.Balancing // 25% resist to Luminite Bullets. NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileResistBalancingRule(0.75f, ProjectileID.MoonlordBullet)))); + // 25% resist to Zenith. + NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileResistBalancingRule(0.75f, ProjectileID.FinalFractal)))); + // 20% resist to Blood Boiler fire. NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.ThanatosIDs, Do(new ProjectileResistBalancingRule(0.8f, ProjectileType())))); @@ -379,12 +379,15 @@ namespace CalamityMod.Balancing // 85% resist to Chicken Cannon. NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.15f, ProjectileType()))); - // 40% resist to Subsuming Vortex. - NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.6f, ProjectileType(), ProjectileType(), ProjectileType()))); + // 50% resist to Subsuming Vortex. + NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.5f, ProjectileType(), ProjectileType(), ProjectileType()))); // 30% resist to Murasama. NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.7f, ProjectileType()))); + // 30% resist to Zenith. + NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.7f, ProjectileID.FinalFractal))); + // 25% resist to Yharim's Crystal. NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType(), new ProjectileResistBalancingRule(0.75f, ProjectileType()))); diff --git a/Items/Accessories/Wings/DrewsWings.cs b/Items/Accessories/Wings/DrewsWings.cs index d6372e7c95..b07eb19d9e 100644 --- a/Items/Accessories/Wings/DrewsWings.cs +++ b/Items/Accessories/Wings/DrewsWings.cs @@ -12,9 +12,10 @@ namespace CalamityMod.Items.Accessories.Wings public class DrewsWings : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { - ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(361, 12f, 3f); + ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(361, 11.5f, 2.9f); } public override void SetDefaults() @@ -49,11 +50,11 @@ namespace CalamityMod.Items.Accessories.Wings public override void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend) { - ascentWhenFalling = 1f; //0.85 - ascentWhenRising = 0.175f; //0.15 - maxCanAscendMultiplier = 1.2f; //1 - maxAscentMultiplier = 3.25f; //3 - constantAscend = 0.15f; //0.135 + ascentWhenFalling = 1f; + ascentWhenRising = 0.17f; + maxCanAscendMultiplier = 1.2f; + maxAscentMultiplier = 3.25f; + constantAscend = 0.15f; } } } diff --git a/Items/Accessories/Wings/ElysianWings.cs b/Items/Accessories/Wings/ElysianWings.cs index 0e90800707..f0a92e6256 100644 --- a/Items/Accessories/Wings/ElysianWings.cs +++ b/Items/Accessories/Wings/ElysianWings.cs @@ -11,6 +11,7 @@ namespace CalamityMod.Items.Accessories.Wings public class ElysianWings : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(240, 9.5f, 2.7f); diff --git a/Items/Accessories/Wings/ExodusWings.cs b/Items/Accessories/Wings/ExodusWings.cs index 357f7137db..8e521e5065 100644 --- a/Items/Accessories/Wings/ExodusWings.cs +++ b/Items/Accessories/Wings/ExodusWings.cs @@ -13,6 +13,7 @@ namespace CalamityMod.Items.Accessories.Wings public class ExodusWings : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(180, 9f, 2.5f); diff --git a/Items/Accessories/Wings/SilvaWings.cs b/Items/Accessories/Wings/SilvaWings.cs index c17192dfd0..5fdbd66c83 100644 --- a/Items/Accessories/Wings/SilvaWings.cs +++ b/Items/Accessories/Wings/SilvaWings.cs @@ -16,9 +16,10 @@ namespace CalamityMod.Items.Accessories.Wings public class SilvaWings : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { - ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(270, 11f, 2.8f); + ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(270, 10.5f, 2.8f); } public override void SetDefaults() @@ -59,11 +60,11 @@ namespace CalamityMod.Items.Accessories.Wings public override void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend) { - ascentWhenFalling = 1f; //0.85 - ascentWhenRising = 0.16f; //0.15 - maxCanAscendMultiplier = 1.2f; //1 - maxAscentMultiplier = 3.25f; //3 - constantAscend = 0.14f; //0.135 + ascentWhenFalling = 0.95f; + ascentWhenRising = 0.16f; + maxCanAscendMultiplier = 1.1f; + maxAscentMultiplier = 3.2f; + constantAscend = 0.145f; } public override void AddRecipes() diff --git a/Items/Accessories/Wings/TarragonWings.cs b/Items/Accessories/Wings/TarragonWings.cs index 93502370c6..12e4b084a3 100644 --- a/Items/Accessories/Wings/TarragonWings.cs +++ b/Items/Accessories/Wings/TarragonWings.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Items.Accessories.Wings public class TarragonWings : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(250, 9.5f, 2.5f); diff --git a/Items/Accessories/Wings/TracersCelestial.cs b/Items/Accessories/Wings/TracersCelestial.cs index 559aaebff1..b53473ca63 100644 --- a/Items/Accessories/Wings/TracersCelestial.cs +++ b/Items/Accessories/Wings/TracersCelestial.cs @@ -15,6 +15,7 @@ namespace CalamityMod.Items.Accessories.Wings public class TracersCelestial : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(140, 9f, 2.6f); @@ -48,8 +49,8 @@ namespace CalamityMod.Items.Accessories.Wings Main.dust[num60].shader = GameShaders.Armor.GetSecondaryShader(player.cWings, player); } CalamityPlayer modPlayer = player.Calamity(); - player.accRunSpeed = 8.5f; - player.moveSpeed += 0.16f; + player.accRunSpeed = 8f; + player.moveSpeed += 0.14f; player.iceSkate = true; player.waterWalk = true; player.fireWalk = true; diff --git a/Items/Accessories/Wings/TracersElysian.cs b/Items/Accessories/Wings/TracersElysian.cs index 4547d9d49c..06dddf9908 100644 --- a/Items/Accessories/Wings/TracersElysian.cs +++ b/Items/Accessories/Wings/TracersElysian.cs @@ -18,9 +18,10 @@ namespace CalamityMod.Items.Accessories.Wings public class TracersElysian : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { - ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(180, 10.5f, 2.75f); + ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(180, 10f, 2.7f); } public override void SetDefaults() @@ -51,8 +52,8 @@ namespace CalamityMod.Items.Accessories.Wings Main.dust[num60].shader = GameShaders.Armor.GetSecondaryShader(player.cWings, player); } CalamityPlayer modPlayer = player.Calamity(); - player.accRunSpeed = 9.25f; - player.moveSpeed += 0.2f; + player.accRunSpeed = 8.5f; + player.moveSpeed += 0.16f; player.iceSkate = true; player.waterWalk = true; player.fireWalk = true; @@ -66,10 +67,10 @@ namespace CalamityMod.Items.Accessories.Wings public override void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend) { - ascentWhenFalling = 0.95f; //0.85 + ascentWhenFalling = 0.85f; ascentWhenRising = 0.15f; - maxCanAscendMultiplier = 1.1f; //1 - maxAscentMultiplier = 3.15f; //3 + maxCanAscendMultiplier = 1.1f; + maxAscentMultiplier = 2.7f; constantAscend = 0.135f; } diff --git a/Items/Accessories/Wings/TracersSeraph.cs b/Items/Accessories/Wings/TracersSeraph.cs index fffabfba2c..7c5e5f8782 100644 --- a/Items/Accessories/Wings/TracersSeraph.cs +++ b/Items/Accessories/Wings/TracersSeraph.cs @@ -18,9 +18,10 @@ namespace CalamityMod.Items.Accessories.Wings public class TracersSeraph : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories.Wings"; + public override void SetStaticDefaults() { - ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(250, 12f, 3f); + ArmorIDs.Wing.Sets.Stats[Item.wingSlot] = new WingStats(250, 11f, 2.8f); } public override void SetDefaults() @@ -51,8 +52,8 @@ namespace CalamityMod.Items.Accessories.Wings Main.dust[num60].shader = GameShaders.Armor.GetSecondaryShader(player.cWings, player); } CalamityPlayer modPlayer = player.Calamity(); - player.accRunSpeed = 10f; - player.moveSpeed += 0.24f; + player.accRunSpeed = 9f; + player.moveSpeed += 0.18f; player.iceSkate = true; player.waterWalk = true; player.fireWalk = true; @@ -66,11 +67,11 @@ namespace CalamityMod.Items.Accessories.Wings public override void VerticalWingSpeeds(Player player, ref float ascentWhenFalling, ref float ascentWhenRising, ref float maxCanAscendMultiplier, ref float maxAscentMultiplier, ref float constantAscend) { - ascentWhenFalling = 1f; //0.85 - ascentWhenRising = 0.175f; //0.15 - maxCanAscendMultiplier = 1.2f; //1 - maxAscentMultiplier = 3.25f; //3 - constantAscend = 0.15f; //0.135 + ascentWhenFalling = 0.95f; + ascentWhenRising = 0.16f; + maxCanAscendMultiplier = 1.2f; + maxAscentMultiplier = 2.9f; + constantAscend = 0.145f; } public override void AddRecipes() diff --git a/Items/CalamityGlobalItemTweaks.cs b/Items/CalamityGlobalItemTweaks.cs index 9d3304d7fd..30e78cba6d 100644 --- a/Items/CalamityGlobalItemTweaks.cs +++ b/Items/CalamityGlobalItemTweaks.cs @@ -249,6 +249,7 @@ namespace CalamityMod.Items { ItemID.YellowPhaseblade, Do(AutoReuse, UseTurn, DamageExact(32)) }, { ItemID.YellowPhasesaber, Do(ScaleRatio(1.5f), DamageExact(60)) }, { ItemID.ZombieArm, Do(AutoReuse, UseTurn, ScaleRatio(1.25f), KnockbackExact(12f)) }, + { ItemID.Zenith, Do(DamageExact(210)) }, #endregion #region CATEGORY 2: Defense Balancing diff --git a/Items/Weapons/Magic/SubsumingVortex.cs b/Items/Weapons/Magic/SubsumingVortex.cs index e8f91b17a0..61cc7f2d32 100644 --- a/Items/Weapons/Magic/SubsumingVortex.cs +++ b/Items/Weapons/Magic/SubsumingVortex.cs @@ -45,11 +45,11 @@ namespace CalamityMod.Items.Weapons.Magic public override void SetDefaults() { - Item.damage = 483; + Item.damage = 466; Item.DamageType = DamageClass.Magic; Item.useTime = Item.useAnimation = 20; Item.shootSpeed = 7f; - Item.mana = 12; + Item.mana = 25; Item.knockBack = 5f; Item.shoot = ModContent.ProjectileType(); diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson index 085932e823..b6ae9baf10 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.Wings.hjson @@ -14,8 +14,8 @@ DrewsWings: { DisplayName: Drew's Wings Tooltip: ''' - Horizontal speed: 12.00 - Acceleration multiplier: 3.0 + Horizontal speed: 11.50 + Acceleration multiplier: 2.9 Excellent vertical speed Flight time: 361 'Absolutely Fabulous' @@ -93,7 +93,7 @@ SilvaWings: { DisplayName: Silva Wings Tooltip: ''' - Horizontal speed: 11.00 + Horizontal speed: 10.50 Acceleration multiplier: 2.8 Excellent vertical speed Flight time: 270 @@ -160,7 +160,7 @@ TracersCelestial: { ''' Counts as wings Horizontal speed: 9.00 - Acceleration multiplier: 2.5 + Acceleration multiplier: 2.6 Good vertical speed Flight time: 140 24% increased running acceleration and greater mobility on ice @@ -175,8 +175,8 @@ TracersElysian: { Tooltip: ''' Counts as wings - Horizontal speed: 10.50 - Acceleration multiplier: 2.75 + Horizontal speed: 10.00 + Acceleration multiplier: 2.7 Great vertical speed Flight time: 180 36% increased running acceleration and greater mobility on ice @@ -191,8 +191,8 @@ TracersSeraph: { Tooltip: ''' Counts as wings - Horizontal speed: 12.00 - Acceleration multiplier: 3.0 + Horizontal speed: 11.00 + Acceleration multiplier: 2.8 Excellent vertical speed Flight time: 250 50% increased running acceleration and greater mobility on ice diff --git a/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson b/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson index 68e9863f99..1c300dcf4a 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.SummonItems.hjson @@ -5,6 +5,7 @@ Abombination: { Summons the Plaguebringer Goliath when used in the Jungle Enrages outside the Jungle Not consumable + 'Radio capable of emitting a frequency recognized by the Plague nanovirus.' ''' } @@ -15,6 +16,7 @@ AstralChunk: { Summons Astrum Aureus when used in the Astral Infection Enrages during the day while outside the Astral Infection Not consumable + 'The Infection’s fortress has found another target.' ''' } @@ -34,6 +36,7 @@ BloodyWormFood: { Summons the Perforator Hive when used in the Crimson Enrages outside the Underground Crimson Not consumable + 'Do not play with your food, they won’t play with theirs.' ''' } @@ -43,6 +46,7 @@ CeremonialUrn: { ''' Use at the Altar of the Accursed to summon the Supreme Witch, Calamitas Not consumable + 'The Witch will not allow it to happen once again.' ''' } @@ -53,7 +57,7 @@ CharredIdol: { Summons the Brimstone Elemental when used in the Brimstone Crags Enrages outside the Brimstone Crags Not consumable - 'Use at your own risk' + 'Anything under her gaze shall be scorched beyond recognition.' ''' } @@ -63,6 +67,7 @@ CosmicWorm: { ''' Summons the Devourer of Gods Not consumable + 'The Nameless Serpent has set out for you.' ''' } @@ -74,6 +79,7 @@ CryoKey: { [SPAWN] Enrages outside the tundra Not consumable + 'A key for a glacial prison.' ''' SpawnNormal: Summons Cryogen when used in the tundra SpawnGFB: Summons Cryogen...? when used in the tundra @@ -85,7 +91,7 @@ DeathWhistle: { ''' Summons the Ravager Not consumable - A whistle soaked in blood + 'One of the few sounds the flesh golem still recognizes.' ''' } @@ -96,6 +102,7 @@ DecapoditaSprout: { Summons Crabulon when used in the Mushroom biome Enrages outside the Underground Mushroom biome Not consumable + 'Bristling with the spores of a unique, parasitic strain.' ''' } @@ -106,6 +113,7 @@ DesertMedallion: { Summons the Desert Scourge when used in the Desert Enrages outside the Desert Not consumable + 'The Scourge seeks for another meal.' ''' } @@ -115,6 +123,7 @@ EidolonTablet: { ''' Summons the Lunatic Cultist Not consumable + 'An aged artifact venerated by the Dragon Cult.' ''' } @@ -125,7 +134,7 @@ ExoticPheromones: { Summons The Dragonfolly when used in the Jungle Enrages outside the Jungle Not consumable - Specifically formulated to attract draconic offshoots + 'Pheromones used for hunting Draconic Offshoots.' ''' } @@ -137,6 +146,7 @@ EyeofDesolation: { Summons the Calamitas Clone when used during nighttime[GFB] Enrages during the day Not consumable + 'She is here.' ''' GFBInfo: Creates a square arena of blocks, with you at its center } @@ -166,7 +176,7 @@ NecroplasmicBeacon: { Summons Polterghast when used in the Dungeon Enrages in large spaces Not consumable - 'It's spooky' + 'The wails of the spirits disturbed something far more terrifying.' ''' } @@ -191,7 +201,7 @@ OverloadedSludge: { ''' Summons the Slime God Not consumable - 'It looks corrupted' + 'Writhing and bloated with the pus of Gods long dead.' ''' } @@ -213,7 +223,7 @@ ProfanedCore: { Unique drop changes depending on the biome fought in Enrages when fought during nighttime Not consumable - The core of the profaned flame + 'The heart of Her Guardians, Her wicked wrath shall burn upon whoever now wields it.' ''' } @@ -224,7 +234,7 @@ ProfanedShard: { [SPAWN] Enrage when not in the Hallow or Underworld Not consumable - A shard of the profaned flame + 'Her Guardians seek the holder of such vast stolen power.' ''' SpawnNormal: Summons the Profaned Guardians when used in the Hallow or Underworld during daytime SpawnRemix: Summons the Profaned Guardians when used in the Hallow or Underworld @@ -265,6 +275,7 @@ Seafood: { Summons the Aquatic Scourge when used in the Sulphurous Sea Enrages outside the Sulphurous Sea Not consumable + 'Large bait for a large catch. Beware the monsters of the seas.' ''' } @@ -285,6 +296,7 @@ Teratoma: { Summons the Hive Mind when used in the Corruption Enrages outside the Underground Corruption Not consumable + 'An exquisitely hideous tumor for those diseased in the head.' ''' } @@ -305,6 +317,6 @@ YharonEgg: { Summons Yharon, Dragon of Rebirth Enrages outside the fire walls Not consumable - An effigy of a Phoenix Dragon egg, used in worship + 'A symbol of the Dragon watching over and waiting for you.' ''' } \ No newline at end of file diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson index 9f29a02fba..3f0ea972e0 100644 --- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson +++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson @@ -22,32 +22,32 @@ ArmsDealerChat: { MentionQuadBarrel: That old man left a cranky old gun on his deathbed. You catching my drift? HasQuadBarrel: Hah! Look at that rusty old shotty. It looks straight out of the 70's! DoGDefeated: Is it me or are your weapons getting bigger and bigger? - Eclipse: That's the biggest moth I've ever seen for sure. You'd need one big gun to take one of those down. + Eclipse: I thought moths went for light, what is one doing here?! You gonna need more than a boomstick if you want to kill that! } ClothierChat: { - PolterghastDefeated: Whatever that thing was, I'm glad it's gone now + PolterghastDefeated: The voices have ceased... I don't want to know what you did there, but thank you. MoonLordDefeated1: Who you gonna call? MoonLordDefeated2: Those screams... I'm not sure why, but I feel like a nameless fear has awoken in my heart. - MoonLordDefeated3: I can faintly hear ghostly shrieks from the dungeon... and not ones I'm familiar with at all. Just what is going on in there? + MoonLordDefeated3: The voices I always kept hearing while in the Dungeon are back... There must be something behind them, I know when it's just my head. MoonLordPresent: Houston, we've had a problem. } CyborgChat: { MoonLordDefeated1: Always shoot for the moon! It has clearly worked before. - MoonLordDefeated2: Draedon? He's... a little 'high octane' if you know what I mean. - MentionPlague: Those oversized bugs terrorizing the jungle... Surely you of all people could shut them down! + MoonLordDefeated2: Draedon? The guy who made these upgrades on me said he wanted to best him, but I never cared about that, I just wanted to shoot lasers from my eyes. + MentionPlague: Those big green roaches in the Jungle don't threaten me, but all of the animals it has consumed... Please, do me a favor and protect them. Rain: All these moments will be lost in time. Like tears... in the rain. } DemolitionistChat.DoGDefeated: God Slayer Dynamite? Boy do I like the sound of that! DryadChat: { - DarksunEclipse: There's a dark solar energy emanating from the moths that appear during this time. Ah, as you progress further the moths get more powerful... + DarksunEclipse: There's a dark solar energy emanating from the moths that appear during this time. What's up with moths getting stronger as you do too? Hardmode: That starborne illness sits upon this land like a blister. Do even more vile forces of corruption exist in worlds beyond? DrunkPrincessShroom: "{0} put me up to this." Mushroom: I'm not here for any reason! Just picking up mushrooms for uh, later use. - SulphurSea: My ancestor was lost here long ago. I must pay my respects to her. + SulphurSea: My Goddess is resting deep below this sea. If you may excuse me, I wish to pay my respects to her alone. } DyeTraderChat: { @@ -61,11 +61,11 @@ GoblinTinkererChat: { } GuideChat: { - ProvidenceDefeated1: Seems like extinguishing that butterfly caused its life to seep into the hallowed areas, try taking a peek there and see what you can find! - ProvidenceDefeated2: I've heard there is a portal of antimatter absorbing everything it can see in the dungeon, try using the Rune of Kos there! - MoonLordDefeated: The dungeon seems even more restless than usual, watch out for the powerful abominations stirring up in there. + ProvidenceDefeated1: Killing a Goddess would obviously make her essence seep into the land, you can probably use the remnants of her power to make even more powerful gear! + ProvidenceDefeated2: I've heard the Dragon Cult has something locked in the Dungeon they use to power their hexes, apparently messing with it can lead you to another world... + MoonLordDefeated: I've seen members of the Dragon Cult outside of the Dungeon far more often than before... I think you should check what could be causing their displacement. Hardmode1: Could you be so kind as to, ah... check hell for me...? I left someone I kind of care about down there. - Hardmode2: I have this sudden shiver up my spine, like a meteor just fell and thousands of innocent creatures turned into monsters from the stars. + Hardmode2: That earthquake wasn't natural, something must have caused it... Beware when exploring, whatever caused it must be a powerful entity, perhaps even otherworldly. } MechanicChat: { @@ -76,7 +76,7 @@ MechanicChat: { } MerchantChat: { - MoonLordDefeated: Each night seems only more foreboding than the last. I feel unthinkable terrors are watching your every move. + MoonLordDefeated: Every night seems more tense than the last. I feel unspeakable horrors are watching over us. Eclipse: Are you daft?! Turn off those lamps! AcidRain: If this acid rain keeps up, there'll be a shortage of Dirt Blocks soon enough! Bandit: I happen to have several Angel Statues at the moment, a truely rare commodity. Want one? @@ -122,7 +122,7 @@ SkeletonMerchantChat.Normal: What'dya buyin'? SteampunkerChat: { HasPortalGun: Just what is that contraption? It makes my Teleporters look like child's play! MoonLordDefeated: Yep! I'm also considering being a space pirate now. - Astral: Some of my machines are starting to go haywire thanks to this Astral Infection. I probably shouldn't have built them here + Astral: Some of my machines are starting to go haywire thanks to this Astral Infection. I probably shouldn't have built them here. Hallow: I'm sorry I really don't have any Unicorn proof tech here, you're on your own. } @@ -142,7 +142,7 @@ TavernkeepChat: { TaxCollectorChat: { DoGDefeated: Devourer of what, you said? Devourer of Funds, if its payroll is anything to go by! - PreBrimmy: Perhaps with all that time you've got you could check those old ruins? Certainly something of value in it for you! + PreBrimmy: So those punks on Azafure think they can live for free on my lands? Tell you what, do my job there and I might give you a bonus. HasSlickCane: Goodness! That cane has swagger! Has500Plat: Where and how are you getting all of this money? Has100Plat: BAH! Doesn't seem like I'll ever be able to quarrel with the debts of the town again! @@ -157,11 +157,11 @@ TruffleChat: { WitchDoctorChat: { BloodMoon: This is as good a time as any to pick up the best ingredients for potions. - PrePlantera: I have unique items if you show me that you have bested the guardian of this jungle. - Jungle: My home here has an extensive history and a mysterious past. You'll find out quickly just how extensive it is... + PrePlantera: I remember hearing some rumours about some villagers that were creating a monster to defend their village, maybe their magic can be of use to you? + Jungle: I wonder how my relatives are doing, last time I checked on them they were too busy praising the... Sun, I think. } WizardChat: { Hardmode: Space just got way too close for comfort. - MentionRoD: I wanted to sell you a special rod I found in the Hallow, but it appears I have misplaced it. Maybe a trip back there would refresh my memory. + MentionRoD: I saw some teleporting pink men on the Hallow. If you'd be so kind as to settle me there, I could maybe make something that will give you their same powers. } \ No newline at end of file diff --git a/NPCs/CalamityGlobalNPCLoot.cs b/NPCs/CalamityGlobalNPCLoot.cs index d211fd12a3..1f6904036f 100644 --- a/NPCs/CalamityGlobalNPCLoot.cs +++ b/NPCs/CalamityGlobalNPCLoot.cs @@ -1781,8 +1781,11 @@ namespace CalamityMod.NPCs // First kill: Notify of Abyss chests being unlocked. if (!NPC.downedBoss3) { - World.Abyss.AbleToUnlockChests = true; - World.Abyss.UnlockAllAbyssChests(); + if (Main.netMode != NetmodeID.MultiplayerClient) //Only the server should do this to prevent already unlocked chests from attempting to be unlocked + { + World.Abyss.AbleToUnlockChests = true; + World.Abyss.UnlockAllAbyssChests(); + } string keysk = "Mods.CalamityMod.Status.Progression.SkeletronAbyssChestNotification"; CalamityUtils.DisplayLocalizedText(keysk, new Color(76, 181, 76)); diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index db0d27fcf0..94969bc081 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1012,7 +1012,7 @@ namespace CalamityMod.NPCs case NPCID.DyeTrader: if (Main.rand.NextBool(5) && permadong != -1) - chat = CalamityUtils.GetText("Vanilla.PainterChat.Archmage").Format(Main.npc[permadong].GivenName); + chat = CalamityUtils.GetText("Vanilla.DyeTraderChat.Archmage").Format(Main.npc[permadong].GivenName); else if (Main.rand.NextBool(5)) chat = CalamityUtils.GetTextValue("Vanilla.DyeTraderChat.Normal"); break; diff --git a/Scenes/BossBackgroundScenes/DrunkCrabBackgroundScene.cs b/Scenes/BossBackgroundScenes/DrunkCrabBackgroundScene.cs index f51b9fb674..c67ba8504e 100644 --- a/Scenes/BossBackgroundScenes/DrunkCrabBackgroundScene.cs +++ b/Scenes/BossBackgroundScenes/DrunkCrabBackgroundScene.cs @@ -28,7 +28,7 @@ namespace CalamityMod.Systems { NPC npc = Main.npc[CalamityGlobalNPC.SCal]; SupremeCalamitas supremeSomeone = npc.ModNPC(); - cirrusSpecialAttack = supremeSomeone.cirrus && supremeSomeone.gettingTired5; + cirrusSpecialAttack = supremeSomeone is not null && supremeSomeone.cirrus && supremeSomeone.gettingTired5; } } catch diff --git a/Tiles/Abyss/AbyssTreasureChest.cs b/Tiles/Abyss/AbyssTreasureChest.cs index 522cfdff9a..7e3dbcc0f4 100644 --- a/Tiles/Abyss/AbyssTreasureChest.cs +++ b/Tiles/Abyss/AbyssTreasureChest.cs @@ -27,8 +27,8 @@ namespace CalamityMod.Tiles.Abyss public override bool IsLockedChest(int i, int j) => Main.tile[i, j].TileFrameX / 36 == 1; public override bool UnlockChest(int i, int j, ref short frameXAdjustment, ref int dustType, ref bool manual) { - //Skeletron must be dead, NPC.downedBoss3 is added as a safety measure for worlds generated before this was placed or in case the first bool gets cleared - // since tmod has not fixed the modded data disappearing bug + //Skeletron must be dead, NPC.downedBoss3 is added as failsave in case chests fail to open in the Abyss' method. AbleToUnlockChests should be false unless + //the Abyss' unlock method is being run to prevent chests spawning already unlocked. if (World.Abyss.AbleToUnlockChests || NPC.downedBoss3) return true; else diff --git a/World/Abyss.cs b/World/Abyss.cs index 36921246e3..7cdca25089 100644 --- a/World/Abyss.cs +++ b/World/Abyss.cs @@ -1179,6 +1179,7 @@ namespace CalamityMod.World } } } + AbleToUnlockChests = false; //reseting the variable in case players generate multiple worlds to prevent already unlocked chests from spawning } } }