forked from MagicBane/Server
MagicBot
1 year ago
3 changed files with 67 additions and 1 deletions
@ -0,0 +1,26 @@ |
|||||||
|
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
||||||
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
||||||
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
||||||
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
||||||
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
||||||
|
// Magicbane Emulator Project © 2013 - 2022
|
||||||
|
// www.magicbane.com
|
||||||
|
|
||||||
|
package engine.loot; |
||||||
|
|
||||||
|
import java.sql.ResultSet; |
||||||
|
import java.sql.SQLException; |
||||||
|
|
||||||
|
public class ModTableEntry { |
||||||
|
public int minRoll; |
||||||
|
public int maxRoll; |
||||||
|
public String action; |
||||||
|
public int level; |
||||||
|
|
||||||
|
public ModTableEntry(ResultSet rs) throws SQLException { |
||||||
|
this.minRoll = rs.getInt("minRoll"); |
||||||
|
this.maxRoll = rs.getInt("maxRoll"); |
||||||
|
this.action = rs.getString("action"); |
||||||
|
this.level = rs.getInt("level"); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue