bracket cleanup
This commit is contained in:
1 parent
63c4bdb0e3
commit
bdad99fe4b
3 files changed
+4
-4
No files matched your search
@@ -3654,7 +3654,7 @@ namespace CalamityMod.CalPlayer
|
||||
if (eutrophication)
|
||||
Player.velocity = Vector2.Zero;
|
||||
|
||||
if ((vaporfied) || galvanicCorrosion)
|
||||
if (vaporfied || galvanicCorrosion)
|
||||
Player.velocity *= 0.98f;
|
||||
|
||||
if (molluskHelmet)
|
||||
@@ -3664,7 +3664,7 @@ namespace CalamityMod.CalPlayer
|
||||
if (molluskLegs)
|
||||
Player.velocity.X *= 0.996f;
|
||||
|
||||
if ((warped) && !Player.slowFall && !Player.mount.Active)
|
||||
if (warped && !Player.slowFall && !Player.mount.Active)
|
||||
{
|
||||
float velocityYMultiplier = 1.01f;
|
||||
Player.velocity.Y *= velocityYMultiplier;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.aAmpoule = true;
|
||||
if (!(modPlayer.purity) && !hideVisual)
|
||||
if (!modPlayer.purity && !hideVisual)
|
||||
Lighting.AddLight(player.Center, new Vector3(1.2f, 1.2f, 0.72f));
|
||||
}
|
||||
|
||||
|
||||
@@ -188,7 +188,7 @@ namespace CalamityMod.Items
|
||||
// If holding SHIFT, actually display the extended tooltip.
|
||||
if (holdingShift && firstTooltipIndex != -1)
|
||||
{
|
||||
string holdShiftText = (holdShiftItem.TooltipExtensionText == LocalizedText.Empty ? item.ModItem.GetLocalizedValue(holdShiftItem.TooltipExtensionKey) : holdShiftItem.TooltipExtensionText.ToString());
|
||||
string holdShiftText = holdShiftItem.TooltipExtensionText == LocalizedText.Empty ? item.ModItem.GetLocalizedValue(holdShiftItem.TooltipExtensionKey) : holdShiftItem.TooltipExtensionText.ToString();
|
||||
TooltipLine holdShiftLine = new TooltipLine(Mod, IHoldShiftTooltipItem.ExtensionTooltipID, holdShiftText);
|
||||
if (holdShiftItem.TooltipExtensionColor is not null)
|
||||
holdShiftLine.OverrideColor = holdShiftItem.TooltipExtensionColor;
|
||||
|
||||
Reference in new issue
Block a user