diff --git a/Items/Placeables/Furniture/ResilientCandle.cs b/Items/Placeables/Furniture/ResilientCandle.cs index 0bb9adab8a..94a87c3470 100644 --- a/Items/Placeables/Furniture/ResilientCandle.cs +++ b/Items/Placeables/Furniture/ResilientCandle.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.Furniture { Item.DefaultToPlaceableTile(ModContent.TileType()); Item.value = Item.buyPrice(gold: 25); // Sold by Wizard - Item.rare = ItemRarityID.Pink; + Item.rare = ItemRarityID.Purple; } } } diff --git a/Items/Placeables/Furniture/SpitefulCandle.cs b/Items/Placeables/Furniture/SpitefulCandle.cs index 1c6cf59f01..de60ea2da3 100644 --- a/Items/Placeables/Furniture/SpitefulCandle.cs +++ b/Items/Placeables/Furniture/SpitefulCandle.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.Furniture { Item.DefaultToPlaceableTile(ModContent.TileType()); Item.value = Item.buyPrice(gold: 25); // Sold by Wizard - Item.rare = ItemRarityID.Pink; + Item.rare = ItemRarityID.Purple; } } } diff --git a/Items/Placeables/Furniture/VigorousCandle.cs b/Items/Placeables/Furniture/VigorousCandle.cs index e203002839..9bfcb02fb6 100644 --- a/Items/Placeables/Furniture/VigorousCandle.cs +++ b/Items/Placeables/Furniture/VigorousCandle.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Placeables.Furniture { Item.DefaultToPlaceableTile(ModContent.TileType()); Item.value = Item.buyPrice(gold: 25); // Sold by Wizard - Item.rare = ItemRarityID.Pink; + Item.rare = ItemRarityID.Purple; } } } diff --git a/Items/Placeables/Furniture/WeightlessCandle.cs b/Items/Placeables/Furniture/WeightlessCandle.cs index 834e56cb4d..ea8b595f98 100644 --- a/Items/Placeables/Furniture/WeightlessCandle.cs +++ b/Items/Placeables/Furniture/WeightlessCandle.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables.Furniture { Item.DefaultToPlaceableTile(ModContent.TileType()); Item.value = Item.buyPrice(gold: 25); // Sold by Wizard - Item.rare = ItemRarityID.Pink; + Item.rare = ItemRarityID.Purple; } } } diff --git a/NPCs/AcidRain/Radiator.cs b/NPCs/AcidRain/Radiator.cs index 54e09b8fbb..3222aa67cf 100644 --- a/NPCs/AcidRain/Radiator.cs +++ b/NPCs/AcidRain/Radiator.cs @@ -8,6 +8,7 @@ using CalamityMod.Items.Placeables.Banners; using Terraria; using Terraria.GameContent.Bestiary; using Terraria.GameContent.ItemDropRules; +using Terraria.DataStructures; using Terraria.ID; using Terraria.ModLoader; @@ -17,7 +18,7 @@ namespace CalamityMod.NPCs.AcidRain { public override void SetStaticDefaults() { - Main.npcFrameCount[Type] = 4; + Main.npcFrameCount[Type] = 8; } public override void SetDefaults() @@ -52,7 +53,6 @@ namespace CalamityMod.NPCs.AcidRain AIType = NPCID.GlowingSnail; Banner = NPC.type; BannerItem = ModContent.ItemType(); - NPC.catchItem = (short)ModContent.ItemType(); NPC.Calamity().VulnerableToHeat = false; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToElectricity = true; @@ -68,8 +68,24 @@ namespace CalamityMod.NPCs.AcidRain }); } + public override void OnSpawn(IEntitySource source) + { + if (Main.rand.NextBool(10)) + { + NPC.frame.Y = NPC.height * 4; + NPC.catchItem = (short)ModContent.ItemType(); + NPC.damage = 0; + } + } + public override void AI() { + if (NPC.damage == 0) + { + Lighting.AddLight(NPC.Center, 0.7f, 0.7f, 0.7f); + return; + } + Lighting.AddLight(NPC.Center, 0.3f, 1.5f, 0.3f); if (!Main.dedServ) @@ -96,7 +112,11 @@ namespace CalamityMod.NPCs.AcidRain { NPC.frameCounter = 0; NPC.frame.Y += frameHeight; - if (NPC.frame.Y > frameHeight * 2) + if (NPC.frame.Y > frameHeight * 6) + { + NPC.frame.Y = frameHeight * 4; + } + else if (NPC.frame.Y > frameHeight * 2 && NPC.frame.Y < frameHeight * 4) { NPC.frame.Y = 0; } diff --git a/NPCs/AcidRain/Radiator.png b/NPCs/AcidRain/Radiator.png index cab779ed68..e980f0ad82 100644 Binary files a/NPCs/AcidRain/Radiator.png and b/NPCs/AcidRain/Radiator.png differ diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 18ca4435e9..8a5f398d78 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -1429,10 +1429,10 @@ namespace CalamityMod.NPCs { shop.Add() .AddWithCustomValue(ItemID.MagicMissile, Item.buyPrice(gold: 25)) - .Add() - .Add() - .Add() - .Add(); + .Add(Condition.DownedMoonLord) + .Add(Condition.DownedMoonLord) + .Add(Condition.DownedMoonLord) + .Add(Condition.DownedMoonLord); } if (type == NPCID.WitchDoctor) diff --git a/Projectiles/Pets/RadiatorPet.cs b/Projectiles/Pets/RadiatorPet.cs index 406c8e749d..3cce2aaf4b 100644 --- a/Projectiles/Pets/RadiatorPet.cs +++ b/Projectiles/Pets/RadiatorPet.cs @@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Pets Projectile.frame = 0; } } - Lighting.AddLight(Projectile.Center, 0.4f, 1f, 0.5f); + Lighting.AddLight(Projectile.Center, 0.6f, 0.6f, 0.6f); Vector2 vector46 = Projectile.position; if (!fly) {