Fixed being able to toss the SHPC item while using right-click
This commit is contained in:
1 parent
40abe6f014
commit
4ecf4e8a29
1 file changed
+1
@@ -143,6 +143,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Owner.heldProj = Projectile.whoAmI;
|
||||
Owner.ChangeDir(Math.Sign((Owner.Calamity().mouseWorld - Owner.Center).X));
|
||||
Owner.SetCompositeArmFront(true, Player.CompositeArmStretchAmount.Full, (Owner.Center - Owner.Calamity().mouseWorld).ToRotation() * Owner.gravDir + MathHelper.PiOver2);
|
||||
Owner.SetDummyItemTime(2);
|
||||
Projectile.rotation = Utils.DirectionTo(Owner.Center, Owner.Calamity().mouseWorld).ToRotation();
|
||||
Projectile.velocity = Vector2.Zero;
|
||||
Projectile.Center = Owner.Center;
|
||||
|
||||
Reference in new issue
Block a user