Refactor baked in stats

This commit is contained in:
MagicBot committed 2024-03-11 11:29:41 -04:00
1 parent 6ee194924c
commit b0f8c758e5
3 files changed
+4 -23

No files matched your search

-8
View File
@@ -44,9 +44,6 @@ public class ItemBase {
private final String mastery;
private final engine.Enum.SourceType damageType;
private boolean isConsumable;
// Item stat modifiers
private final HashMap<Integer, Integer> bakedInStats = new HashMap<>();
private final HashMap<Integer, Integer> usedStats = new HashMap<>();
private final boolean isStrBased;
private ArrayList<Integer> animations = new ArrayList<>();
@@ -166,11 +163,6 @@ public class ItemBase {
return ID > 7000099 && ID < 7000281;
}
//returns powers tokens baked in to item
public HashMap<Integer, Integer> getBakedInStats() {
return this.bakedInStats;
}
//returns power tokens granted when using item, such as scrolls and potions
public HashMap<Integer, Integer> getUsedStats() {
return this.usedStats;