diff --git a/Buffs/Placeables/BlueSpeedCandle.cs b/Buffs/Placeables/CirrusBlueCandleBuff.cs similarity index 91% rename from Buffs/Placeables/BlueSpeedCandle.cs rename to Buffs/Placeables/CirrusBlueCandleBuff.cs index 23db14b115..d3d141d068 100644 --- a/Buffs/Placeables/BlueSpeedCandle.cs +++ b/Buffs/Placeables/CirrusBlueCandleBuff.cs @@ -1,10 +1,10 @@ -using Terraria; +using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace CalamityMod.Buffs.Placeables { - public class BlueSpeedCandle : ModBuff + public class CirrusBlueCandleBuff : ModBuff { public override void SetStaticDefaults() { diff --git a/Buffs/Placeables/BlueSpeedCandle.png b/Buffs/Placeables/CirrusBlueCandleBuff.png similarity index 100% rename from Buffs/Placeables/BlueSpeedCandle.png rename to Buffs/Placeables/CirrusBlueCandleBuff.png diff --git a/Buffs/Placeables/PinkHealthCandle.cs b/Buffs/Placeables/CirrusPinkCandleBuff.cs similarity index 93% rename from Buffs/Placeables/PinkHealthCandle.cs rename to Buffs/Placeables/CirrusPinkCandleBuff.cs index d08088bd03..3acaf03243 100644 --- a/Buffs/Placeables/PinkHealthCandle.cs +++ b/Buffs/Placeables/CirrusPinkCandleBuff.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Buffs.Placeables { - public class PinkHealthCandle : ModBuff + public class CirrusPinkCandleBuff : ModBuff { public override void SetStaticDefaults() { diff --git a/Buffs/Placeables/PinkHealthCandle.png b/Buffs/Placeables/CirrusPinkCandleBuff.png similarity index 100% rename from Buffs/Placeables/PinkHealthCandle.png rename to Buffs/Placeables/CirrusPinkCandleBuff.png diff --git a/Buffs/Placeables/PurpleDefenseCandle.cs b/Buffs/Placeables/CirrusPurpleCandleBuff.cs similarity index 93% rename from Buffs/Placeables/PurpleDefenseCandle.cs rename to Buffs/Placeables/CirrusPurpleCandleBuff.cs index cdf04c79fb..c09beaa29f 100644 --- a/Buffs/Placeables/PurpleDefenseCandle.cs +++ b/Buffs/Placeables/CirrusPurpleCandleBuff.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Buffs.Placeables { - public class PurpleDefenseCandle : ModBuff + public class CirrusPurpleCandleBuff : ModBuff { public override void SetStaticDefaults() { diff --git a/Buffs/Placeables/PurpleDefenseCandle.png b/Buffs/Placeables/CirrusPurpleCandleBuff.png similarity index 100% rename from Buffs/Placeables/PurpleDefenseCandle.png rename to Buffs/Placeables/CirrusPurpleCandleBuff.png diff --git a/Buffs/Placeables/YellowDamageCandle.cs b/Buffs/Placeables/CirrusYellowCandleBuff.cs similarity index 95% rename from Buffs/Placeables/YellowDamageCandle.cs rename to Buffs/Placeables/CirrusYellowCandleBuff.cs index b7992069ab..c21982673d 100644 --- a/Buffs/Placeables/YellowDamageCandle.cs +++ b/Buffs/Placeables/CirrusYellowCandleBuff.cs @@ -4,7 +4,7 @@ using Terraria.ModLoader; namespace CalamityMod.Buffs.Placeables { - public class YellowDamageCandle : ModBuff + public class CirrusYellowCandleBuff : ModBuff { public override void SetStaticDefaults() { diff --git a/Buffs/Placeables/YellowDamageCandle.png b/Buffs/Placeables/CirrusYellowCandleBuff.png similarity index 100% rename from Buffs/Placeables/YellowDamageCandle.png rename to Buffs/Placeables/CirrusYellowCandleBuff.png diff --git a/Tiles/Furniture/BlueCandle.cs b/Tiles/Furniture/BlueCandle.cs index edc5b6a257..ef259ea12b 100644 --- a/Tiles/Furniture/BlueCandle.cs +++ b/Tiles/Furniture/BlueCandle.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Tiles.Furniture if (player is null) return; if (!player.dead && player.active) - player.AddBuff(ModContent.BuffType(), 20); + player.AddBuff(ModContent.BuffType(), 20); } public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) diff --git a/Tiles/Furniture/PinkCandle.cs b/Tiles/Furniture/PinkCandle.cs index f3549a1940..92fb97abfe 100644 --- a/Tiles/Furniture/PinkCandle.cs +++ b/Tiles/Furniture/PinkCandle.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Tiles.Furniture if (player is null) return; if (!player.dead && player.active) - player.AddBuff(ModContent.BuffType(), 20); + player.AddBuff(ModContent.BuffType(), 20); } public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) diff --git a/Tiles/Furniture/PurpleCandle.cs b/Tiles/Furniture/PurpleCandle.cs index d033588282..92f5aa25df 100644 --- a/Tiles/Furniture/PurpleCandle.cs +++ b/Tiles/Furniture/PurpleCandle.cs @@ -41,7 +41,7 @@ namespace CalamityMod.Tiles.Furniture if (player is null) return; if (!player.dead && player.active) - player.AddBuff(ModContent.BuffType(), 20); + player.AddBuff(ModContent.BuffType(), 20); } public override void ModifyLight(int i, int j, ref float r, ref float g, ref float b) diff --git a/Tiles/Furniture/YellowCandle.cs b/Tiles/Furniture/YellowCandle.cs index a1b486ce01..6022f1032f 100644 --- a/Tiles/Furniture/YellowCandle.cs +++ b/Tiles/Furniture/YellowCandle.cs @@ -40,19 +40,19 @@ namespace CalamityMod.Tiles.Furniture Player player = Main.LocalPlayer; if (player == null || !player.active || player.dead) return; - player.AddBuff(ModContent.BuffType(), 20); + player.AddBuff(ModContent.BuffType(), 20); if (Main.netMode != NetmodeID.MultiplayerClient) { for (int m = 0; m < Main.maxNPCs; m++) { if (Main.npc[m].active && !Main.npc[m].friendly) { - Main.npc[m].buffImmune[ModContent.BuffType()] = false; + Main.npc[m].buffImmune[ModContent.BuffType()] = false; if (Main.npc[m].Calamity().DR >= 0.99f) { - Main.npc[m].buffImmune[ModContent.BuffType()] = true; + Main.npc[m].buffImmune[ModContent.BuffType()] = true; } - Main.npc[m].AddBuff(ModContent.BuffType(), 20, false); + Main.npc[m].AddBuff(ModContent.BuffType(), 20, false); } } }