Browse Source

skills_granted_array started for rune

combat-2
MagicBot 8 months ago
parent
commit
3e2f420c30
  1. 5
      src/engine/objects/ItemTemplate.java

5
src/engine/objects/ItemTemplate.java

@ -102,8 +102,8 @@ public class ItemTemplate { @@ -102,8 +102,8 @@ public class ItemTemplate {
public HashMap<Enum.AttributeType, Integer> rune_attr_adj = new HashMap<>();
public HashMap<Enum.AttributeType, Integer> rune_max_attr_adj = new HashMap<>();
public HashMap<String, Integer> rune_skill_grant = new HashMap<>();
public HashMap<Integer, Integer> skill_granted_skills = new HashMap<>();
public ItemTemplate(JSONObject jsonObject) {
@ -438,6 +438,9 @@ public class ItemTemplate { @@ -438,6 +438,9 @@ public class ItemTemplate {
String typeString = (String) skill_granted.get("skill_type");
int skill_level = ((Long) skill_granted.get("skill_value")).intValue();
rune_skill_grant.put(typeString, skill_level);
JSONArray skill_granted_array = (JSONArray) skill_granted.get("skill_granted_skills");
}
}

Loading…
Cancel
Save