diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index 05f450afcb..5dd7abe612 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -1488,7 +1488,7 @@ namespace CalamityMod.Items #region Enchanted Rarity Text Drawing public override bool PreDrawTooltipLine(Item item, DrawableTooltipLine line, ref int yOffset) { - if (line.Name == "ItemName" && line.Mod == "Terraria" && item.type == ModContent.ItemType() && !CalamityClientConfig.Instance.TextEffects) + if (line.Name == "ItemName" && line.Mod == "Terraria" && item.type == ModContent.ItemType() && CalamityClientConfig.Instance.TextEffects) { Color rarityColor = Color.White; Vector2 basePosition = new Vector2(line.X, line.Y); diff --git a/Items/Placeables/Furniture/Paintings/ThankYouPainting.cs b/Items/Placeables/Furniture/Paintings/ThankYouPainting.cs index dc9d66908a..eac4270b73 100644 --- a/Items/Placeables/Furniture/Paintings/ThankYouPainting.cs +++ b/Items/Placeables/Furniture/Paintings/ThankYouPainting.cs @@ -54,6 +54,7 @@ namespace CalamityMod.Items.Placeables.Furniture.Paintings "Atalya", "Ben-TK", "Big E", + "carnymassacre", "CDMusic", "Cei", "CongratsIsTrash", diff --git a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson index 71d9cca713..ee926c25be 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Weapons.Ranged.hjson @@ -191,7 +191,7 @@ BloodBoiler: { Tooltip: ''' Fires twin streams of bloodfire that returns to you - Retuning bloodfire reduces [cbuff:PotionSickness] if it struck an enemy + Returning bloodfire reduces [cbuff:PotionSickness] if it struck an enemy Uses your health as ammo 20% chance to save health ''' diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 4ebe48254c..0561212160 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1311,6 +1311,8 @@ namespace CalamityMod.NPCs if (type == NPCID.Painter) { shop.AddWithCustomValue(ItemID.PainterPaintballGun, Item.buyPrice(gold: 15)) + .Add(ItemType()) + .Add(ItemType()) .Add(ItemType(), CalamityConditions.InSunken, Condition.NpcIsPresent(NPCType())); } diff --git a/Projectiles/Ranged/GodSlayerSlugProj.cs b/Projectiles/Ranged/GodSlayerSlugProj.cs index 3f492ffb36..d55f94733f 100644 --- a/Projectiles/Ranged/GodSlayerSlugProj.cs +++ b/Projectiles/Ranged/GodSlayerSlugProj.cs @@ -8,6 +8,7 @@ using Terraria; using Terraria.Audio; using Terraria.ID; using Terraria.ModLoader; +using System.Linq; namespace CalamityMod.Projectiles.Ranged { @@ -182,20 +183,25 @@ namespace CalamityMod.Projectiles.Ranged int dustID = ModContent.DustType(); int numDust = 9; float triangleAngle = Main.rand.NextFloat(MathHelper.TwoPi); - for (int i = 0; i < numDust; ++i) + for (int j = 0; j < 3; ++j) { - float lerp = i / (float)(numDust - 1); - float speed = MathHelper.Lerp(0.2f, 3.6f, lerp); - Vector2 dustVel = Vector2.UnitX.RotatedBy(triangleAngle) * speed * 2; - Dust d = Dust.NewDustDirect(Projectile.Center, 0, 0, dustID); - d.position = Projectile.Center; - d.velocity = dustVel; - d.noGravity = true; - d.fadeIn = 1.5f; - d.scale *= Main.rand.NextFloat(1.4f, 1.9f) - lerp * 0.5f; - d.color = Color.Lerp(Color.Cyan, Color.Magenta, lerp); - Dust.CloneDust(d).velocity = dustVel.RotatedBy(MathHelper.Pi * 2f / 3f); - Dust.CloneDust(d).velocity = dustVel.RotatedBy(MathHelper.Pi * 4f / 3f); + float angleOffset = MathHelper.TwoPi / 3f * j; + float currentAngle = triangleAngle + angleOffset; + + for (int i = 0; i < numDust; ++i) + { + float lerp = i / (float)(numDust - 1); + float speed = MathHelper.Lerp(0.2f, 3.6f, lerp); + + Vector2 dustVel = Vector2.UnitX.RotatedBy(currentAngle) * speed * 2f; + Dust d = Dust.NewDustDirect(Projectile.Center, 0, 0, dustID); + d.position = Projectile.Center; + d.velocity = dustVel; + d.noGravity = true; + d.fadeIn = 1.5f; + d.scale *= Main.rand.NextFloat(1.4f, 1.9f) - lerp * 0.5f; + d.color = Color.Lerp(Color.Cyan, Color.Magenta, lerp); + } } }