Refactor baked in stats
This commit is contained in:
@@ -44,7 +44,6 @@ public class ItemBase {
|
|||||||
private final String mastery;
|
private final String mastery;
|
||||||
private final engine.Enum.SourceType damageType;
|
private final engine.Enum.SourceType damageType;
|
||||||
private boolean isConsumable;
|
private boolean isConsumable;
|
||||||
private final HashMap<Integer, Integer> usedStats = new HashMap<>();
|
|
||||||
private final boolean isStrBased;
|
private final boolean isStrBased;
|
||||||
private ArrayList<Integer> animations = new ArrayList<>();
|
private ArrayList<Integer> animations = new ArrayList<>();
|
||||||
private ArrayList<Integer> offHandAnimations = new ArrayList<>();
|
private ArrayList<Integer> offHandAnimations = new ArrayList<>();
|
||||||
@@ -163,11 +162,6 @@ public class ItemBase {
|
|||||||
return ID > 7000099 && ID < 7000281;
|
return ID > 7000099 && ID < 7000281;
|
||||||
}
|
}
|
||||||
|
|
||||||
//returns power tokens granted when using item, such as scrolls and potions
|
|
||||||
public HashMap<Integer, Integer> getUsedStats() {
|
|
||||||
return this.usedStats;
|
|
||||||
}
|
|
||||||
|
|
||||||
public final void initializeHashes() {
|
public final void initializeHashes() {
|
||||||
itemHashIDMap.put(this.hashID, uuid);
|
itemHashIDMap.put(this.hashID, uuid);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user