Fix Burst Refire

This commit is contained in:
Kam committed 2026-02-15 17:47:44 -05:00
1 parent e466ef6771
commit 8c2ef1084a
4 files changed
+32 -10

No files matched your search

@@ -910,9 +910,9 @@ public abstract class Ability implements IAbility {
if (phase == AbilityPhase.ACTIVE) {
// Check if more burst iterations remain
if (burstEnabled && burstAmount > 0 && burstIndex < burstAmount) {
if (!burstOverlap) {
cleanup();
}
// Don't cleanup here - entities may still be in flight
// For non-overlap: cleaned up when next burst starts (in onExecute)
// For overlap: entities continue flying indefinitely
burstIndex++;
phase = AbilityPhase.BURST_DELAY;
currentTick = 0;