Decimation_Mod/Content/Items/Weapons/DuneWyrm/StaffofShiftingSands.cs
2020-06-12 19:28:38 -04:00

29 lines
850 B
C#

using Decimation.Content.NPCs.DuneWyrm.AncientTombCrawler;
using Decimation.Lib.Items;
using Decimation.Lib.Util;
using Terraria;
using Terraria.ModLoader;
namespace Decimation.Content.Items.Weapons.DuneWyrm
{
public class StaffofShiftingSands : DecimationWeapon
{
protected override string ItemName => "Staff of Shifting Sands";
protected override int Damages => 30;
protected override DamageType DamagesType => DamageType.Summon;
protected override void InitWeapon()
{
item.width = 42;
item.height = 42;
item.rare = Rarity.LightRed.GetRarityValue();
}
public override bool UseItem(Player player)
{
NPC.SpawnOnPlayer(player.whoAmI, ModContent.NPCType<AncientTombCrawlerFriendly>());
return true;
}
}
}