Remove the dead static_rune_baseeffect path

RuneBaseEffect, its handler, every effectsGranted field and getter (including
the PromotionClass promoID*10+2500..2503 lookups) and the empty
PlayerBonuses.grantEffect had no reader (2.10a). The GameObjectType constant
stays so later ordinals are unchanged. No value changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-22 12:40:12 -04:00
1 parent 64a86152d3
commit 658d52cf41
11 files changed
-245

No files matched your search

-10
View File
@@ -9,7 +9,6 @@
package engine.objects;
import engine.gameManager.DbManager;
import org.pmw.tinylog.Logger;
import java.sql.ResultSet;
@@ -22,7 +21,6 @@ public class NPCRune extends AbstractGameObject {
private final RuneBase runeBase;
private final int player;
private final ArrayList<SkillReq> skillsGranted;
private final ArrayList<RuneBaseEffect> effectsGranted;
/**
* No Table ID Constructor
@@ -35,7 +33,6 @@ public class NPCRune extends AbstractGameObject {
this.skillsGranted = SkillReq.getSkillReqsForRune(this.runeBase.getObjectUUID());
else
this.skillsGranted = new ArrayList<>();
this.effectsGranted = new ArrayList<>();
}
/**
@@ -49,7 +46,6 @@ public class NPCRune extends AbstractGameObject {
this.skillsGranted = SkillReq.getSkillReqsForRune(this.runeBase.getObjectUUID());
else
this.skillsGranted = new ArrayList<>();
this.effectsGranted = new ArrayList<>();
}
/**
@@ -62,11 +58,9 @@ public class NPCRune extends AbstractGameObject {
this.player = rs.getInt("NpcID");
if (this.runeBase != null) {
this.skillsGranted = SkillReq.getSkillReqsForRune(this.runeBase.getObjectUUID());
this.effectsGranted = DbManager.RuneBaseEffectQueries.GET_EFFECTS_FOR_RUNEBASE(this.runeBase.getObjectUUID());
} else {
Logger.error("Failed to find RuneBase for NPCRune " + this.getObjectUUID());
this.skillsGranted = new ArrayList<>();
this.effectsGranted = new ArrayList<>();
}
}
@@ -95,10 +89,6 @@ public class NPCRune extends AbstractGameObject {
* Serializing
*/
public ArrayList<RuneBaseEffect> getEffectsGranted() {
return this.effectsGranted;
}
@Override
public void updateDatabase() {