Add Avali and Protogen progression sets
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
using ForgottenWawiTech.Content.Items.Materials;
|
||||
using ForgottenWawiTech.Content.Rarities;
|
||||
using ForgottenWawiTech.Content.Items.Armor.AvaliScoutSet;
|
||||
|
||||
namespace ForgottenWawiTech.Content.Items.Armor.AvaliSkirmisherSet
|
||||
{
|
||||
[AutoloadEquip(EquipType.Body)]
|
||||
public class AvaliSkirmisherChestplate : ModItem
|
||||
{
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 18;
|
||||
Item.height = 18;
|
||||
Item.value = Item.sellPrice(gold: 7);
|
||||
Item.rare = ModContent.RarityType<AvalianItem>();
|
||||
Item.defense = 18;
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetDamage(DamageClass.Generic) += 0.10f;
|
||||
player.GetCritChance(DamageClass.Generic) += 6;
|
||||
player.statLifeMax2 += 50;
|
||||
player.moveSpeed += 0.15f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe()
|
||||
.AddIngredient(ModContent.ItemType<AvaliFeather>(), 16)
|
||||
.AddIngredient(ModContent.ItemType<AvaliScoutChestplate>(), 1)
|
||||
.AddIngredient(ItemID.ChlorophyteBar, 12)
|
||||
.AddTile(TileID.MythrilAnvil)
|
||||
.Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user