diff --git a/CalamityLists.cs b/CalamityLists.cs index efa7544292..063021dc6d 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1742,7 +1742,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index 7cde7c355c..d801e8f6b6 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -95,10 +95,10 @@ namespace CalamityMod.Items #region Uniquely Colored Developer Items if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(Main.DiscoR, 100, 255); - if (item.type == ModContent.ItemType()) + if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(0, 0, 255); - if (item.type == ModContent.ItemType()) - nameLine.OverrideColor = Judgement.GetSyncedLightColor(); + if (item.type == ModContent.ItemType()) + nameLine.OverrideColor = TheDanceofLight.GetSyncedLightColor(); if (item.type == ModContent.ItemType()) nameLine.OverrideColor = new Color(0.34f, 0.34f + 0.66f * Main.DiscoG / 255f, 0.34f + 0.5f * Main.DiscoG / 255f); if (item.type == ModContent.ItemType()) diff --git a/Items/TreasureBags/CalamitasBag.cs b/Items/TreasureBags/CalamitasBag.cs index f481292ea1..19147fed6b 100644 --- a/Items/TreasureBags/CalamitasBag.cs +++ b/Items/TreasureBags/CalamitasBag.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropEntireWeightedSet(s, player, DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w) ); diff --git a/Items/TreasureBags/LeviathanBag.cs b/Items/TreasureBags/LeviathanBag.cs index 6aed727064..906681d8e2 100644 --- a/Items/TreasureBags/LeviathanBag.cs +++ b/Items/TreasureBags/LeviathanBag.cs @@ -58,7 +58,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.DropEntireWeightedSet(s, player, DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), diff --git a/Items/TreasureBags/SupremeCalamitasCoffer.cs b/Items/TreasureBags/SupremeCalamitasCoffer.cs index 19055ebe8d..ae9ca3bef5 100644 --- a/Items/TreasureBags/SupremeCalamitasCoffer.cs +++ b/Items/TreasureBags/SupremeCalamitasCoffer.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), - DropHelper.WeightStack(w), + DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w) diff --git a/Items/Weapons/Magic/T1000.cs b/Items/Weapons/Magic/AetherfluxCannon.cs similarity index 97% rename from Items/Weapons/Magic/T1000.cs rename to Items/Weapons/Magic/AetherfluxCannon.cs index 870e6eaa3d..0459172ea2 100644 --- a/Items/Weapons/Magic/T1000.cs +++ b/Items/Weapons/Magic/AetherfluxCannon.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class T1000 : ModItem + [LegacyName("T1000")] + public class AetherfluxCannon : ModItem { public const int UseTime = 36; diff --git a/Items/Weapons/Magic/T1000.png b/Items/Weapons/Magic/AetherfluxCannon.png similarity index 100% rename from Items/Weapons/Magic/T1000.png rename to Items/Weapons/Magic/AetherfluxCannon.png diff --git a/Items/Weapons/Magic/SirensSong.cs b/Items/Weapons/Magic/AnahitasArpeggio.cs similarity index 96% rename from Items/Weapons/Magic/SirensSong.cs rename to Items/Weapons/Magic/AnahitasArpeggio.cs index 7db7894e56..2bae10d8c3 100644 --- a/Items/Weapons/Magic/SirensSong.cs +++ b/Items/Weapons/Magic/AnahitasArpeggio.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class SirensSong : ModItem + [LegacyName("SirensSong")] + public class AnahitasArpeggio : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/SirensSong.png b/Items/Weapons/Magic/AnahitasArpeggio.png similarity index 100% rename from Items/Weapons/Magic/SirensSong.png rename to Items/Weapons/Magic/AnahitasArpeggio.png diff --git a/Items/Weapons/Magic/GammaFusillade.cs b/Items/Weapons/Magic/Biofusillade.cs similarity index 95% rename from Items/Weapons/Magic/GammaFusillade.cs rename to Items/Weapons/Magic/Biofusillade.cs index 9d680e7d14..4ed97a7d3c 100644 --- a/Items/Weapons/Magic/GammaFusillade.cs +++ b/Items/Weapons/Magic/Biofusillade.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class GammaFusillade : ModItem + [LegacyName("GammaFusillade")] + public class Biofusillade : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/GammaFusillade.png b/Items/Weapons/Magic/Biofusillade.png similarity index 100% rename from Items/Weapons/Magic/GammaFusillade.png rename to Items/Weapons/Magic/Biofusillade.png diff --git a/Items/Weapons/Magic/DeathValley.cs b/Items/Weapons/Magic/DeathValleyDuster.cs similarity index 95% rename from Items/Weapons/Magic/DeathValley.cs rename to Items/Weapons/Magic/DeathValleyDuster.cs index 1d78ea4be0..e0c135354b 100644 --- a/Items/Weapons/Magic/DeathValley.cs +++ b/Items/Weapons/Magic/DeathValleyDuster.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class DeathValley : ModItem + [LegacyName("DeathValley")] + public class DeathValleyDuster : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/DeathValley.png b/Items/Weapons/Magic/DeathValleyDuster.png similarity index 100% rename from Items/Weapons/Magic/DeathValley.png rename to Items/Weapons/Magic/DeathValleyDuster.png diff --git a/Items/Weapons/Magic/Eternity.cs b/Items/Weapons/Magic/Eternity.cs index 60e22137f8..522c67bb29 100644 --- a/Items/Weapons/Magic/Eternity.cs +++ b/Items/Weapons/Magic/Eternity.cs @@ -65,7 +65,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(). AddIngredient(20). diff --git a/Items/Weapons/Magic/FaceMelter.cs b/Items/Weapons/Magic/FaceMelter.cs index 94a1a46c21..8fa3e78725 100644 --- a/Items/Weapons/Magic/FaceMelter.cs +++ b/Items/Weapons/Magic/FaceMelter.cs @@ -93,7 +93,7 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.TheAxe). AddIngredient(ItemID.MagicalHarp). - AddIngredient(). + AddIngredient(). AddIngredient(8). AddIngredient(20). AddTile(). diff --git a/Items/Weapons/Magic/HeliumFlash.cs b/Items/Weapons/Magic/HeliumFlash.cs index baea1fd7d2..e374d1e39e 100644 --- a/Items/Weapons/Magic/HeliumFlash.cs +++ b/Items/Weapons/Magic/HeliumFlash.cs @@ -99,7 +99,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(ItemID.FragmentSolar, 20). AddIngredient(ItemID.FragmentNebula, 5). diff --git a/Items/Weapons/Magic/CalamitasInferno.cs b/Items/Weapons/Magic/LashesofChaos.cs similarity index 93% rename from Items/Weapons/Magic/CalamitasInferno.cs rename to Items/Weapons/Magic/LashesofChaos.cs index 05096534c3..33464d06df 100644 --- a/Items/Weapons/Magic/CalamitasInferno.cs +++ b/Items/Weapons/Magic/LashesofChaos.cs @@ -5,7 +5,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class CalamitasInferno : ModItem + [LegacyName("CalamitasInferno")] + public class LashesofChaos : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/CalamitasInferno.png b/Items/Weapons/Magic/LashesofChaos.png similarity index 100% rename from Items/Weapons/Magic/CalamitasInferno.png rename to Items/Weapons/Magic/LashesofChaos.png diff --git a/Items/Weapons/Magic/Lazhar.cs b/Items/Weapons/Magic/Lazhar.cs index 28aeb4e116..81bb9d5c0b 100644 --- a/Items/Weapons/Magic/Lazhar.cs +++ b/Items/Weapons/Magic/Lazhar.cs @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(1). AddIngredient(ItemID.HeatRay). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.FragmentSolar, 10). AddIngredient(ItemID.ChlorophyteBar, 6). AddTile(TileID.LunarCraftingStation). diff --git a/Items/Weapons/Magic/Zapper.cs b/Items/Weapons/Magic/Lazinator.cs similarity index 97% rename from Items/Weapons/Magic/Zapper.cs rename to Items/Weapons/Magic/Lazinator.cs index 3c38563d9c..8ca7d27dbf 100644 --- a/Items/Weapons/Magic/Zapper.cs +++ b/Items/Weapons/Magic/Lazinator.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Zapper : ModItem + [LegacyName("Zapper")] + public class Lazinator : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/Zapper.png b/Items/Weapons/Magic/Lazinator.png similarity index 100% rename from Items/Weapons/Magic/Zapper.png rename to Items/Weapons/Magic/Lazinator.png diff --git a/Items/Weapons/Magic/PrimordialEarth.cs b/Items/Weapons/Magic/PrimordialEarth.cs index 5f379994e8..b7a825199e 100644 --- a/Items/Weapons/Magic/PrimordialEarth.cs +++ b/Items/Weapons/Magic/PrimordialEarth.cs @@ -37,7 +37,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(ItemID.AncientBattleArmorMaterial, 3). AddIngredient(ItemID.MeteoriteBar, 5). AddIngredient(ItemID.Ectoplasm, 5). diff --git a/Items/Weapons/Magic/BlushieStaff.cs b/Items/Weapons/Magic/StaffofBlushie.cs similarity index 95% rename from Items/Weapons/Magic/BlushieStaff.cs rename to Items/Weapons/Magic/StaffofBlushie.cs index dc458a106c..8b9c4183bd 100644 --- a/Items/Weapons/Magic/BlushieStaff.cs +++ b/Items/Weapons/Magic/StaffofBlushie.cs @@ -6,7 +6,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class BlushieStaff : ModItem + [LegacyName("BlushieStaff")] + public class StaffofBlushie : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Magic/BlushieStaff.png b/Items/Weapons/Magic/StaffofBlushie.png similarity index 100% rename from Items/Weapons/Magic/BlushieStaff.png rename to Items/Weapons/Magic/StaffofBlushie.png diff --git a/Items/Weapons/Magic/Judgement.cs b/Items/Weapons/Magic/TheDanceofLight.cs similarity index 97% rename from Items/Weapons/Magic/Judgement.cs rename to Items/Weapons/Magic/TheDanceofLight.cs index 614f4d7fac..bcde5d2041 100644 --- a/Items/Weapons/Magic/Judgement.cs +++ b/Items/Weapons/Magic/TheDanceofLight.cs @@ -10,7 +10,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Judgement : ModItem + [LegacyName("Judgement", "Judgment")] + public class TheDanceofLight : ModItem { public const int HitsPerFlash = 300; public const int FlashBaseDamage = 16000; diff --git a/Items/Weapons/Magic/Judgement.png b/Items/Weapons/Magic/TheDanceofLight.png similarity index 100% rename from Items/Weapons/Magic/Judgement.png rename to Items/Weapons/Magic/TheDanceofLight.png diff --git a/Items/Weapons/Magic/Vehemenc.cs b/Items/Weapons/Magic/Vehemence.cs similarity index 96% rename from Items/Weapons/Magic/Vehemenc.cs rename to Items/Weapons/Magic/Vehemence.cs index 1b62ffecb7..6d790bd7d0 100644 --- a/Items/Weapons/Magic/Vehemenc.cs +++ b/Items/Weapons/Magic/Vehemence.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Vehemenc : ModItem + [LegacyName("Vehemenc")] + public class Vehemence : ModItem { public const int BaseDamage = 5185; public const float SkullRatio = 0.08f; diff --git a/Items/Weapons/Magic/Vehemenc.png b/Items/Weapons/Magic/Vehemence.png similarity index 100% rename from Items/Weapons/Magic/Vehemenc.png rename to Items/Weapons/Magic/Vehemence.png diff --git a/Items/Weapons/Magic/VoidVortex.cs b/Items/Weapons/Magic/VoidVortex.cs index 58eb802c79..9472fb9168 100644 --- a/Items/Weapons/Magic/VoidVortex.cs +++ b/Items/Weapons/Magic/VoidVortex.cs @@ -69,7 +69,7 @@ namespace CalamityMod.Items.Weapons.Magic public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(5). AddTile(). Register(); diff --git a/Items/Weapons/Magic/Climax.cs b/Items/Weapons/Magic/VoltaicClimax.cs similarity index 97% rename from Items/Weapons/Magic/Climax.cs rename to Items/Weapons/Magic/VoltaicClimax.cs index 79705e48a6..d1de652a3b 100644 --- a/Items/Weapons/Magic/Climax.cs +++ b/Items/Weapons/Magic/VoltaicClimax.cs @@ -9,7 +9,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Magic { - public class Climax : ModItem + [LegacyName("Climax")] + public class VoltaicClimax : ModItem { public const int OrbFireRate = 10; diff --git a/Items/Weapons/Magic/Climax.png b/Items/Weapons/Magic/VoltaicClimax.png similarity index 100% rename from Items/Weapons/Magic/Climax.png rename to Items/Weapons/Magic/VoltaicClimax.png diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index fdaa6156f8..5e5453a1fe 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -379,7 +379,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("Calamitas", out float order); int type = NPCType(); int summon = ItemType(); - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.BrokenHeroSword, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use an [i:{summon}] at Night"; string despawn = CalamityUtils.ColorMessage("If you wanted a fight, you should've came more prepared.", new Color(0xFF, 0xA5, 0x00)); @@ -402,7 +402,7 @@ namespace CalamityMod { BossDifficulty.TryGetValue("Leviathan", out float order); List bosses = new List() { NPCType(), NPCType() }; - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.HotlineFishingHook, ItemID.BottomlessBucket, ItemID.SuperAbsorbantSponge, ItemID.FishingPotion, ItemID.SonarPotion, ItemID.CratePotion, ItemID.GreaterHealingPotion }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = "By killing an unknown entity in the Ocean Biome"; string despawn = CalamityUtils.ColorMessage("The aquatic entities sink back beneath the ocean depths.", new Color(0x7F, 0xFF, 0xD4)); @@ -614,7 +614,7 @@ namespace CalamityMod int summon2 = ItemType(); int altar = ItemType(); List summons = new List() { summon1, summon2 }; - List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use [i:{summon1}] or a [i:{summon2}] as offering at an [i:{altar}]"; string despawn = CalamityUtils.ColorMessage("Please don't waste my time.", new Color(0xFF, 0xA5, 0x00)); diff --git a/NPCs/Calamitas/CalamitasRun3.cs b/NPCs/Calamitas/CalamitasRun3.cs index 96f1aba20c..a0979b8a5d 100644 --- a/NPCs/Calamitas/CalamitasRun3.cs +++ b/NPCs/Calamitas/CalamitasRun3.cs @@ -199,7 +199,7 @@ namespace CalamityMod.NPCs.Calamitas { ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), }; diff --git a/NPCs/Leviathan/Leviathan.cs b/NPCs/Leviathan/Leviathan.cs index 26a2e1d219..fbb32d68a1 100644 --- a/NPCs/Leviathan/Leviathan.cs +++ b/NPCs/Leviathan/Leviathan.cs @@ -755,7 +755,7 @@ namespace CalamityMod.NPCs.Leviathan { ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index 43a2d02736..bc227e91a5 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -2510,7 +2510,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), - ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/Projectiles/Magic/AetherfluxCannonHoldout.cs b/Projectiles/Magic/AetherfluxCannonHoldout.cs index 03658af086..c4966e8f81 100644 --- a/Projectiles/Magic/AetherfluxCannonHoldout.cs +++ b/Projectiles/Magic/AetherfluxCannonHoldout.cs @@ -59,7 +59,7 @@ namespace CalamityMod.Projectiles.Magic Projectile.damage = (int)Owner.GetTotalDamage().ApplyTo(weaponItem?.damage ?? 0); // Get the original weapon's use time. - int itemUseTime = weaponItem?.useAnimation ?? T1000.UseTime; + int itemUseTime = weaponItem?.useAnimation ?? AetherfluxCannon.UseTime; // 36, base use time, will result in 5. Speed increasing reforges push it to 4. int framesPerShot = itemUseTime / 7; diff --git a/Projectiles/Magic/ClimaxProj.cs b/Projectiles/Magic/ClimaxProj.cs index 1995337b66..e57117da70 100644 --- a/Projectiles/Magic/ClimaxProj.cs +++ b/Projectiles/Magic/ClimaxProj.cs @@ -53,7 +53,7 @@ namespace CalamityMod.Projectiles.Magic // but once it's past that then it can fire constantly --Projectile.ai[0]; if (Projectile.ai[0] < 0f) - CalamityGlobalProjectile.MagnetSphereHitscan(Projectile, 400f, 8f, Climax.OrbFireRate, 2, ModContent.ProjectileType(), 1D, true); + CalamityGlobalProjectile.MagnetSphereHitscan(Projectile, 400f, 8f, VoltaicClimax.OrbFireRate, 2, ModContent.ProjectileType(), 1D, true); } public override Color? GetAlpha(Color lightColor) diff --git a/Projectiles/Magic/LightBlade.cs b/Projectiles/Magic/LightBlade.cs index 27e1b19141..86d79444d9 100644 --- a/Projectiles/Magic/LightBlade.cs +++ b/Projectiles/Magic/LightBlade.cs @@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Magic { // Pick a random sword sprite and a random color to use. Projectile.frame = Main.rand.Next(14); - lightColor = Judgement.GetRandomLightColor(); + lightColor = TheDanceofLight.GetRandomLightColor(); // Spawn starting dust. Vector2 baseOffsetVec = new Vector2(1f, 4f); @@ -115,12 +115,12 @@ namespace CalamityMod.Projectiles.Magic Player player = Main.player[Projectile.owner]; CalamityPlayer calPlayer = player.Calamity(); calPlayer.danceOfLightCharge++; - if (calPlayer.danceOfLightCharge >= Judgement.HitsPerFlash) + if (calPlayer.danceOfLightCharge >= TheDanceofLight.HitsPerFlash) { calPlayer.danceOfLightCharge = 0; if (Projectile.owner == Main.myPlayer) { - int flashDamage = (int)player.GetTotalDamage().ApplyTo(Judgement.FlashBaseDamage); + int flashDamage = (int)player.GetTotalDamage().ApplyTo(TheDanceofLight.FlashBaseDamage); Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType(), flashDamage, 0f, Projectile.owner); } } diff --git a/Projectiles/Magic/Vehemence.cs b/Projectiles/Magic/Vehemence.cs index 7baca80d57..d87b4a25a8 100644 --- a/Projectiles/Magic/Vehemence.cs +++ b/Projectiles/Magic/Vehemence.cs @@ -85,7 +85,7 @@ namespace CalamityMod.Projectiles.Magic if (Main.myPlayer == Projectile.owner) { int skullID = ModContent.ProjectileType(); - int damage = (int)(Projectile.damage * Vehemenc.SkullRatio); + int damage = (int)(Projectile.damage * Items.Weapons.Magic.Vehemence.SkullRatio); for (int i = 0; i < 18; i++) Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Main.rand.NextVector2Circular(12f, 12f), skullID, damage, Projectile.knockBack, Projectile.owner); }