mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 21:34:29 +00:00
Fix Burst Refire
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user