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 = 16;
Item.defense = 100;
}
public override void UpdateEquip(Player player)
{
player.moveSpeed += 50f;
player.GetDamage(DamageClass.Generic) += 5f;
player.moveSpeed += 5f;
player.GetDamage(DamageClass.Generic) += 0.5f;
player.endurance += 0.10f;
player.statLifeMax2 += 500;
player.wingTimeMax += 9000;
player.wingTime += 9000;
}
public override void AddRecipes()
{
CreateRecipe()
.AddIngredient(ModContent.ItemType<ControlledSingularity>(), 15)
.AddTile(TileID.MythrilAnvil)
.AddIngredient(ModContent.ItemType<SingularityAlloy>(), 10)
.AddTile(ModContent.TileType<SingularitySealingUnit>())
.Register();
}
}