This commit is contained in:
Altixal authored and GitHub committed 2024-05-18 12:27:40 +07:00
1 parent 40c54eb0cf
commit e8bcfdd2b9
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
Vector2 spawnPosition = player.RotatedRelativePoint(player.MountedCenter, true);
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - spawnPosition, ModContent.ProjectileType<OpalStrikerHoldout>(), 0, 0f, player.whoAmI);
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - spawnPosition, ModContent.ProjectileType<OpalStrikerHoldout>(), damage, knockback, player.whoAmI);
return false;
}