From c43919ce0150fc754878c244cecc8f2a3bde774f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 3 Sep 2023 09:48:37 -0400 Subject: [PATCH] Level loaded into object. --- src/engine/powers/RunePowerEntry.java | 8 ++++++++ src/engine/powers/RuneSkillAdjustEntry.java | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/src/engine/powers/RunePowerEntry.java b/src/engine/powers/RunePowerEntry.java index ad0b099c..f9e58c47 100644 --- a/src/engine/powers/RunePowerEntry.java +++ b/src/engine/powers/RunePowerEntry.java @@ -1,3 +1,11 @@ +// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ . +// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌· +// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀ +// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌ +// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀ +// Magicbane Emulator Project © 2013 - 2022 +// www.magicbane.com + package engine.powers; import java.sql.ResultSet; diff --git a/src/engine/powers/RuneSkillAdjustEntry.java b/src/engine/powers/RuneSkillAdjustEntry.java index 5fbf23c2..3865a9c0 100644 --- a/src/engine/powers/RuneSkillAdjustEntry.java +++ b/src/engine/powers/RuneSkillAdjustEntry.java @@ -1,3 +1,11 @@ +// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ . +// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌· +// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀ +// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌ +// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀ +// Magicbane Emulator Project © 2013 - 2022 +// www.magicbane.com + package engine.powers; import java.sql.ResultSet; @@ -9,6 +17,7 @@ public class RuneSkillAdjustEntry { public int token; public String skill_type; public int rank; + public int level; public RuneSkillAdjustEntry(ResultSet rs) throws SQLException { @@ -16,6 +25,7 @@ public class RuneSkillAdjustEntry { this.token = rs.getInt("token"); this.skill_type = rs.getString("skill_type"); this.rank = rs.getInt("rank"); + this.level = rs.getInt("level"); } }