From 5cfbb8b2c2697309d070790984adaafceda6f367 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Wed, 22 Jun 2022 01:21:14 -0400 Subject: [PATCH] Renamed Wrathwing internally --- CalamityLists.cs | 2 +- Items/TreasureBags/YharonBag.cs | 2 +- Items/Weapons/Rogue/ScarletDevil.cs | 2 +- .../Rogue/{ProfanedTrident.cs => Wrathwing.cs} | 3 ++- .../Rogue/{ProfanedTrident.png => Wrathwing.png} | Bin ModSupport/WeakReferenceSupport.cs | 2 +- NPCs/Yharon/Yharon.cs | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) rename Items/Weapons/Rogue/{ProfanedTrident.cs => Wrathwing.cs} (96%) rename Items/Weapons/Rogue/{ProfanedTrident.png => Wrathwing.png} (100%) diff --git a/CalamityLists.cs b/CalamityLists.cs index 2b5b667c82..bc4ff40370 100644 --- a/CalamityLists.cs +++ b/CalamityLists.cs @@ -1409,7 +1409,7 @@ namespace CalamityMod ItemType(), ItemType(), ItemType(), - ItemType(), + ItemType(), ItemType(), ItemType(), ItemType(), diff --git a/Items/TreasureBags/YharonBag.cs b/Items/TreasureBags/YharonBag.cs index 64666997ef..a5da3decb1 100644 --- a/Items/TreasureBags/YharonBag.cs +++ b/Items/TreasureBags/YharonBag.cs @@ -62,7 +62,7 @@ namespace CalamityMod.Items.TreasureBags DropHelper.WeightStack(w), DropHelper.WeightStack(w), DropHelper.WeightStack(w), // Yharon Kindle Staff - DropHelper.WeightStack(w), // Infernal Spear + DropHelper.WeightStack(w), // Infernal Spear DropHelper.WeightStack(w) ); diff --git a/Items/Weapons/Rogue/ScarletDevil.cs b/Items/Weapons/Rogue/ScarletDevil.cs index 8b344f3663..c9fc7aac16 100644 --- a/Items/Weapons/Rogue/ScarletDevil.cs +++ b/Items/Weapons/Rogue/ScarletDevil.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void AddRecipes() { CreateRecipe(). - AddIngredient(). + AddIngredient(). AddIngredient(). AddIngredient(15). AddIngredient(ItemID.SoulofNight, 15). diff --git a/Items/Weapons/Rogue/ProfanedTrident.cs b/Items/Weapons/Rogue/Wrathwing.cs similarity index 96% rename from Items/Weapons/Rogue/ProfanedTrident.cs rename to Items/Weapons/Rogue/Wrathwing.cs index c44e8eb090..c4989bd9f7 100644 --- a/Items/Weapons/Rogue/ProfanedTrident.cs +++ b/Items/Weapons/Rogue/Wrathwing.cs @@ -7,7 +7,8 @@ using Terraria.ModLoader; namespace CalamityMod.Items.Weapons.Rogue { - public class ProfanedTrident : ModItem + [LegacyName("ProfanedTrident")] + public class Wrathwing : ModItem { public override void SetStaticDefaults() { diff --git a/Items/Weapons/Rogue/ProfanedTrident.png b/Items/Weapons/Rogue/Wrathwing.png similarity index 100% rename from Items/Weapons/Rogue/ProfanedTrident.png rename to Items/Weapons/Rogue/Wrathwing.png diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index aa933ba14e..333edba635 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -586,7 +586,7 @@ namespace CalamityMod BossDifficulty.TryGetValue("Yharon", 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(), */ItemType() }; + List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), /*ItemType(), */ItemType() }; List collection = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType() }; string instructions = $"Use a [i:{summon}] in the Jungle Biome"; string despawn = CalamityUtils.ColorMessage("Yharon found you too weak to stay near your gravestone.", new Color(0xFF, 0xA5, 0x00)); diff --git a/NPCs/Yharon/Yharon.cs b/NPCs/Yharon/Yharon.cs index 5d45f17900..b7e51b3990 100644 --- a/NPCs/Yharon/Yharon.cs +++ b/NPCs/Yharon/Yharon.cs @@ -2816,7 +2816,7 @@ namespace CalamityMod.NPCs.Yharon ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), // Yharon Kindle Staff - ModContent.ItemType(), // Infernal Spear + ModContent.ItemType(), // Infernal Spear ModContent.ItemType(), }; normalOnly.Add(DropHelper.CalamityStyle(DropHelper.NormalWeaponDropRateFraction, weapons));