Remove the static_rune_powers loader

Nothing reads the table since the captain powers moved to MinionType.
Drops LOAD_RUNE_POWERS and the ResultSet RunePowerEntry constructor.
The table drop is MBDATA sql/3.9-rune-powers-drop.sql, run after deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-24 12:35:34 -04:00
1 parent dff53d5c76
commit ac5d1548b7
2 files changed
-52

No files matched your search

-9
View File
@@ -13,8 +13,6 @@ import engine.parsers.objects.RuneTemplate;
import engine.util.Hasher;
import org.pmw.tinylog.Logger;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
@@ -26,13 +24,6 @@ public class RunePowerEntry {
public int rank;
public RunePowerEntry(ResultSet rs) throws SQLException {
this.name = rs.getString("name");
this.token = rs.getInt("token");
this.power_type = rs.getString("power_type");
this.rank = rs.getInt("rank");
}
public RunePowerEntry(RuneTemplate rune, PowerGrant powerGrant) {
this.name = rune.obj_name;
this.token = Hasher.SBStringHash(powerGrant.power_type);