forked from MagicBane/Server
Refactor baked in stats
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user