|
|
|
@ -341,7 +341,7 @@ public class ItemTemplate {
@@ -341,7 +341,7 @@ public class ItemTemplate {
|
|
|
|
|
JSONObject powerActionEntry = (JSONObject) o; |
|
|
|
|
String power = (String) powerActionEntry.get("power_type"); |
|
|
|
|
JSONArray power_actions = (JSONArray) powerActionEntry.get("power_actions"); |
|
|
|
|
JSONArray power_args = (JSONArray) power_actions.get(9); |
|
|
|
|
JSONArray power_args = (JSONArray) power_actions.get(0); |
|
|
|
|
int[] power_arguments = {((Long) power_args.get(0)).intValue(), ((Long) power_args.get(1)).intValue()}; |
|
|
|
|
item_power_action.put(power, power_arguments); |
|
|
|
|
} |
|
|
|
|