diff --git a/Gores/Deconstructors/DeconstructorMK1_Body.png b/Gores/Deconstructors/DeconstructorMK1_Body.png new file mode 100644 index 0000000000..8cf7ae2134 Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_Body.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_Body2.png b/Gores/Deconstructors/DeconstructorMK1_Body2.png new file mode 100644 index 0000000000..9e692e8c90 Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_Body2.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_BodyAlt2_1.png b/Gores/Deconstructors/DeconstructorMK1_BodyAlt2_1.png new file mode 100644 index 0000000000..f3b5e8d1ee Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_BodyAlt2_1.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_BodyAlt2_2.png b/Gores/Deconstructors/DeconstructorMK1_BodyAlt2_2.png new file mode 100644 index 0000000000..b5bdccdc44 Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_BodyAlt2_2.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_BodyAlt_1.png b/Gores/Deconstructors/DeconstructorMK1_BodyAlt_1.png new file mode 100644 index 0000000000..e95aa036c9 Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_BodyAlt_1.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_BodyAlt_2.png b/Gores/Deconstructors/DeconstructorMK1_BodyAlt_2.png new file mode 100644 index 0000000000..f62caef49a Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_BodyAlt_2.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_Head.png b/Gores/Deconstructors/DeconstructorMK1_Head.png new file mode 100644 index 0000000000..23ba93b19e Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_Head.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_Head2.png b/Gores/Deconstructors/DeconstructorMK1_Head2.png new file mode 100644 index 0000000000..6900ed2884 Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_Head2.png differ diff --git a/Gores/Deconstructors/DeconstructorMK1_Tail.png b/Gores/Deconstructors/DeconstructorMK1_Tail.png new file mode 100644 index 0000000000..6ca67e4985 Binary files /dev/null and b/Gores/Deconstructors/DeconstructorMK1_Tail.png differ diff --git a/NPCs/Deconstructors/Burrower.cs b/NPCs/Deconstructors/Burrower.cs index 2c03656728..543b3d3ab4 100644 --- a/NPCs/Deconstructors/Burrower.cs +++ b/NPCs/Deconstructors/Burrower.cs @@ -499,30 +499,65 @@ namespace CalamityMod.NPCs.Deconstructors } } } + public override void HitEffect(NPC.HitInfo hit) + { + if (NPC.life <= 0) + { + + Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find("DeconstructorMK1_Head").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), NPC.Center, NPC.velocity, Mod.Find("DeconstructorMK1_Head2").Type, NPC.scale); + foreach (var item in Segments) + { + switch (item.segmentType) + { + case 0: + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_Body").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_Body2").Type, NPC.scale); + break; + + case 1: + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_BodyAlt_1").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_BodyAlt_2").Type, NPC.scale); + break; + + case 2: + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_BodyAlt2_1").Type, NPC.scale); + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_BodyAlt2_2").Type, NPC.scale); + break; + + case 3: + Gore.NewGore(NPC.GetSource_Death(), item.Center, NPC.velocity, Mod.Find("DeconstructorMK1_Tail").Type, NPC.scale); + break; + } + } + } + } + + public override void ModifyNPCLoot(NPCLoot npcLoot) { npcLoot.Add(ModContent.ItemType(), 1, 4, 8); npcLoot.Add(ModContent.ItemType(), 1, 4, 8); - npcLoot.Add(ItemID.CopperOre, 2, 6, 12); - npcLoot.Add(ItemID.TinOre, 2, 6, 12); - npcLoot.Add(ItemID.IronOre, 2, 4, 8); - npcLoot.Add(ItemID.LeadOre, 2, 4, 8); - npcLoot.Add(ItemID.SilverOre, 3, 4, 8); - npcLoot.Add(ItemID.TungstenOre, 3, 4, 8); - npcLoot.Add(ItemID.GoldOre, 4, 4, 8); - npcLoot.Add(ItemID.PlatinumOre, 4, 4, 8); - npcLoot.Add(ItemID.DemoniteOre, 5, 4, 8); - npcLoot.Add(ItemID.CrimtaneOre, 5, 4, 8); + npcLoot.Add(ItemID.CopperOre, 2, 6, 32); + npcLoot.Add(ItemID.TinOre, 2, 6, 32); + npcLoot.Add(ItemID.IronOre, 2, 6, 32); + npcLoot.Add(ItemID.LeadOre, 2, 6, 32); + npcLoot.Add(ItemID.SilverOre, 3, 6, 32); + npcLoot.Add(ItemID.TungstenOre, 3, 6, 32); + npcLoot.Add(ItemID.GoldOre, 4, 6, 32); + npcLoot.Add(ItemID.PlatinumOre, 4, 6, 23); + npcLoot.Add(ItemID.DemoniteOre, 5, 6, 32); + npcLoot.Add(ItemID.CrimtaneOre, 5, 6, 32); var condition = npcLoot.DefineConditionalDropSet(DropHelper.PostPlant()); - condition.Add(ItemID.CobaltOre, 2, 6, 12,true); - condition.Add(ItemID.PalladiumOre, 2, 6, 12); - condition.Add(ItemID.MythrilOre, 3, 6, 12); - condition.Add(ItemID.OrichalcumOre, 3, 6, 12); - condition.Add(ItemID.AdamantiteOre, 4, 6, 12); - condition.Add(ItemID.TitaniumOre, 4, 6, 12); - condition.Add(ModContent.ItemType(), 5, 6, 12); - condition.Add(ModContent.ItemType(), 5, 6, 12); + condition.Add(ItemID.CobaltOre, 2, 6, 32,true); + condition.Add(ItemID.PalladiumOre, 2, 6, 32); + condition.Add(ItemID.MythrilOre, 3, 6, 32); + condition.Add(ItemID.OrichalcumOre, 3, 6, 32); + condition.Add(ItemID.AdamantiteOre, 4, 6, 32); + condition.Add(ItemID.TitaniumOre, 4, 6, 32); + condition.Add(ModContent.ItemType(), 5, 6, 32); + condition.Add(ModContent.ItemType(), 5, 6, 32); } public override float SpawnChance(NPCSpawnInfo spawnInfo)