Brimstone Elemental Mask

This commit is contained in:
Amber Sienna committed 2020-01-07 19:45:28 +00:00
1 parent 88aedb4909
commit e2f157beca
6 files changed
+30 -1

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
using Terraria.ModLoader;
namespace CalamityMod.Items.Armor.Vanity
{
[AutoloadEquip(EquipType.Head)]
public class BrimstoneWaifuMask : ModItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Brimstone Elemental Mask");
}
public override void SetDefaults()
{
item.width = 30;
item.height = 28;
item.rare = 1;
item.vanity = true;
}
public override bool DrawHead()
{
return false;
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 463 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

+2
View File
@@ -1,5 +1,6 @@
using CalamityMod.Items.Accessories;
using CalamityMod.Items.Armor.Vanity;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Mounts;
using CalamityMod.Items.Pets;
@@ -59,6 +60,7 @@ namespace CalamityMod.Items.TreasureBags
// Vanity
DropHelper.DropItemCondition(player, ModContent.ItemType<CharredRelic>(), CalamityWorld.revenge);
DropHelper.DropItemChance(player, ModContent.ItemType<BrimstoneWaifuMask>(), 7);
}
}
}
+1 -1
View File
@@ -190,7 +190,7 @@ namespace CalamityMod
"Brimstone Elemental",
(Func<bool>)(() => CalamityWorld.downedBrimstoneElemental),
ModContent.ItemType<CharredIdol>(),
new List<int>() {ModContent.ItemType<BrimstoneElementalTrophy>(), ModContent.ItemType<KnowledgeBrimstoneCrag>(), ModContent.ItemType<KnowledgeBrimstoneElemental>(), ModContent.ItemType<CharredRelic>()},
new List<int>() {ModContent.ItemType<BrimstoneElementalTrophy>(), ModContent.ItemType<BrimstoneWaifuMask>(), ModContent.ItemType<KnowledgeBrimstoneCrag>(), ModContent.ItemType<KnowledgeBrimstoneElemental>(), ModContent.ItemType<CharredRelic>()},
new List<int>() {ModContent.ItemType<BrimstoneWaifuBag>(), ItemID.SoulofFright, ModContent.ItemType<EssenceofChaos>(), ModContent.ItemType<Bloodstone>(), ModContent.ItemType<Brimlance>(), ModContent.ItemType<SeethingDischarge>(), ModContent.ItemType<Abaddon>(), ModContent.ItemType<RoseStone>(), ModContent.ItemType<Gehenna>(), ModContent.ItemType<Brimrose>(), ItemID.GreaterHealingPotion},
"Use a [i:" + ModContent.ItemType<CharredIdol>() + "] in the Brimstone Crag",
"[c/DC143C:Brimstone Elemental withdraws to the ruins of her shrine.]");
@@ -2,6 +2,7 @@
using CalamityMod.Buffs.StatDebuffs;
using CalamityMod.CalPlayer;
using CalamityMod.Items.Accessories;
using CalamityMod.Items.Armor.Vanity;
using CalamityMod.Items.LoreItems;
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
@@ -208,6 +209,7 @@ namespace CalamityMod.NPCs.BrimstoneElemental
DropHelper.DropResidentEvilAmmo(npc, CalamityWorld.downedBrimstoneElemental, 4, 2, 1);
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeBrimstoneCrag>(), true, !CalamityWorld.downedBrimstoneElemental);
DropHelper.DropItemCondition(npc, ModContent.ItemType<KnowledgeBrimstoneElemental>(), true, !CalamityWorld.downedBrimstoneElemental);
DropHelper.DropItemChance(npc, ModContent.ItemType<BrimstoneWaifuMask>(), 7);
// if prime hasn't been killed and this is the first time killing brimmy, do the message
string key = "Mods.CalamityMod.SteelSkullBossText";