forked from MagicBane/Server
BootySets expanded to handle rune booty.
This commit is contained in:
@@ -14,15 +14,23 @@ import java.sql.SQLException;
|
|||||||
|
|
||||||
public class BootySetEntry {
|
public class BootySetEntry {
|
||||||
|
|
||||||
|
public String bootyType;
|
||||||
|
public int lowGold;
|
||||||
|
public int highGold;
|
||||||
public int itemBase;
|
public int itemBase;
|
||||||
|
public int lootTable;
|
||||||
public float dropChance;
|
public float dropChance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ResultSet Constructor
|
* ResultSet Constructor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public BootySetEntry(ResultSet rs) throws SQLException {
|
public BootySetEntry(ResultSet rs) throws SQLException {
|
||||||
|
this.bootyType = (rs.getString("bootyType"));
|
||||||
|
this.lowGold = (rs.getInt("lowGold"));
|
||||||
|
this.highGold = (rs.getInt("highGold"));
|
||||||
this.itemBase = (rs.getInt("itemBase"));
|
this.itemBase = (rs.getInt("itemBase"));
|
||||||
|
this.lootTable = (rs.getInt("lootTable"));
|
||||||
this.dropChance = (rs.getFloat("dropChance"));
|
this.dropChance = (rs.getFloat("dropChance"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user