Browse Source

Skill and mastery work.

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

2
src/engine/objects/ItemTemplate.java

@ -111,7 +111,6 @@ public class ItemTemplate { @@ -111,7 +111,6 @@ public class ItemTemplate {
if (skills_used instanceof JSONArray)
for (Object o : (JSONArray) skills_used) {
String skilString = ((String) o).replaceAll("\\s", "");
;
Enum.CharacterSkills characterSkill = Enum.CharacterSkills.valueOf(skilString);
item_skill_used.add(characterSkill);
}
@ -121,7 +120,6 @@ public class ItemTemplate { @@ -121,7 +120,6 @@ public class ItemTemplate {
if (mastery_used instanceof JSONArray)
for (Object o : (JSONArray) mastery_used) {
String masteryString = ((String) o).replaceAll("\\s", "");
;
Enum.CharacterSkills masterySkill = Enum.CharacterSkills.valueOf(masteryString);
item_skill_mastery_used.add(masterySkill);
}

Loading…
Cancel
Save