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:
1 parent
29e1e51b04
commit
025a451770
33 files changed
-466
No files matched your search
@@ -25,8 +25,6 @@ import engine.powers.ActionsBase;
|
||||
import engine.powers.PowersBase;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
import java.util.HashMap;
|
||||
|
||||
|
||||
@@ -52,13 +50,6 @@ public class CreateMobPowerAction extends AbstractPowerAction {
|
||||
MOBBASE_BY_CLIENT_MOB_ID.put(3501, 11998);
|
||||
}
|
||||
|
||||
public CreateMobPowerAction(ResultSet rs) throws SQLException {
|
||||
super(rs);
|
||||
|
||||
this.mobID = rs.getInt("mobID");
|
||||
this.mobLevel = rs.getInt("mobLevel");
|
||||
}
|
||||
|
||||
public CreateMobPowerAction(PowerActionTemplate powerActionTemplate, int id) {
|
||||
super(powerActionTemplate, id);
|
||||
|
||||
|
||||
Reference in new issue
Block a user