item physical resists refactored

This commit is contained in:
2024-03-06 14:53:17 -05:00
parent 84e74c5052
commit 3048f86f5b
3 changed files with 18 additions and 42 deletions
-27
View File
@@ -57,9 +57,6 @@ public class ItemBase {
private final int restrictFlag;
private final String skillRequired;
private final short percentRequired;
private final float slashResist;
private final float crushResist;
private final float pierceResist;
private final float blockMod;
private final short defense;
private final float dexPenalty;
@@ -104,9 +101,6 @@ public class ItemBase {
this.restrictFlag = rs.getInt("restrictFlag");
this.skillRequired = rs.getString("skillRequired");
this.percentRequired = rs.getShort("percentRequired");
this.slashResist = rs.getFloat("slashResist");
this.crushResist = rs.getFloat("crushResist");
this.pierceResist = rs.getFloat("pierceResist");
this.blockMod = rs.getFloat("blockMod");
this.defense = rs.getShort("defense");
this.dexPenalty = rs.getFloat("dexPenalty");
@@ -759,27 +753,6 @@ public class ItemBase {
return restrictFlag;
}
/**
* @return the slashResist
*/
public float getSlashResist() {
return slashResist;
}
/**
* @return the crushResist
*/
public float getCrushResist() {
return crushResist;
}
/**
* @return the pierceResist
*/
public float getPierceResist() {
return pierceResist;
}
/**
* @return the skillRequired
*/