Remove the dead power 334 chant branches

Both branches of the getUUID() != 334 checks were identical, and they
tied the code to a DB row ID.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-26 04:35:10 -04:00
1 parent c450af73af
commit 073417567f
2 files changed
+2 -10

No files matched your search

+1 -5
View File
@@ -82,11 +82,7 @@ public class ChantJob extends AbstractEffectJob {
}
if (AbstractWorldObject.IsAbstractCharacter(source))
//handle invul
if (power.getUUID() != 334)
((AbstractCharacter) this.source).setLastChant((int) (this.power.getChantDuration()) * 1000, this);
else
((AbstractCharacter) this.source).setLastChant((int) (this.power.getChantDuration()) * 1000, this);
((AbstractCharacter) this.source).setLastChant((int) (this.power.getChantDuration()) * 1000, this);
} else {
PowersManager.finishEffectTime(this.source, this.target, this.action, this.trains);
if (AbstractWorldObject.IsAbstractCharacter(source)) {
@@ -191,11 +191,7 @@ public class ApplyEffectPowerAction extends AbstractPowerAction {
FinishEffectTimeJob eff = new FinishEffectTimeJob(source, target, stackType, trains, ab, pb, effect);
ChantJob cj = new ChantJob(source, target, stackType, trains, ab, pb, effect, eff);
//handle invul
if (pb.getUUID() != 334)
source.setLastChant((int) (pb.getChantDuration()) * 1000, cj);
else
source.setLastChant((int) (pb.getChantDuration()) * 1000, cj);
source.setLastChant((int) (pb.getChantDuration()) * 1000, cj);
eff.setChant(true);
}