Ashen Stalactite, Terratomere resprites

Shoutouts to hardcoded offset values on holdouts
This commit is contained in:
CongratsIsTrash committed 2026-07-24 12:24:55 -04:00
1 parent 0afa70311a
commit af32a93147
5 files changed
+2 -2

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 935 B

After

Width:  |  Height:  |  Size: 666 B

+2 -2
View File
@@ -138,8 +138,8 @@ namespace CalamityMod.Projectiles.Melee
public void StickToOwner()
{
// Glue the sword to its owner. This applies a handful of offsets to make the blade look like it's roughly inside of the owner's hand.
Projectile.Center = Owner.RotatedRelativePoint(Owner.MountedCenter, true) + SwordDirection * new Vector2(7f, 16f) * Projectile.scale;
Projectile.Center -= Projectile.velocity.SafeNormalize(Vector2.UnitY) * new Vector2(66f, 54f + Projectile.scale * 8f);
Projectile.Center = Owner.RotatedRelativePoint(Owner.MountedCenter, true) + SwordDirection * new Vector2(7f, 7f) * Projectile.scale;
Projectile.Center -= Projectile.velocity.SafeNormalize(Vector2.UnitY) * new Vector2(44f, 54f + Projectile.scale * 8f);
// Set the owner's held projectile to this and register a false item time calculation.
Owner.heldProj = Projectile.whoAmI;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 240 B

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

After

Width:  |  Height:  |  Size: 695 B