Browse Source

Last two variables need work.

combat-2
MagicBot 9 months ago
parent
commit
1ab041ce0f
  1. 8
      src/engine/objects/ItemTemplate.java

8
src/engine/objects/ItemTemplate.java

@ -129,8 +129,6 @@ public class ItemTemplate { @@ -129,8 +129,6 @@ public class ItemTemplate {
public final HashMap<String, int[]> rune_skill_adj = new HashMap<>();
public final EnumSet<Enum.MonsterType> rune_enemy_monster_types = EnumSet.noneOf(Enum.MonsterType.class);
public final EnumSet<Enum.MonsterType> rune_not_enemy_monster_types = EnumSet.noneOf(Enum.MonsterType.class);
public final EnumSet<Enum.MonsterType> rune_groupee_monster_types = EnumSet.noneOf(Enum.MonsterType.class);
public final EnumSet<Enum.MonsterType> rune_helper_monster_types = EnumSet.noneOf(Enum.MonsterType.class);
public ItemTemplate(JSONObject jsonObject) {
@ -513,12 +511,6 @@ public class ItemTemplate { @@ -513,12 +511,6 @@ public class ItemTemplate {
rune_not_enemy_monster_types.add(monsterType);
}
long rune_groupee_bitvector = ((Long) jsonObject.get("rune_groupee_monster_types")).intValue();
rune_groupee_monster_types.addAll(Enum.fromLong(rune_groupee_bitvector, Enum.MonsterType.class));
long rune_helper_bitvector = ((Long) jsonObject.get("rune_helper_monster_types")).intValue();
rune_helper_monster_types.addAll(Enum.fromLong(rune_helper_bitvector, Enum.MonsterType.class));
rune_renderable = ((Boolean) jsonObject.get("rune_renderable"));
rune_natural_power_attack = ((Long) jsonObject.get("rune_natural_power_attack")).intValue();

Loading…
Cancel
Save