Maw of Infinity resprite

This commit is contained in:
CongratsIsTrash committed 2026-07-14 15:32:02 -04:00
1 parent 2fd238686d
commit 8cfee1af6a
4 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ namespace CalamityMod.Items.Weapons.Melee
}
public override void SetDefaults()
{
Item.width = 78;
Item.height = 94;
Item.width = 74;
Item.height = 84;
Item.damage = 2080;
Item.DamageType = DamageClass.Melee;
Item.useTime = Item.useAnimation = 33;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 723 B

+1 -1
View File
@@ -149,7 +149,7 @@ namespace CalamityMod.Projectiles.Melee
jawScaleMult = 1-CooldownCompletion;
jawScaleMult = MathF.Pow(jawScaleMult, 3);
float rotation = Projectile.rotation - (Projectile.spriteDirection == -1 ? MathHelper.PiOver2: 0);
Vector2 DrawPos = Projectile.Center + Projectile.scale * new Vector2(50,10 * Projectile.spriteDirection).RotatedBy(Projectile.rotation - MathHelper.PiOver2 + (Projectile.spriteDirection == -1 ? -MathHelper.PiOver4 : MathHelper.PiOver4));
Vector2 DrawPos = Projectile.Center + Projectile.scale * new Vector2(50,-10 * Projectile.spriteDirection).RotatedBy(Projectile.rotation - MathHelper.PiOver2 + (Projectile.spriteDirection == -1 ? -MathHelper.PiOver4 : MathHelper.PiOver4));
Main.spriteBatch.SetBlendState(BlendState.Additive);
Main.spriteBatch.Draw(tex, DrawPos - Main.screenPosition, tex.Frame(2,1,0,0), modplayer.swingNum == 1 ? Color.Fuchsia : Color.Cyan, rotation + MathHelper.PiOver4, new Vector2(tex.Width * 0.25f,tex.Height * 0.5f), Projectile.scale * jawScaleMult, Projectile.spriteDirection == -1 ? SpriteEffects.FlipHorizontally : SpriteEffects.None, 0);