Browse Source

not_enemy_types_json parsed

combat-2
MagicBot 8 months ago
parent
commit
52fab5d92b
  1. 4
      src/engine/objects/ItemTemplate.java

4
src/engine/objects/ItemTemplate.java

@ -49,7 +49,6 @@ public class ItemTemplate { @@ -49,7 +49,6 @@ public class ItemTemplate {
public String item_dsc;
public int item_render_object_female;
public float item_health_full;
public String item_skill_used = "";
public String item_skill_mastery_used = "";
public int item_parry_anim_id;
@ -72,7 +71,6 @@ public class ItemTemplate { @@ -72,7 +71,6 @@ public class ItemTemplate {
public HashMap<String, Integer> item_skill_required = new HashMap<>();
public EnumSet<Enum.MonsterType> item_race_req = EnumSet.noneOf(Enum.MonsterType.class);
public EnumSet<Enum.MonsterType> item_race_res = EnumSet.noneOf(Enum.MonsterType.class);
public EnumSet<Enum.ClassType> item_class_req = EnumSet.noneOf(Enum.ClassType.class);
public EnumSet<Enum.ClassType> item_class_res = EnumSet.noneOf(Enum.ClassType.class);
public EnumSet<Enum.DisciplineType> item_disc_req = EnumSet.noneOf(Enum.DisciplineType.class);
@ -510,7 +508,7 @@ public class ItemTemplate { @@ -510,7 +508,7 @@ public class ItemTemplate {
String notenemy = (String) o;
notenemy = notenemy.replaceAll("-", "");
Enum.MonsterType monsterType = Enum.MonsterType.valueOf(notenemy);
not_enemy_types_json.add(monsterType);
rune_not_enemy_monster_types.add(monsterType);
}
rune_renderable = ((Boolean) jsonObject.get("rune_renderable"));

Loading…
Cancel
Save