Decimation_Mod/Content/Items/Weapons/DuneWyrm/StaffofShiftingSands.cs
FyloZ f67fdce869 Finished staff of shifting sands.
A lot of testing is needed because it's a NPC converted to a projectile and a bit hacky.
Known bugs:
    * Tail does not spawn
    * Minion slots are ignored
2020-06-23 01:11:46 -04:00

22 lines
727 B
C#

using Decimation.Content.Projectiles.DuneWyrm;
using Decimation.Lib.Items;
using Decimation.Lib.Util;
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 int ProjectileId => ModContent.ProjectileType<AncientTombCrawlerHead>();
protected override void InitWeapon()
{
item.width = 42;
item.height = 42;
item.rare = Rarity.LightRed.GetRarityValue();
}
}
}