Remove the dead skill and power DB loaders
Deletes the uncalled static_rune_skill_adjusts, static_rune_maxskills, static_skill_skillsgranted, static_skill_skillreq and static_power_powergrant loaders and their ResultSet constructors. LOAD_RUNE_POWERS stays for the 14 Magister Captain guard contract ids. No value changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d576ed1468
commit
8b9aa43c1b
7 files changed
+2
-215
No files matched your search
@@ -12,8 +12,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;
|
||||
import java.util.Map;
|
||||
@@ -27,14 +25,6 @@ public class RuneSkillAdjustEntry {
|
||||
public int level;
|
||||
|
||||
|
||||
public RuneSkillAdjustEntry(ResultSet rs) throws SQLException {
|
||||
this.name = rs.getString("name");
|
||||
this.token = rs.getInt("token");
|
||||
this.skill_type = rs.getString("skill_type");
|
||||
this.rank = rs.getInt("rank");
|
||||
this.level = rs.getInt("level");
|
||||
}
|
||||
|
||||
public RuneSkillAdjustEntry(RuneTemplate rune, String skillType, int[] adjust) {
|
||||
this.name = rune.obj_name;
|
||||
this.token = Hasher.SBStringHash(skillType);
|
||||
|
||||
Reference in new issue
Block a user