predominantly tooltip changes
This commit is contained in:
1 parent
2b1ddc08e9
commit
fd5fea1ec1
27 files changed
+171
-8
No files matched your search
@@ -446,6 +446,16 @@ namespace CalamityMod.CalPlayer
|
||||
Player.lifeRegenTime += 1800;
|
||||
}
|
||||
}
|
||||
|
||||
var dripPlayer = Player.GetModPlayer<IVDripPlayer>();
|
||||
if (dripPlayer.HasAlcohol(AlcoholType.TequilaSunrise))
|
||||
{
|
||||
if (hadLifeRegenHinderingDebuff && !hasLifeRegenHinderingDebuff)
|
||||
{
|
||||
Player.lifeRegenTime += 1800;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
// During Silva revive or God Slayer dash, all negative life regen is canceled
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Potions.Alcohol;
|
||||
using CalamityMod.Rarities;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
@@ -48,6 +49,8 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
Action<Player, float> AlcoholEffect { get; }
|
||||
AlcoholType AlcoholVariant { get; }
|
||||
LocalizedText DripEffectText { get; }
|
||||
|
||||
}
|
||||
|
||||
public class IVDripOnTheRocks : ModItem, ILocalizedModType
|
||||
@@ -181,9 +184,12 @@ namespace CalamityMod.Items.Accessories
|
||||
|
||||
if (effectLine != null)
|
||||
{
|
||||
string effectText = Lang.GetTooltip(containedAlcoholID).ToString();
|
||||
effectLine.Text = effectText;
|
||||
effectLine.OverrideColor = Color.White;
|
||||
Item alcoholItem = new Item(containedAlcoholID);
|
||||
|
||||
if (alcoholItem.ModItem is IAlcoholItem alcohol)
|
||||
{
|
||||
effectLine.Text = alcohol.DripEffectText.Value;
|
||||
}
|
||||
}
|
||||
|
||||
if (nameLine != null)
|
||||
|
||||
@@ -14,6 +14,9 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Potions";
|
||||
|
||||
public static float PierceDamageMultiplier = 0.66f;
|
||||
public override LocalizedText Tooltip => base.Tooltip;
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.BloodyMary.DripEffect");
|
||||
public AlcoholType AlcoholVariant => AlcoholType.BloodyMary;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyBloodyMaryEffect;
|
||||
|
||||
@@ -17,6 +17,8 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float MoveSpeedBoost = 0.25f;
|
||||
public static float GravityMultiplier = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MoveSpeedBoost.ToPercent(), (1-GravityMultiplier).ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.CaribbeanRum.DripEffect").WithFormatArgs(MoveSpeedBoost.ToPercent(), (1 - GravityMultiplier).ToPercent());
|
||||
|
||||
public AlcoholType AlcoholVariant => AlcoholType.CaribbeanRum;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyCaribbeanRumEffect;
|
||||
|
||||
@@ -16,6 +16,8 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public new string LocalizationCategory => "Items.Potions";
|
||||
public AlcoholType AlcoholVariant => AlcoholType.CinnamonRoll;
|
||||
|
||||
public override LocalizedText Tooltip => base.Tooltip;
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.CinnamonRoll.DripEffect");
|
||||
public Action<Player, float> AlcoholEffect => ApplyCinnamonRollEffect;
|
||||
|
||||
private static void ApplyCinnamonRollEffect(Player player, float intensity)
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static int RegenLoss = 10;
|
||||
public static float DefenseLossPercent = 0.30f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(DamageBoost.ToPercent(), RegenLoss.ToRegenPerSecond(), DefenseLossPercent.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.StarBeamRye.DripEffect").WithFormatArgs(DamageBoost.ToPercent(), RegenLoss.ToRegenPerSecond(), DefenseLossPercent.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Everclear;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyEverclearEffect;
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffBoost = 0.5f;
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.EvergreenGin.DripEffect").WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.EvergreenGin;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyEvergreenGinEffect;
|
||||
|
||||
@@ -17,6 +17,8 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffBoost = 0.5f;
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Fireball.DripEffect").WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Fireball;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyFireballEffect;
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
|
||||
public static float CritLoss = 50;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(CritLoss);
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.GrapeBeer.DripEffect").WithFormatArgs(CritLoss);
|
||||
public AlcoholType AlcoholVariant => AlcoholType.GrapeBeer;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyGrapeBeerEffect;
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffBoost = 0.5f;
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Manhattan.DripEffect").WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Manhattan;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyManhattanEffect;
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public static int MinuteDuration = 3;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Margarita.DripEffect").WithFormatArgs(DebuffLoss.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Margarita;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyMargaritaEffect;
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
|
||||
public static float MaxLifePercentBoost = 0.33f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MaxLifePercentBoost.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Moonshine.DripEffect").WithFormatArgs(MaxLifePercentBoost.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Moonshine;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyMoonshineEffect;
|
||||
|
||||
@@ -14,9 +14,10 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public class MoscowMule : ModItem, ILocalizedModType, IAlcoholItem
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Potions";
|
||||
|
||||
public static float KnockbackBoost = 0.5f;
|
||||
public static float PierceDamageMultiplier = 0.7f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(KnockbackBoost.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.MoscowMule.DripEffect").WithFormatArgs(KnockbackBoost.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.MoscowMule;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyMoscowMuleEffect;
|
||||
|
||||
@@ -17,13 +17,14 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static readonly float DamageBoostMultiplier = 1.25f;
|
||||
public static readonly float DamageReductionMultiplier = 0.75f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DamageBoostMultiplier).ToString("N2"), (DamageReductionMultiplier).ToString("N2"));
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.OldFashioned.DripEffect").WithFormatArgs(DamageBoostMultiplier.ToString("N2"), DamageReductionMultiplier.ToString("N2"));
|
||||
public AlcoholType AlcoholVariant => AlcoholType.OldFashioned;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyOldFashionedEffect;
|
||||
|
||||
private static void ApplyOldFashionedEffect(Player player, float intensity)
|
||||
{
|
||||
// out of order 20 defense
|
||||
// See CalamityGlobalProjectile
|
||||
}
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -17,8 +17,9 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
|
||||
public static float DamageBoost = 0.25f;
|
||||
public static float StealthDamageLoss = 0.25f;
|
||||
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(DamageBoost.ToPercent(),StealthDamageLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.PurpleHaze.DripEffect").WithFormatArgs(DamageBoost.ToPercent(), StealthDamageLoss.ToPercent());
|
||||
|
||||
public AlcoholType AlcoholVariant => AlcoholType.PurpleHaze;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyPurpleHazeEffect;
|
||||
|
||||
@@ -18,6 +18,8 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float VerticalSpeedBoost = 0.1f;
|
||||
public static float FlightTimeLoss = 0.25f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(VerticalSpeedBoost.ToPercent(), FlightTimeLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.RedWine.DripEffect").WithFormatArgs(VerticalSpeedBoost.ToPercent(), FlightTimeLoss.ToPercent());
|
||||
|
||||
public AlcoholType AlcoholVariant => AlcoholType.RedWine;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyRedWineEffect;
|
||||
|
||||
@@ -17,6 +17,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float NonMinionBoost = 1.15f;
|
||||
public static float MinionBoost = 0.85f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((NonMinionBoost-1).ToPercent(), (1- MinionBoost).ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Rum.DripEffect").WithFormatArgs((NonMinionBoost - 1).ToPercent(), (1 - MinionBoost).ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Rum;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyRumEffect;
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffBoost = 0.5f;
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Screwdriver.DripEffect").WithFormatArgs(DebuffBoost.ToString("N2"), DebuffLoss.ToString("N2"));
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Screwdriver;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyScrewdriverEffect;
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static int ManaRegenBoost = 30;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MagicDmgMult);
|
||||
public AlcoholType AlcoholVariant => AlcoholType.StarBeamRye;
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.StarBeamRye.DripEffect");
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyStarBeamRyeEffect;
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffBoost = 0.5f;
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Tequila.DripEffect").WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Tequila;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyTequilaEffect;
|
||||
|
||||
@@ -17,13 +17,14 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
|
||||
public static float DoTMultiplier = 1.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DoTMultiplier-1).ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.TequilaSunrise.DripEffect").WithFormatArgs((DoTMultiplier-1).ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.TequilaSunrise;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyTequilaSunriseEffect;
|
||||
|
||||
private static void ApplyTequilaSunriseEffect(Player player, float intensity)
|
||||
{
|
||||
// out of order 20 defense
|
||||
// See CalamityPlayerLifeRegen
|
||||
}
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -18,6 +18,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float DebuffBoost = 0.25f;
|
||||
public static float DebuffLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Vodka.DripEffect").WithFormatArgs((DebuffBoost).ToPercent(), DebuffLoss.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Vodka;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyVodkaEffect;
|
||||
|
||||
@@ -18,7 +18,11 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float MinDamageBoost = -0.15f;
|
||||
public static float TimeToDischarge = 600;
|
||||
public static float TimeToRecharge = 300;
|
||||
public static float IVDripDamageCeilingGain = 0.3f;
|
||||
public static float IVDripDamageFloorReduction = -0.3f;
|
||||
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(MinDamageBoost.ToPercent(), MaxDamageBoost.ToPercent(), (TimeToDischarge/60).ToString("0.##"), (TimeToRecharge/60).ToString("0.##"));
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.Whiskey.DripEffect").WithFormatArgs(MinDamageBoost.ToPercent(), MaxDamageBoost.ToPercent(), (TimeToDischarge / 60).ToString("0.##"), (TimeToRecharge / 60).ToString("0.##"), IVDripDamageCeilingGain.ToPercent(), IVDripDamageFloorReduction.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.Whiskey;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyWhiskeyEffect;
|
||||
|
||||
@@ -19,6 +19,7 @@ namespace CalamityMod.Items.Potions.Alcohol
|
||||
public static float FlightTimeRecoveryAmount = 0.66f;
|
||||
public static float FlightTimeLoss = 0.5f;
|
||||
public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(FlightTimeLoss.ToPercent());
|
||||
public LocalizedText DripEffectText => Language.GetText("Mods.CalamityMod.Items.Potions.WhiteWine.DripEffect").WithFormatArgs(FlightTimeLoss.ToPercent());
|
||||
public AlcoholType AlcoholVariant => AlcoholType.WhiteWine;
|
||||
|
||||
public Action<Player, float> AlcoholEffect => ApplyWhiteWineEffect;
|
||||
|
||||
@@ -47,6 +47,7 @@ Drops: {
|
||||
Drops if Providence was defeated only with the [i:CalamityMod/ProfanedSoulArtifact] Profaned Soul Artifact
|
||||
{$Bestiary_ItemDropConditions.IsExpert}
|
||||
'''
|
||||
TrasherKill: Mods.CalamityMod.Condition.Drops.TrasherKill
|
||||
}
|
||||
|
||||
// Other conditions
|
||||
|
||||
@@ -166,6 +166,8 @@ ZergPotion: {
|
||||
Tooltip: Vastly increases enemy spawn rate
|
||||
}
|
||||
|
||||
// Alcohols
|
||||
|
||||
BloodyMary: {
|
||||
DisplayName: Bloody Mary
|
||||
Tooltip:
|
||||
@@ -174,6 +176,12 @@ BloodyMary: {
|
||||
Greatly reduces piercing weapon effectiveness
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Increases enemy spawn rates by 7x
|
||||
Greatly reduces piercing weapon effectiveness
|
||||
When combined with drinking Bloody Mary straight, enemy spawn rates are increased by 14x total
|
||||
'''
|
||||
}
|
||||
|
||||
CaribbeanRum: {
|
||||
@@ -184,6 +192,11 @@ CaribbeanRum: {
|
||||
Reduces your gravity by {1}%
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Increases move speed by {0}%
|
||||
Reduces your gravity by {1}%
|
||||
'''
|
||||
}
|
||||
|
||||
CinnamonRoll: {
|
||||
@@ -194,6 +207,11 @@ CinnamonRoll: {
|
||||
Greatly reduces dash distance
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Greatly increases dash speed
|
||||
Greatly reduces dash distance
|
||||
'''
|
||||
}
|
||||
|
||||
PurpleHaze: {
|
||||
@@ -203,6 +221,11 @@ PurpleHaze: {
|
||||
For 5 seconds after a stealth strike, all damage increased by {0}%, but stealth strike damage reduced by {1}%
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
For 5 seconds after a stealth strike, all damage increased by {0}%, but stealth strike damage reduced by {1}%
|
||||
Greatly reduces dash distance
|
||||
'''
|
||||
}
|
||||
|
||||
Everclear: {
|
||||
@@ -214,6 +237,12 @@ Everclear: {
|
||||
Counts as 2 alcohols for {$Buffs.AlcoholPoisoning.DisplayName}
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased damage
|
||||
Reduces life regen by {1} HP/s and defense by {2}%
|
||||
When combined with drinking Everclear straight, reduce count for {$Buffs.AlcoholPoisoning.DisplayName} by 1
|
||||
'''
|
||||
}
|
||||
|
||||
EvergreenGin: {
|
||||
@@ -224,6 +253,11 @@ EvergreenGin: {
|
||||
{1}% decreased Electric and Heat debuff damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased Water and Sickness debuff damage
|
||||
{1}% decreased Electric and Heat debuff damage
|
||||
'''
|
||||
}
|
||||
|
||||
Fireball: {
|
||||
@@ -234,6 +268,11 @@ Fireball: {
|
||||
{1}% decreased Sickness debuff damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased Heat debuff damage
|
||||
{1}% decreased Sickness debuff damage
|
||||
'''
|
||||
}
|
||||
|
||||
GrapeBeer: {
|
||||
@@ -244,6 +283,12 @@ GrapeBeer: {
|
||||
{0}% reduced critical strike damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Bullets, Arrows, Darts, and Rockets gain homing
|
||||
{0}% reduced critical strike damage
|
||||
When combined with drinking Grape Beer straight, greatly increases homing range and critical strike damage loss
|
||||
'''
|
||||
}
|
||||
|
||||
Manhattan: {
|
||||
@@ -254,6 +299,11 @@ Manhattan: {
|
||||
{1}% decreased Water debuff damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased Cold debuff damage
|
||||
{1}% decreased Water debuff damage
|
||||
'''
|
||||
}
|
||||
|
||||
Margarita: {
|
||||
@@ -264,6 +314,11 @@ Margarita: {
|
||||
Reduces damage of debuffs you inflict by {0}%
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Halves duration of harmful debuffs you receive
|
||||
Reduces damage of debuffs you inflict by {0}%
|
||||
'''
|
||||
}
|
||||
|
||||
Moonshine: {
|
||||
@@ -275,6 +330,12 @@ Moonshine: {
|
||||
Defense damage takes three times as long to recover
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Increases maximum health by {0}%
|
||||
Attacks always take at least half your defense worth of defense damage
|
||||
Defense damage takes three times as long to recover
|
||||
'''
|
||||
}
|
||||
|
||||
MoscowMule: {
|
||||
@@ -285,6 +346,11 @@ MoscowMule: {
|
||||
Reduces the effectiveness of piercing weapons
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased knockback, all attacks inflict heavy knockback
|
||||
Reduces the effectiveness of piercing weapons
|
||||
'''
|
||||
}
|
||||
|
||||
OddMushroom: {
|
||||
@@ -305,6 +371,11 @@ OldFashioned: {
|
||||
Multiplies all weapon damage by {1}x
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Multiplies most non-weapon, non-debuff damage by {0}x
|
||||
Multiplies all weapon damage by {1}x
|
||||
'''
|
||||
}
|
||||
|
||||
RedWine: {
|
||||
@@ -315,6 +386,11 @@ RedWine: {
|
||||
{1}% reduced flight time
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased vertical speed
|
||||
{1}% reduced flight time
|
||||
'''
|
||||
}
|
||||
|
||||
Rum: {
|
||||
@@ -325,6 +401,11 @@ Rum: {
|
||||
{1}% decreased minion damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased non-minion summon damage
|
||||
{1}% decreased minion damage
|
||||
'''
|
||||
}
|
||||
|
||||
Screwdriver: {
|
||||
@@ -335,6 +416,11 @@ Screwdriver: {
|
||||
Greatly reduces damage dealt
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Greatly increases tile and wall placement range and speed
|
||||
Greatly reduces damage dealt
|
||||
'''
|
||||
}
|
||||
|
||||
StarBeamRye: {
|
||||
@@ -345,6 +431,7 @@ StarBeamRye: {
|
||||
Magic weapons deal {0}x damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect: Strangely, you feel no different...
|
||||
}
|
||||
|
||||
Tequila: {
|
||||
@@ -355,6 +442,11 @@ Tequila: {
|
||||
{1}% decreased Cold debuff damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased Electric debuff damage
|
||||
{1}% decreased Cold debuff damage
|
||||
'''
|
||||
}
|
||||
|
||||
TequilaSunrise: {
|
||||
@@ -365,6 +457,11 @@ TequilaSunrise: {
|
||||
{0}% increased damage taken from debuffs
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Greatly increases natural life regeneration after suffering a damaging debuff
|
||||
{0}% increased damage taken from debuffs
|
||||
'''
|
||||
}
|
||||
|
||||
Vodka: {
|
||||
@@ -375,6 +472,11 @@ Vodka: {
|
||||
{1}% decreased elemental debuff damage
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
{0}% increased Typeless debuff damage
|
||||
{1}% decreased elemental debuff damage
|
||||
'''
|
||||
}
|
||||
|
||||
Whiskey: {
|
||||
@@ -387,6 +489,14 @@ Whiskey: {
|
||||
This boost recharges when holding weapons of a different class, taking {3} seconds to fully recharge
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
Provides between {0}% and {1}% damage to the held weapon's class
|
||||
Each class tracks this boost individually
|
||||
This boost lowers the longer you hold weapons of the same class, taking {2} seconds to fully decay
|
||||
This boost recharges when holding weapons of a different class, taking {3} seconds to fully recharge
|
||||
When combined with drinking Whiskey straight, the damage variance becomes {4}% and {5}%
|
||||
'''
|
||||
}
|
||||
|
||||
WhiteWine: {
|
||||
@@ -397,6 +507,11 @@ WhiteWine: {
|
||||
{0}% reduced flight time
|
||||
{$Common.AlcoholWarning}
|
||||
'''
|
||||
DripEffect:
|
||||
'''
|
||||
You regain flight time the closer you are to an enemy
|
||||
{0}% reduced flight time
|
||||
'''
|
||||
}
|
||||
|
||||
// Food
|
||||
|
||||
@@ -4620,7 +4620,7 @@ namespace CalamityMod.Projectiles
|
||||
{
|
||||
if (projectile.DamageType == DamageClass.Summon || (PierceResistNPC.exemptProjectiles.Contains(projectile.type) || (PierceResistNPC.singleHitboxExemptProjectiles.ContainsKey(projectile.type) && PierceResistNPC.singleHitboxExemptProjectiles[projectile.type])))
|
||||
{
|
||||
modifiers.SourceDamage *= ((modPlayer.moscowMule ? 0.7f : 1f) * (modPlayer.bloodyMary ? 0.33f : 1f));
|
||||
modifiers.SourceDamage *= ((modPlayer.moscowMule ? MoscowMule.PierceDamageMultiplier : 1f) * (modPlayer.bloodyMary ? BloodyMary.PierceDamageMultiplier : 1f));
|
||||
}
|
||||
}
|
||||
if (projectile.type == ProjectileID.JoustingLance || projectile.type == ProjectileID.HallowJoustingLance || projectile.type == ProjectileID.ShadowJoustingLance)
|
||||
|
||||
Reference in new issue
Block a user