Gelitic Blade's projectile, Spark Spreader, Tesla Potion resprites
No files matched your search
|
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 366 B |
@@ -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;
|
||||
|
||||
|
Before Width: | Height: | Size: 649 B After Width: | Height: | Size: 2.0 KiB |
@@ -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;
|
||||
|
||||
|
Before Width: | Height: | Size: 859 B After Width: | Height: | Size: 880 B |
|
Before Width: | Height: | Size: 1002 B After Width: | Height: | Size: 1.5 KiB |