Cancel Only during Windup

This commit is contained in:
Kam committed 2026-03-01 15:49:04 -05:00
1 parent 6eeeddad3f
commit edb9686703
2 files changed
+4 -9

No files matched your search

@@ -610,12 +610,10 @@ public class PlayerAbilityData extends AbstractDataAbilities implements IPlayerA
if (!hasExecutingAbility && !isInChainDelay) return false;
// Don't allow cancel during DAZED
// Only allow cancel during WINDUP phase
if (hasExecutingAbility) {
AbilityPhase phase = currentAbility.getPhase();
if (phase == AbilityPhase.DAZED) return false;
if (phase != AbilityPhase.WINDUP && phase != AbilityPhase.ACTIVE
&& phase != AbilityPhase.BURST_DELAY) return false;
if (phase != AbilityPhase.WINDUP) return false;
}
long worldTime = getWorldTime();