Browse Source

Level loaded into object.

feature-workorder
MagicBot 1 year ago
parent
commit
c43919ce01
  1. 8
      src/engine/powers/RunePowerEntry.java
  2. 10
      src/engine/powers/RuneSkillAdjustEntry.java

8
src/engine/powers/RunePowerEntry.java

@ -1,3 +1,11 @@
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
// Magicbane Emulator Project © 2013 - 2022
// www.magicbane.com
package engine.powers; package engine.powers;
import java.sql.ResultSet; import java.sql.ResultSet;

10
src/engine/powers/RuneSkillAdjustEntry.java

@ -1,3 +1,11 @@
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
// Magicbane Emulator Project © 2013 - 2022
// www.magicbane.com
package engine.powers; package engine.powers;
import java.sql.ResultSet; import java.sql.ResultSet;
@ -9,6 +17,7 @@ public class RuneSkillAdjustEntry {
public int token; public int token;
public String skill_type; public String skill_type;
public int rank; public int rank;
public int level;
public RuneSkillAdjustEntry(ResultSet rs) throws SQLException { public RuneSkillAdjustEntry(ResultSet rs) throws SQLException {
@ -16,6 +25,7 @@ public class RuneSkillAdjustEntry {
this.token = rs.getInt("token"); this.token = rs.getInt("token");
this.skill_type = rs.getString("skill_type"); this.skill_type = rs.getString("skill_type");
this.rank = rs.getInt("rank"); this.rank = rs.getInt("rank");
this.level = rs.getInt("level");
} }
} }

Loading…
Cancel
Save