Stop reading the replaced race, base class and promotion columns
static_rune_race is read only for the race ids and the server-only heights; the hair/beard style, racebaseclass, baseclass and promotionrunereq queries are gone. GET_BASE_CLASS is cache-only, which also drops the obj_account cache-miss query. CSR/admin promotions 2901+ (no promotionrunereq rows) get an empty allowed list. No value changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
658d52cf41
commit
d576ed1468
6 files changed
+21
-224
No files matched your search
@@ -16,8 +16,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;
|
||||
|
||||
|
||||
@@ -85,29 +83,6 @@ public class BaseClass extends AbstractGameObject {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* ResultSet Constructor
|
||||
*/
|
||||
public BaseClass(ResultSet rs) throws SQLException {
|
||||
super(rs);
|
||||
|
||||
this.name = rs.getString("name");
|
||||
this.description = rs.getString("description");
|
||||
this.strMod = rs.getByte("strMod");
|
||||
this.dexMod = rs.getByte("dexMod");
|
||||
this.conMod = rs.getByte("conMod");
|
||||
this.intMod = rs.getByte("intMod");
|
||||
this.spiMod = rs.getByte("spiMod");
|
||||
this.token = rs.getInt("token");
|
||||
this.healthMod = rs.getInt("healthMod");
|
||||
this.manaMod = rs.getInt("manaMod");
|
||||
this.staminaMod = rs.getInt("staminaMod");
|
||||
this.skillsGranted = SkillReq.getSkillReqsForRune(this.getObjectUUID());
|
||||
this.powersGranted = PowerReq.getPowerReqsForRune(this.getObjectUUID());
|
||||
this.effectsList = MobBaseEffects.getEffectsForRune(this.getObjectUUID());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Rune Template Constructor
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user