Updated comments and Margarita fix

This commit is contained in:
Nathanael Overton committed 2026-03-17 16:50:19 -04:00
1 parent 91bd5d44c4
commit b5b60ca42d
13 files changed
+20 -12

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyBloodyMaryEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayerOnHit
}
public override void SetStaticDefaults()
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyCaribbeanRumEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayerMiscEffects
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyCinnamonRollEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayerMiscEffects and CalamityPlayerOnHit
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyEverclearEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayerLifeRegen and CalamityPlayerMiscEffects
}
public override void SetStaticDefaults()
{
+1
View File
@@ -25,6 +25,7 @@ namespace CalamityMod.Items.Potions.Alcohol
{
var cplayer = player.Calamity();
cplayer.critDamage -= GrapeBeer.CritLoss * 0.01f;
// Also see CalamityGlobalProjectile
}
public override void SetStaticDefaults()
{
+8 -1
View File
@@ -25,7 +25,14 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyMargaritaEffect(Player player, float intensity)
{
// out of order 20 defense
var cplayer = player.Calamity();
cplayer.HeatDebuffMultiplier -= Margarita.DebuffLoss;
cplayer.SicknessDebuffMultiplier -= Margarita.DebuffLoss;
cplayer.ColdDebuffMultiplier -= Margarita.DebuffLoss;
cplayer.WaterDebuffMultiplier -= Margarita.DebuffLoss;
cplayer.ElectricDebuffMultiplier -= Margarita.DebuffLoss;
cplayer.TypelessDebuffMultiplier -= Margarita.DebuffLoss;
// Also see CalamityPlayerMiscEffects
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyMoonshineEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayer and CalamityPlayerHitHurt
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyMoscowMuleEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayer and CalamityPlayerOnHit
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyPurpleHazeEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayer and CalamityPlayerMiscEffects
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyRedWineEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayer and CalamityPlayerMiscEffects
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -24,7 +24,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyRumEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityGlobalProjectile
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyWhiskeyEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayer
}
public override void SetStaticDefaults()
{
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Potions.Alcohol
private static void ApplyWhiteWineEffect(Player player, float intensity)
{
// out of order 20 defense
// See CalamityPlayerMiscEffects
}
public override void SetStaticDefaults()
{