Gelitic Blade's projectile, Spark Spreader, Tesla Potion resprites

This commit is contained in:
CongratsIsTrash committed 2023-12-05 09:25:44 -05:00
1 parent 460a238bc2
commit 0809682aa7
6 files changed
+11 -5

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 366 B

+9 -3
View File
@@ -3,6 +3,7 @@ using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables;
using CalamityMod.Items.Placeables.Ores;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
@@ -11,12 +12,17 @@ namespace CalamityMod.Items.Potions
public class TeslaPotion : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Potions";
public override void SetStaticDefaults() => Item.ResearchUnlockCount = 20;
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 20;
Main.RegisterItemAnimation(Type, new DrawAnimationVertical(6, 8));
ItemID.Sets.AnimatesAsSoul[Type] = true;
}
public override void SetDefaults()
{
Item.width = 24;
Item.height = 26;
Item.width = 34;
Item.height = 34;
Item.useTurn = true;
Item.maxStack = 9999;
Item.rare = ItemRarityID.Orange;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 649 B

After

Width:  |  Height:  |  Size: 2.0 KiB

+2 -2
View File
@@ -22,8 +22,8 @@ namespace CalamityMod.Items.Weapons.Ranged
Item.shootSpeed = 6f;
Item.shoot = ModContent.ProjectileType<SparkSpreaderFire>();
Item.width = 52;
Item.height = 20;
Item.width = 56;
Item.height = 26;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.UseSound = SoundID.Item34;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 B

After

Width:  |  Height:  |  Size: 880 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1002 B

After

Width:  |  Height:  |  Size: 1.5 KiB