fixed mollusk double scaling summon damage

This commit is contained in:
Altixal committed 2023-03-11 05:21:54 +07:00
1 parent badfa4938d
commit 459f555ecd
1 file changed
+2 -3
+2 -3
View File
@@ -60,9 +60,8 @@ namespace CalamityMod.Items.Armor.Mollusk
}
if (player.ownedProjectileCounts[ModContent.ProjectileType<Shellfish>()] < 2)
{
var damage = (int)player.GetTotalDamage<SummonDamageClass>().ApplyTo(140);
Projectile clam = Projectile.NewProjectileDirect(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType<Shellfish>(), damage, 0f, player.whoAmI);
clam.originalDamage = damage;
Projectile clam = Projectile.NewProjectileDirect(source, player.Center, -Vector2.UnitY, ModContent.ProjectileType<Shellfish>(), 140, 0f, player.whoAmI);
clam.originalDamage = 140;
}
}
player.Calamity().wearingRogueArmor = true;