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
22 lines
727 B
C#
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();
|
|
}
|
|
}
|
|
} |