|
|
|
@ -9,16 +9,13 @@
@@ -9,16 +9,13 @@
|
|
|
|
|
|
|
|
|
|
package engine.objects; |
|
|
|
|
|
|
|
|
|
import engine.gameManager.DbManager; |
|
|
|
|
import engine.gameManager.NPCManager; |
|
|
|
|
|
|
|
|
|
import java.sql.ResultSet; |
|
|
|
|
import java.sql.SQLException; |
|
|
|
|
|
|
|
|
|
public class EquipmentSetEntry { |
|
|
|
|
|
|
|
|
|
private float dropChance; |
|
|
|
|
private int itemID; |
|
|
|
|
public float dropChance; |
|
|
|
|
public int itemID; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* ResultSet Constructor |
|
|
|
@ -29,16 +26,4 @@ public class EquipmentSetEntry {
@@ -29,16 +26,4 @@ public class EquipmentSetEntry {
|
|
|
|
|
this.itemID = (rs.getInt("itemID")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void LoadAllEquipmentSets() { |
|
|
|
|
NPCManager.EquipmentSetMap = DbManager.ItemBaseQueries.LOAD_EQUIPMENT_FOR_NPC_AND_MOBS(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
float getDropChance() { |
|
|
|
|
return dropChance; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public int getItemID() { |
|
|
|
|
return itemID; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|