herring staff resprite

This commit is contained in:
termigator1359 committed 2020-06-26 12:35:07 -04:00
1 parent 17d53cb399
commit 5fccaf06e7
5 files changed
+3 -4

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 546 B

+1 -2
View File
@@ -19,8 +19,7 @@ namespace CalamityMod.Items.Weapons.Summon
{
item.damage = 20;
item.mana = 10;
item.width = 46;
item.height = 46;
item.width = item.height = 48;
item.useTime = item.useAnimation = 30;
item.useStyle = ItemUseStyleID.SwingThrow;
item.noMelee = true;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 805 B

After

Width:  |  Height:  |  Size: 1.0 KiB

+2 -2
View File
@@ -16,7 +16,7 @@ namespace CalamityMod.Projectiles.Summon
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Herring");
Main.projFrames[projectile.type] = 4;
Main.projFrames[projectile.type] = 8;
ProjectileID.Sets.MinionSacrificable[projectile.type] = true;
ProjectileID.Sets.MinionTargettingFeature[projectile.type] = true;
}
@@ -74,7 +74,7 @@ namespace CalamityMod.Projectiles.Summon
projectile.frame++;
projectile.frameCounter = 0;
}
if (projectile.frame > 3)
if (projectile.frame >= Main.projFrames[projectile.type])
{
projectile.frame = 0;
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB