slayer of the ancients, a god rises to the top
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
[AutoloadEquip(EquipType.Body)]
|
||||
public class AncientGodSlayerChestplate : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Ancient God Slayer Chestplate");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.Calamity().customRarity = (CalamityRarity)14;
|
||||
item.vanity = true;
|
||||
item.value = Item.buyPrice(0, 60, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 471 B |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
@@ -0,0 +1,32 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
[AutoloadEquip(EquipType.Head)]
|
||||
public class AncientGodSlayerHelm : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Ancient God Slayer Helm");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.Calamity().customRarity = (CalamityRarity)14;
|
||||
item.value = Item.buyPrice(0, 75, 0, 0);
|
||||
item.vanity = true;
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
{
|
||||
return body.type == ModContent.ItemType<AncientGodSlayerChestplate>() && legs.type == ModContent.ItemType<AncientGodSlayerLeggings>();
|
||||
}
|
||||
|
||||
public override void ArmorSetShadows(Player player)
|
||||
{
|
||||
player.armorEffectDrawShadow = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 384 B |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,22 @@
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Items.Armor.Vanity
|
||||
{
|
||||
[AutoloadEquip(EquipType.Legs)]
|
||||
public class AncientGodSlayerLeggings : ModItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Ancient God Slayer Leggings");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 28;
|
||||
item.height = 20;
|
||||
item.Calamity().customRarity = (CalamityRarity)14;
|
||||
item.value = Item.buyPrice(0, 45, 0, 0);
|
||||
item.vanity = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 405 B |
|
After Width: | Height: | Size: 2.6 KiB |
@@ -102,6 +102,12 @@ namespace CalamityMod.NPCs.CeaselessVoid
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<CeaselessVoidTrophy>(), 10);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<CeaselessVoidMask>(), 7);
|
||||
if (Main.rand.NextBool(20))
|
||||
{
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
}
|
||||
|
||||
// Other
|
||||
bool lastSentinelKilled = !CalamityWorld.downedSentinel1 && CalamityWorld.downedSentinel2 && CalamityWorld.downedSentinel3;
|
||||
|
||||
@@ -757,6 +757,12 @@ namespace CalamityMod.NPCs.Signus
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<SignusTrophy>(), 10);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<SignusMask>(), 7);
|
||||
if (Main.rand.NextBool(20))
|
||||
{
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
}
|
||||
|
||||
// Other
|
||||
bool lastSentinelKilled = CalamityWorld.downedSentinel1 && CalamityWorld.downedSentinel2 && !CalamityWorld.downedSentinel3;
|
||||
|
||||
@@ -624,6 +624,12 @@ namespace CalamityMod.NPCs.StormWeaver
|
||||
// Vanity
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<WeaverTrophy>(), 10);
|
||||
DropHelper.DropItemChance(npc, ModContent.ItemType<StormWeaverMask>(), 7);
|
||||
if (Main.rand.NextBool(20))
|
||||
{
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerHelm>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerChestplate>());
|
||||
DropHelper.DropItem(npc, ModContent.ItemType<AncientGodSlayerLeggings>());
|
||||
}
|
||||
|
||||
// Other
|
||||
bool lastSentinelKilled = CalamityWorld.downedSentinel1 && !CalamityWorld.downedSentinel2 && CalamityWorld.downedSentinel3;
|
||||
|
||||