Updated Hour Glass sprite's. (Animation broken when holding out)
This commit is contained in:
parent
6db71f1c36
commit
6dcf23b6c8
@ -1,6 +1,7 @@
|
|||||||
using Decimation.Lib.Items;
|
using Decimation.Lib.Items;
|
||||||
using Decimation.Lib.Util;
|
using Decimation.Lib.Util;
|
||||||
using Terraria;
|
using Terraria;
|
||||||
|
using Terraria.DataStructures;
|
||||||
|
|
||||||
namespace Decimation.Content.Items.Tools
|
namespace Decimation.Content.Items.Tools
|
||||||
{
|
{
|
||||||
@ -8,17 +9,18 @@ namespace Decimation.Content.Items.Tools
|
|||||||
{
|
{
|
||||||
protected override string ItemName => "The Hour Glass";
|
protected override string ItemName => "The Hour Glass";
|
||||||
protected override string ItemTooltip => "Costs 50 mana.";
|
protected override string ItemTooltip => "Costs 50 mana.";
|
||||||
|
protected override DrawAnimation Animation => new DrawAnimationVertical(15, 4);
|
||||||
|
|
||||||
protected override void InitTool()
|
protected override void InitTool()
|
||||||
{
|
{
|
||||||
this.item.mana = 50;
|
item.mana = 50;
|
||||||
item.width = 22;
|
item.width = 22;
|
||||||
item.height = 36;
|
item.height = 36;
|
||||||
item.useTime = 16;
|
item.useTime = 16;
|
||||||
item.useAnimation = 16;
|
item.useAnimation = 16;
|
||||||
item.useStyle = 4;
|
item.useStyle = 4;
|
||||||
item.rare = Rarity.Purple.GetRarityValue();
|
item.rare = Rarity.Purple.GetRarityValue();
|
||||||
this.item.expert = true;
|
item.expert = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool UseItem(Player player)
|
public override bool UseItem(Player player)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 702 B |
Loading…
Reference in New Issue
Block a user