|
|
@ -439,6 +439,12 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
JSONArray skill_granted_array = (JSONArray) skill_granted.get("skill_granted_skills"); |
|
|
|
JSONArray skill_granted_array = (JSONArray) skill_granted.get("skill_granted_skills"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for (Object oo : skill_granted_array) { |
|
|
|
|
|
|
|
JSONArray skill_entry = (JSONArray) oo; |
|
|
|
|
|
|
|
typeString = (String) skill_entry.get(0); |
|
|
|
|
|
|
|
skill_level = ((Long) skill_entry.get(1)).intValue(); |
|
|
|
|
|
|
|
skill_granted_skills.put(typeString, skill_level); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|