Browse Source

Refactor baked in stats

combat-2
MagicBot 8 months ago
parent
commit
efab8eefba
  1. 6
      src/engine/objects/ItemBase.java

6
src/engine/objects/ItemBase.java

@ -44,7 +44,6 @@ public class ItemBase { @@ -44,7 +44,6 @@ public class ItemBase {
private final String mastery;
private final engine.Enum.SourceType damageType;
private boolean isConsumable;
private final HashMap<Integer, Integer> usedStats = new HashMap<>();
private final boolean isStrBased;
private ArrayList<Integer> animations = new ArrayList<>();
private ArrayList<Integer> offHandAnimations = new ArrayList<>();
@ -163,11 +162,6 @@ public class ItemBase { @@ -163,11 +162,6 @@ public class ItemBase {
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() {
itemHashIDMap.put(this.hashID, uuid);

Loading…
Cancel
Save