diff --git a/CalamityMod.cs b/CalamityMod.cs index 07fe0553eb..4760309472 100644 --- a/CalamityMod.cs +++ b/CalamityMod.cs @@ -2218,6 +2218,7 @@ namespace CalamityMod ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), + ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), ModContent.ItemType(), diff --git a/Items/Placeables/Furniture/Trophies/OldDukeTrophy.cs b/Items/Placeables/Furniture/Trophies/OldDukeTrophy.cs new file mode 100644 index 0000000000..1c1016f360 --- /dev/null +++ b/Items/Placeables/Furniture/Trophies/OldDukeTrophy.cs @@ -0,0 +1,29 @@ +using CalamityMod.Tiles.Furniture; +using Terraria.ModLoader; +namespace CalamityMod.Items.Placeables.Furniture.Trophies +{ + public class OldDukeTrophy : ModItem + { + public override void SetStaticDefaults() + { + DisplayName.SetDefault("Old Duke Trophy"); + } + + public override void SetDefaults() + { + item.width = 30; + item.height = 30; + item.maxStack = 99; + item.useTurn = true; + item.autoReuse = true; + item.useAnimation = 15; + item.useTime = 10; + item.useStyle = 1; + item.consumable = true; + item.value = 50000; + item.rare = 1; + item.createTile = ModContent.TileType(); + item.placeStyle = 24; + } + } +} diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index 557f588b97..566e9861f0 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -472,8 +472,8 @@ namespace CalamityMod List bosses = new List() { NPCType() }; int summon = ItemType(); List loot = new List() { ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemType(), ItemID.SuperHealingPotion }; - List collection = new List() { /*ItemType(), */ItemType(), ItemType() }; - string instructions = $"Reach a high percentage in the post-Polterghast Acid Rain event or fish using a [i:{summon}] in the Sulphurous Sea"; + List collection = new List() { ItemType(), ItemType(), ItemType() }; + string instructions = $"Defeat the Acid Rain event post-Polterghast or fish using a [i:{summon}] in the Sulphurous Sea"; string despawn = CalamityUtils.ColorMessage("The old duke disappears amidst the acidic downpour.", new Color(0xF0, 0xE6, 0x8C)); AddBoss(bossChecklist, calamity, "OldDuke", order, bosses, DownedBoomerDuke, summon, loot, collection, instructions, despawn); } diff --git a/NPCs/OldDuke/OldDuke.cs b/NPCs/OldDuke/OldDuke.cs index 2cc2f061f9..a7c7d6ebc4 100644 --- a/NPCs/OldDuke/OldDuke.cs +++ b/NPCs/OldDuke/OldDuke.cs @@ -385,7 +385,7 @@ namespace CalamityMod.NPCs.OldDuke { DropHelper.DropBags(npc); - //DropHelper.DropItemChance(npc, ModContent.ItemType(), 10); + DropHelper.DropItemChance(npc, ModContent.ItemType(), 10); DropHelper.DropItemCondition(npc, ModContent.ItemType(), true, !CalamityWorld.downedBoomerDuke); DropHelper.DropResidentEvilAmmo(npc, CalamityWorld.downedBoomerDuke, 6, 3, 2); diff --git a/Projectiles/Boss/OldDukeVortex.cs b/Projectiles/Boss/OldDukeVortex.cs index 5e0a536b1e..d051097cd0 100644 --- a/Projectiles/Boss/OldDukeVortex.cs +++ b/Projectiles/Boss/OldDukeVortex.cs @@ -61,7 +61,7 @@ namespace CalamityMod.Projectiles.Boss projectile.velocity = Vector2.Normalize(new Vector2(projectile.ai[0], projectile.ai[1]) - projectile.Center) * 1.5f; - projectile.rotation += 0.1f * (float)(1D - (projectile.alpha / 255D)); + projectile.rotation -= 0.1f * (float)(1D - (projectile.alpha / 255D)); float lightAmt = 2f * projectile.scale; Lighting.AddLight(projectile.Center, lightAmt, lightAmt * 2f, lightAmt); diff --git a/Tiles/Furniture/BossTrophy.cs b/Tiles/Furniture/BossTrophy.cs index d15a3b2e56..97e3efa790 100644 --- a/Tiles/Furniture/BossTrophy.cs +++ b/Tiles/Furniture/BossTrophy.cs @@ -102,6 +102,9 @@ namespace CalamityMod.Tiles.Furniture case 23: item = ModContent.ItemType(); break; + case 24: + item = ModContent.ItemType(); + break; } if (item > 0) { diff --git a/Tiles/Furniture/BossTrophy.png b/Tiles/Furniture/BossTrophy.png index b90a408cfa..ca34f6e080 100644 Binary files a/Tiles/Furniture/BossTrophy.png and b/Tiles/Furniture/BossTrophy.png differ