Decimation_Mod/Content/Items/Misc/Souls/SoulofSpite.cs
FyloZ ec4585bed5 - Changed Bloodshot Eye's music to Boss 1 Orchestra ( https://www.youtube.com/watch?time_continue=120&v=r-9nKGc85FQ )
- Added support for animated projectiles
- Refactoring
- Removed useless fields
- Fixed swords not dealing damages
- Added Hour Hand (from Evie's PR)
2020-03-21 00:11:07 -04:00

41 lines
1.4 KiB
C#

using Decimation.Lib.Items;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
namespace Decimation.Content.Items.Misc.Souls
{
internal class SoulofSpite : DecimationItem
{
protected override string ItemName => "Soul of Spite";
protected override string ItemTooltip => "The essence of malice.";
protected override DrawAnimation Animation => new DrawAnimationVertical(5, 4);
protected override void Init()
{
Item refItem = new Item();
refItem.SetDefaults(ItemID.SoulofSight);
item.width = refItem.width;
item.height = refItem.height;
this.item.maxStack = 999;
item.value = 50000;
ItemID.Sets.AnimatesAsSoul[this.item.type] = true;
ItemID.Sets.ItemIconPulse[this.item.type] = true;
ItemID.Sets.ItemNoGravity[this.item.type] = true;
}
// Uncomment when Slime Prince will be done
/**public class SoulGlobalNPC : GlobalNPC
{
public override void NPCLoot(NPC npc)
{
if (npc.type == mod.NPCType<SlimePrince>())
{
Item.NewItem((int)npc.position.X, (int)npc.position.Y, npc.width, npc.height, ModContent.ItemType<SoulofSpite>(), Main.rand.Next(12, 25));
}
}
}**/
}
}