Compare commits
2 Commits
5054006ffc
...
27971c5fb3
| Author | SHA1 | Date | |
|---|---|---|---|
| 27971c5fb3 | |||
| 52fab5d92b |
@@ -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 {
|
||||
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);
|
||||
@@ -506,11 +504,11 @@ public class ItemTemplate {
|
||||
|
||||
JSONArray not_enemy_types_json = (JSONArray) jsonObject.get("rune_not_enemy_monster_types");
|
||||
|
||||
for (Object o : enemy_types_json) {
|
||||
for (Object o : not_enemy_types_json) {
|
||||
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"));
|
||||
|
||||
Reference in New Issue
Block a user