Remove the DB power action loader

Power actions come from PowerActions.cfg (3fc5e725, tested). Deletes
AbstractPowerAction.getAllPowerActions and the ResultSet constructor on
every power action class. static_power_poweraction is dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
MagicBotandClaude Opus 5.5 committed 2026-10-26 09:41:17 -04:00
1 parent 29e1e51b04
commit 025a451770
33 files changed
-466

No files matched your search

@@ -18,8 +18,6 @@ import engine.powers.ActionsBase;
import engine.powers.EffectsBase;
import engine.powers.PowersBase;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
@@ -28,13 +26,6 @@ public class TransformPowerAction extends AbstractPowerAction {
private String effectID;
private EffectsBase effect;
public TransformPowerAction(ResultSet rs, HashMap<String, EffectsBase> effects) throws SQLException {
super(rs);
this.effectID = rs.getString("effectID");
this.effect = effects.get(this.effectID);
}
public TransformPowerAction(PowerActionTemplate powerActionTemplate, int id, HashMap<String, EffectsBase> effects) {
super(powerActionTemplate, id);