1 - Tightened frame timing on Perfect Light-speed Carves to 4 frames (it was too easy).
2 - Added dedicated colors for light-speed carves. 3 - Existing light-speed carve visual (by Jasper) shortened in length considerably. 4 - Removed chance for two large black slashes to appear at once on a perfect carve.
This commit is contained in:
1 parent
703b8b3f9b
commit
cbb50c5f5a
3 files changed
+17
-12
No files matched your search
@@ -29,6 +29,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
internal static readonly Color ZeroPointLineColor = new Color(24, 191, 160); // #1FBFA0
|
||||
internal static readonly Color ZeroPointImpactColor = new Color(31, 223, 128, 96); // #1FDF80
|
||||
internal static readonly Color PiercingStrikeColor = new Color(36, 252, 212); // #24FCD4
|
||||
internal static readonly Color LightspeedCarveColor1 = new Color(68, 242, 242); // #44F2F2
|
||||
internal static readonly Color LightspeedCarveColor2 = new Color(66, 219, 173); // #42DBAD
|
||||
|
||||
public bool ShowExtensionIndicator => false;
|
||||
public bool HasFlavorTooltip => true;
|
||||
@@ -39,8 +41,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public static float Speed = 16f;
|
||||
|
||||
public static int FocusFlurryAttacks = 12;
|
||||
public static int PerfectLightspeedCarveFrames = 6;
|
||||
public static int ImperfectLightspeedCarveFrames = 6; // This frame window is immediately after the perfect window.
|
||||
public static int PerfectLightspeedCarveFrames = 4;
|
||||
public static int ImperfectLightspeedCarveFrames = 8; // This frame window is immediately after the perfect window.
|
||||
public static float LightspeedCarveKnockback = 7f;
|
||||
|
||||
public static int ArmorPenetration = 30;
|
||||
|
||||
@@ -790,7 +790,7 @@ NanoblackReaper: {
|
||||
Nanoblack tesselations each emit an instantaneous zero-point energy strike
|
||||
Zero-point energy strikes have 150 armor penetration and will target bosses whenever possible
|
||||
Release <left> just as the scythe begins returning to carve through the enemy closest to your cursor at light speed
|
||||
Light-speed carves have 150 armor penetration. If timed in a 6-frame window, they supercrit with +100% critical strike chance
|
||||
Light-speed carves have 150 armor penetration. If timed in a 4-frame window, they supercrit with +100% critical strike chance
|
||||
<right> with sufficient stealth to massively increase attack speed for a short time
|
||||
Scythes thrown during flurries emit supercharged energy strikes but cannot be returned manually
|
||||
'''
|
||||
|
||||
@@ -20,11 +20,11 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
#region params
|
||||
private const int VisualLifetime = 80;
|
||||
private const int GrowTime = 8;
|
||||
private const int GrowTime = 3;
|
||||
private const int FadeInTime = 1;
|
||||
private const int FadeOutTime = 14;
|
||||
private const int FadeOutTime = 5;
|
||||
private const int SlashDelay = 2;
|
||||
private const int HoldTime = 8;
|
||||
private const int HoldTime = 5;
|
||||
private const float FlashIntensity = 1.8f;
|
||||
private const float FlashDuration = 0.15f;
|
||||
private const float RangeMultiplier = 2.2f;
|
||||
@@ -74,7 +74,9 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
AlphaDestinationBlend = Blend.InverseSourceAlpha,
|
||||
};
|
||||
|
||||
private int GiantSlashCount
|
||||
private int GiantSlashCount => 1;
|
||||
// 13FEB2026: Ozzatron: previous hash function for allowing multiple visual giant slashes preserved
|
||||
/*
|
||||
{
|
||||
get
|
||||
{
|
||||
@@ -82,6 +84,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
return Hash(seed * 3.91f) > 0.5f ? 2 : 1;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
internal bool IsPerfect => Projectile.ai[0] == 1f;
|
||||
|
||||
@@ -238,7 +241,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Effect shader = CalamityShaders.NanoblackSlashShader.Value;
|
||||
float time = (float)Main.gameTimeCache.TotalGameTime.TotalSeconds;
|
||||
shader.Parameters["uTime"]?.SetValue(time);
|
||||
Color c = NanoblackReaper.NanoblackSlashColor1;
|
||||
Color c = IsPerfect ? NanoblackReaper.LightspeedCarveColor1 : NanoblackReaper.NanoblackSlashColor2;
|
||||
shader.Parameters["uColor"]?.SetValue(new Vector3(c.R / 255f, c.G / 255f, c.B / 255f));
|
||||
shader.Parameters["uBrightness"]?.SetValue(1f);
|
||||
|
||||
@@ -356,8 +359,8 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
float retreatProgress = MathF.Pow(retreatT, 0.4f) * (1f + RetreatOvershoot);
|
||||
|
||||
float colorShift = MathF.Pow(1f - smoothFadeOut, 2f);
|
||||
Color aliveColor = NanoblackReaper.NanoblackSlashColor1;
|
||||
Color dyingColor = NanoblackReaper.ZeroPointLineColor;
|
||||
Color aliveColor = NanoblackReaper.LightspeedCarveColor1;
|
||||
Color dyingColor = NanoblackReaper.LightspeedCarveColor2;
|
||||
Color baseColor = Color.Lerp(aliveColor, dyingColor, colorShift);
|
||||
|
||||
float opacityFade = MathF.Pow(MathHelper.Clamp(smoothFadeOut / 0.2f, 0f, 1f), 0.3f);
|
||||
@@ -428,7 +431,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
float currentWidth = GiantSlashWidth * widthCollapse * impactWidthBoost;
|
||||
|
||||
float opacity = MathF.Pow(MathHelper.Clamp(smoothFade / 0.15f, 0f, 1f), 0.3f) * MathF.Min(impactFlash, 2.5f);
|
||||
Color edgeColor = NanoblackReaper.NanoblackSlashColor1 * opacity;
|
||||
Color edgeColor = NanoblackReaper.LightspeedCarveColor1 * opacity;
|
||||
|
||||
float retreatProgress = CalculateGiantRetreatProgress(fadeLinear);
|
||||
|
||||
@@ -489,7 +492,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
scope.Draw(mesh.View);
|
||||
|
||||
Color c = NanoblackReaper.NanoblackSlashColor1;
|
||||
Color c = NanoblackReaper.LightspeedCarveColor1;
|
||||
shader.Parameters["uColor"]?.SetValue(new Vector3(c.R / 255f, c.G / 255f, c.B / 255f));
|
||||
shader.Parameters["uBrightness"]?.SetValue(1f);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user