Browse Source

mob clear effects on death

lakebane
FatBoy-DOTC 2 weeks ago
parent
commit
ea8a7c0e39
  1. 3
      src/engine/jobs/PersistentAoeJob.java

3
src/engine/jobs/PersistentAoeJob.java

@ -45,6 +45,9 @@ public class PersistentAoeJob extends AbstractEffectJob { @@ -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()) {

Loading…
Cancel
Save