Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CalPlayer/CalamityPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5932,7 +5932,7 @@ public void UpdateRogueStealth()
// "Clockwork" weapons can chain-fire multiple stealth strikes (really only 2 max) until you run out of stealth.
bool animationCheck = it.useAnimation == it.useTime
? Player.itemAnimation == Player.itemAnimationMax - 1 // Standard weapon (first frame of use animation)
: Player.itemTime == (int)(it.useTime / Player.GetAttackSpeed<RogueDamageClass>()); // Clockwork weapon (first frame of any individual use event)
: Player.itemTime == (int)(it.useTime / Player.GetTotalAttackSpeed<RogueDamageClass>()); // Clockwork weapon (first frame of any individual use event)

if (!stealthStrikeThisFrame && animationCheck && playerUsingWeapon)
{
Expand Down