This commit is contained in:
mountaindrew10 committed 2022-07-15 16:17:37 -05:00
commit 53595629f2
4 files changed
+25 -5

No files matched your search

+2 -2
View File
@@ -12,8 +12,8 @@ namespace CalamityMod.Items.Accessories
SacrificeTotal = 1;
DisplayName.SetDefault("Laudanum");
Tooltip.SetDefault("Converts certain debuffs into buffs and extends their durations\n" +
"Debuffs affected: Darkness, Blackout, Confused, Slow, Weak, Broken Armor,\n" +
"Armor Crunch, War Cleave, Chilled, Ichor and Obstructed\n" +
"Debuffs affected: Darkness, Blackout, Confused, Slow, Weak,\n" +
"Broken Armor, Armor Crunch, Chilled, Ichor, and Obstructed\n" +
"Revengeance drop");
}
+2 -2
View File
@@ -16,8 +16,8 @@ namespace CalamityMod.Items.Accessories
Tooltip.SetDefault("Only a fool would ever wear this...\n" +
"You constantly gain rage over time and rage does not fade away when out of combat\n" +
"Converts certain debuffs into buffs and extends their durations\n" +
"Debuffs affected: Darkness, Blackout, Confused, Slow, Weak, Broken Armor,\n" +
"Armor Crunch, War Cleave, Chilled, Ichor and Obstructed\n" +
"Debuffs affected: Darkness, Blackout, Confused, Slow, Weak,\n" +
"Broken Armor, Armor Crunch, Chilled, Ichor and Obstructed\n" +
"Adrenaline charges 20% faster\n" +
"Increases your max movement speed and acceleration by 5%\n" +
"Can also be worn as a helmet\n" +
@@ -123,6 +123,26 @@ namespace CalamityMod.Items.Armor.DesertProwler
endColor = new Color(149, 106, 50);
}
//Add some random hue shift & sat shift
Vector3 hslStartColor = Main.rgbToHsl(startColor);
Vector3 hslEndColor = Main.rgbToHsl(endColor);
float valueShift = Main.rand.NextFloat(0f, 0.5f);
float satShift = Main.rand.NextFloat(-0.1f, 0f);
float hueShiftPercent = Main.rand.NextFloat();
hslStartColor.Z = Math.Clamp(hslStartColor.Z + valueShift, 0f, 1f);
hslEndColor.Z = Math.Clamp(hslEndColor.Z + valueShift, 0f, 1f);
hslStartColor.Y = Math.Clamp(hslStartColor.Y + satShift, 0f, 1f);
hslEndColor.Y = Math.Clamp(hslEndColor.Y + satShift, 0f, 1f);
hslStartColor.X = MathHelper.Lerp(hslStartColor.X, 43 / 255f, hueShiftPercent);
hslEndColor.X = MathHelper.Lerp(hslEndColor.X, 43 / 255f, hueShiftPercent);
startColor = Main.hslToRgb(hslStartColor);
endColor = Main.hslToRgb(hslEndColor);
Vector2 smokeRandomPos = Main.rand.NextVector2Circular(40f, player.height);
Vector2 smokePos = player.MountedCenter + smokeRandomPos;
float burstAngle = MathHelper.Pi - ((smokeRandomPos.X + 40) / 80f) * MathHelper.Pi;
+1 -1
View File
@@ -905,7 +905,7 @@ namespace CalamityMod.NPCs
case NPCID.Dryad:
if (Main.rand.NextBool(5) && DownedBossSystem.downedDoG && Main.eclipse)
{
chat = "There's a dark solar energy emanating from the moths that appear during this time. Ah, the moths as you progress further get more powerful... hmm... what power was Yharon holding back?";
chat = "There's a dark solar energy emanating from the moths that appear during this time. Ah, as you progress further the moths get more powerful...";
}
if (Main.rand.NextBool(5) && Main.hardMode)