diff --git a/Items/Accessories/FungalClump.cs b/Items/Accessories/FungalClump.cs index 49330c0c67..fcef579a53 100644 --- a/Items/Accessories/FungalClump.cs +++ b/Items/Accessories/FungalClump.cs @@ -43,7 +43,7 @@ namespace CalamityMod.Items.Accessories if (player.ownedProjectileCounts[ModContent.ProjectileType()] < 1) { var source = player.GetSource_Accessory(Item); - int damage = (int)player.GetTotalDamage().ApplyTo(FungalClumpDamage); + int damage = (int)player.GetBestClassDamage().ApplyTo(FungalClumpDamage); int p = Projectile.NewProjectile(source, player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType(), damage, 1f, player.whoAmI, 0f, 0f); if (Main.projectile.IndexInRange(p)) Main.projectile[p].originalDamage = FungalClumpDamage; diff --git a/Localization/CalamityLocalization.cs b/Localization/CalamityLocalization.cs index f0fa24c013..fa9610dd42 100644 --- a/Localization/CalamityLocalization.cs +++ b/Localization/CalamityLocalization.cs @@ -34,7 +34,7 @@ namespace CalamityMod.Localization new [] { "PlagueBossText", "PLAGUE NUKE BARRAGE ARMED, PREPARING FOR LAUNCH!!!" }, new [] { "PlagueBossText2", "MISSILES LAUNCHED, TARGETING ROUTINE INITIATED!!!" }, - new [] { "ProfanedBossText", "The air is burning..." }, + new [] { "ProfanedBossText", "Holy flames burn away at your wings..." }, new [] { "ProfanedBossText2", "Shrieks are echoing from the dungeon." }, new [] { "ProfanedBossText3", "The calamitous beings have been inundated with bloodstone." }, new [] { "ProfanedBossText4", "The Profaned Goddess has recognised your devotion to purity!" }, @@ -216,6 +216,8 @@ namespace CalamityMod.Localization new [] { "CometShardText", "You have already used a Comet Shard. Using more would make you nauseous." }, new [] { "EtherealCoreText", "You have already used an Ethereal Core. It's best to not use more than you are able to." }, new [] { "PhantomHeartText", "You have already used a Phantom Heart. It's probably good that you can't use another." }, + + new [] { "SlimeGodRun", "The Slime God flees to fight another day..." }, }; } diff --git a/NPCs/SlimeGod/SlimeGodCore.cs b/NPCs/SlimeGod/SlimeGodCore.cs index 80dc1f897e..30d3bbfa16 100644 --- a/NPCs/SlimeGod/SlimeGodCore.cs +++ b/NPCs/SlimeGod/SlimeGodCore.cs @@ -235,6 +235,15 @@ namespace CalamityMod.NPCs.SlimeGod Main.dust[num624].velocity *= 2f; } + // Let the player know that the Slime God isn't dead fr + if (!DownedBossSystem.downedSlimeGod) + { + string key = "Mods.CalamityMod.SlimeGodRun"; + Color messageColor = Color.Magenta; + + CalamityUtils.DisplayLocalizedText(key, messageColor); + } + NPC.active = false; NPC.HitEffect(); NPC.NPCLoot(); diff --git a/Projectiles/Healing/FungalHeal.cs b/Projectiles/Healing/FungalHeal.cs index f464d1a4cd..27696e2a19 100644 --- a/Projectiles/Healing/FungalHeal.cs +++ b/Projectiles/Healing/FungalHeal.cs @@ -23,16 +23,6 @@ namespace CalamityMod.Projectiles.Healing public override void AI() { - if (Projectile.localAI[0] == 0f) - { - Player player = Main.player[Projectile.owner]; - Item item = player.ActiveItem(); - bool summonNotWhip = item.CountsAsClass() && !item.CountsAsClass(); - if (summonNotWhip || item.hammer > 0 || item.pick > 0 || item.axe > 0) - Projectile.timeLeft = 600; - Projectile.localAI[0] += 1f; - } - Projectile.HealingProjectile((int)Projectile.ai[1], (int)Projectile.ai[0], 5f, 15f); float num494 = Projectile.velocity.X * 0.334f; float num495 = -(Projectile.velocity.Y * 0.334f); diff --git a/Projectiles/Summon/FungalClumpMinion.cs b/Projectiles/Summon/FungalClumpMinion.cs index c5eedf42a4..aa5799513f 100644 --- a/Projectiles/Summon/FungalClumpMinion.cs +++ b/Projectiles/Summon/FungalClumpMinion.cs @@ -34,7 +34,6 @@ namespace CalamityMod.Projectiles.Summon Projectile.timeLeft *= 5; Projectile.minion = true; Projectile.tileCollide = false; - Projectile.DamageType = DamageClass.Summon; } public override void AI()