Maw of Infinity resprite
This commit is contained in:
1 parent
2fd238686d
commit
8cfee1af6a
4 files changed
+3
-3
No files matched your search
@@ -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 |
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user