From 6dcf23b6c86c70f1c4d42f0b2665aa3f21c7d7c5 Mon Sep 17 00:00:00 2001 From: FyloZ Date: Thu, 9 Jul 2020 19:59:07 -0400 Subject: [PATCH] Updated Hour Glass sprite's. (Animation broken when holding out) --- Content/Items/Tools/TheHourGlass.cs | 6 ++++-- Content/Items/Tools/TheHourGlass.png | Bin 329 -> 702 bytes 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Content/Items/Tools/TheHourGlass.cs b/Content/Items/Tools/TheHourGlass.cs index 1bf922a..a7452cc 100644 --- a/Content/Items/Tools/TheHourGlass.cs +++ b/Content/Items/Tools/TheHourGlass.cs @@ -1,6 +1,7 @@ using Decimation.Lib.Items; using Decimation.Lib.Util; using Terraria; +using Terraria.DataStructures; namespace Decimation.Content.Items.Tools { @@ -8,17 +9,18 @@ namespace Decimation.Content.Items.Tools { protected override string ItemName => "The Hour Glass"; protected override string ItemTooltip => "Costs 50 mana."; + protected override DrawAnimation Animation => new DrawAnimationVertical(15, 4); protected override void InitTool() { - this.item.mana = 50; + item.mana = 50; item.width = 22; item.height = 36; item.useTime = 16; item.useAnimation = 16; item.useStyle = 4; item.rare = Rarity.Purple.GetRarityValue(); - this.item.expert = true; + item.expert = true; } public override bool UseItem(Player player) diff --git a/Content/Items/Tools/TheHourGlass.png b/Content/Items/Tools/TheHourGlass.png index 1cae3861a565e834e75508ae67b5ff5792459fd3..b4d025a54218c8bfb6524536af27b86a5cf3b402 100644 GIT binary patch delta 691 zcmV;k0!;nM0=@;17k`il1^@s63|*W40007mNkl`4Pi+ zw@Z02Obq)5o0kh0+^j>hJ=bO z;tZvf8nBId_kU>-9<^I9a5nSS44HKhn9TnnFoxjyd>_Kr3@0+fWt$_&tZ)WQF}*sB zU>4gtj#IyYJ-gYMssY=EwwSRP7*`PPw0YTn%N&VGM^JNw$rvXi61YCAG&1E%EVf{& z3@~$-tAEezX47ikgCus0yOH`oX0 zo^TPx`{e;s9>ko@Y)nbDX$luHFvZ*^Pzrkx%o69o)ipOZWp4^^XC9<5Fy%qS!kcnS zW&>iYpk{8wz}|xd&X@nnSOqnSRUNfSDfGP0^%Z?yM%4TIjJb-wI$6PGtTsT{z}|zD zUk9N^n15K&+Zqr9*Uy8PjGcK9G4S8nr-ajHvhZ8FLlA_aFgoOYEalo zF>&hUi+l$Jcvvs|bMd|S?*IRyomt)~#&^U|zGRMi@rQ@^rq5QJK-1sJSLb-2v{a1` zJ?>K)Tp47(#8CLCM$wid9wx~SD57`v%F9G_o_p8>z6$?k7+NoojC8<`D;MuFnGH9xvX