Browse Source

Parsing power_granted_skills

combat-2
MagicBot 7 months ago
parent
commit
5ef45a2212
  1. 2
      src/engine/objects/ItemTemplate.java

2
src/engine/objects/ItemTemplate.java

@ -369,7 +369,7 @@ public class ItemTemplate { @@ -369,7 +369,7 @@ public class ItemTemplate {
JSONArray skill_entry = (JSONArray) skillGrantEntry;
String skill_type = (String) skill_entry.get(0);
int skill_level = ((Long) skill_entry.get(1)).intValue();
skill_granted_skills.put(skill_type, skill_level);
power_granted_skills.put(skill_type, skill_level);
}
}

Loading…
Cancel
Save