Add Singularity Alloy, add a (possibly final) set bonus for Singularity Set

This commit is contained in:
2025-11-10 14:09:07 +00:00
parent ad931f3848
commit d17cce5f21
7 changed files with 88 additions and 21 deletions
@@ -3,6 +3,7 @@ using Terraria.ID;
using Terraria.ModLoader;
using ForgottenWawiTech.Content.Items.Materials;
using ForgottenWawiTech.Content.Rarities;
using ForgottenWawiTech.Content.Tiles.CraftingStations;
namespace ForgottenWawiTech.Content.Items.Armor.SingularitySet
{
@@ -13,22 +14,27 @@ namespace ForgottenWawiTech.Content.Items.Armor.SingularitySet
{
Item.width = 18;
Item.height = 18;
Item.value = Item.sellPrice(gold: 5);
Item.value = Item.sellPrice(platinum: 500);
Item.rare = ModContent.RarityType<SingularityItem>();
Item.defense = 24;
Item.defense = 100;
}
public override void UpdateEquip(Player player)
{
player.GetDamage(DamageClass.Generic) += 0.12f;
player.GetDamage(DamageClass.Generic) += 0.5f;
player.statManaMax2 += 40;
player.endurance += 0.10f;
player.manaCost -= 0.5f;
player.statLifeMax2 += 1000;
player.maxMinions += 20;
}
public override void AddRecipes()
{
CreateRecipe()
.AddIngredient(ModContent.ItemType<ControlledSingularity>(), 18)
.AddTile(TileID.MythrilAnvil)
.AddIngredient(ModContent.ItemType<SingularityAlloy>(), 12)
.AddTile(ModContent.TileType<SingularitySealingUnit>())
.Register();
}
}