Decimation_Mod/Content/Items/Weapons/DuneWyrm/StaffofShiftingSands.cs
FyloZ 884e67c5e2 Updated some potions's sprite.
Changed buy price to sell price.
2020-07-09 18:03:44 -04:00

52 lines
1.9 KiB
C#

using System.Collections.Generic;
using Decimation.Content.Items.Misc.Souls;
using Decimation.Content.Projectiles.DuneWyrm;
using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Decimation.Lib.Util.Builder;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Weapons.DuneWyrm
{
public class StaffofShiftingSands : DecimationWeapon
{
protected override string ItemName => "Staff of Shifting Sands";
protected override string ItemTooltip => "Its... kinda cute...i guess..?";
protected override int Damages => 30;
protected override DamageType DamagesType => DamageType.Summon;
protected override int ProjectileId => ModContent.ProjectileType<AncientTombCrawlerHead>();
protected override void InitWeapon()
{
item.width = 42;
item.height = 42;
item.rare = Rarity.LightRed.GetRarityValue();
item.value = Item.sellPrice(gold: 2);
}
protected override List<ModRecipe> GetRecipes()
{
return new List<ModRecipe>
{
new RecipeBuilder(this)
.AnyIronBar(true)
.WithIngredient(ItemID.AncientBattleArmorMaterial)
.WithIngredient(ModContent.ItemType<SoulofTime>(), 10)
.WithIngredient(ItemID.ImpStaff)
.WithIngredient(ItemID.GoldBar, 5)
.WithStation(TileID.MythrilAnvil)
.Build(),
new RecipeBuilder(this)
.AnyIronBar(true)
.WithIngredient(ItemID.AncientBattleArmorMaterial)
.WithIngredient(ModContent.ItemType<SoulofTime>(), 10)
.WithIngredient(ItemID.ImpStaff)
.WithIngredient(ItemID.PlatinumBar, 5)
.WithStation(TileID.MythrilAnvil)
.Build()
};
}
}
}