|
|
@ -9,16 +9,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
package engine.objects; |
|
|
|
package engine.objects; |
|
|
|
|
|
|
|
|
|
|
|
import engine.gameManager.DbManager; |
|
|
|
|
|
|
|
import engine.gameManager.NPCManager; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.sql.ResultSet; |
|
|
|
import java.sql.ResultSet; |
|
|
|
import java.sql.SQLException; |
|
|
|
import java.sql.SQLException; |
|
|
|
|
|
|
|
|
|
|
|
public class EquipmentSetEntry { |
|
|
|
public class EquipmentSetEntry { |
|
|
|
|
|
|
|
|
|
|
|
private float dropChance; |
|
|
|
public float dropChance; |
|
|
|
private int itemID; |
|
|
|
public int itemID; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* ResultSet Constructor |
|
|
|
* ResultSet Constructor |
|
|
@ -29,16 +26,4 @@ public class EquipmentSetEntry { |
|
|
|
this.itemID = (rs.getInt("itemID")); |
|
|
|
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; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|