From ea8a7c0e3966aa48bd20f0f5a16d441863dd3f43 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 18 Mar 2025 20:48:00 -0500 Subject: [PATCH] mob clear effects on death --- src/engine/jobs/PersistentAoeJob.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/engine/jobs/PersistentAoeJob.java b/src/engine/jobs/PersistentAoeJob.java index efd19b8f..d6a66911 100644 --- a/src/engine/jobs/PersistentAoeJob.java +++ b/src/engine/jobs/PersistentAoeJob.java @@ -45,6 +45,9 @@ public class PersistentAoeJob extends AbstractEffectJob { if (this.aej == null || this.source == null || this.action == null || this.power == null || this.source == null || this.eb == null) return; + if (!this.target.isAlive()) + PowersManager.finishEffectTime(this.source, this.target, this.action, this.trains); + if (!this.source.isAlive()) PowersManager.finishEffectTime(this.source, this.target, this.action, this.trains); else if (this.iteration < this.power.getChantIterations()) {