Add Singularity Alloy, add a (possibly final) set bonus for Singularity Set
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,15 +14,18 @@ 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 = 18;
|
||||
Item.defense = 100;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetDamage(DamageClass.Generic) += 0.15f;
|
||||
player.GetCritChance(DamageClass.Generic) += 10;
|
||||
player.GetDamage(DamageClass.Generic) += 0.5f;
|
||||
player.GetCritChance(DamageClass.Generic) += 100;
|
||||
player.endurance += 0.10f;
|
||||
player.statLifeMax2 += 500;
|
||||
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
@@ -31,16 +35,18 @@ namespace ForgottenWawiTech.Content.Items.Armor.SingularitySet
|
||||
|
||||
public override void UpdateArmorSet(Player player)
|
||||
{
|
||||
player.setBonus = "Increased damage and critical strike chance\n+20% damage\n+15% critical strike chance";
|
||||
player.GetDamage(DamageClass.Generic) += 0.20f;
|
||||
player.GetCritChance(DamageClass.Generic) += 15;
|
||||
player.setBonus = "Every hit is a guaranteed critical hit.\nIncreases defense by 50% and allows you to walk on water.";
|
||||
player.GetCritChance(DamageClass.Generic) = 1000;
|
||||
player.waterWalk = true;
|
||||
player.statDefense *= 1.5f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe()
|
||||
.AddIngredient(ModContent.ItemType<ControlledSingularity>(), 12)
|
||||
.AddTile(TileID.MythrilAnvil)
|
||||
.AddIngredient(ModContent.ItemType<SingularityAlloy>(), 8)
|
||||
.AddTile(ModContent.TileType<SingularitySealingUnit>())
|
||||
.Register();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user