|
|
@ -125,6 +125,7 @@ public class EffectsParser { |
|
|
|
} |
|
|
|
} |
|
|
|
effect_data.put(effectData.id, effectData); |
|
|
|
effect_data.put(effectData.id, effectData); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
Logger.info("Effects.cfg Parsing Completed"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static void GenerateModValues(Mod inMod, String[] data) { |
|
|
|
public static void GenerateModValues(Mod inMod, String[] data) { |
|
|
@ -132,8 +133,12 @@ public class EffectsParser { |
|
|
|
inMod.values = new ArrayList<>(); |
|
|
|
inMod.values = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
for (int i = 1; i < data.length; i++) |
|
|
|
for (int i = 1; i < data.length; i++) |
|
|
|
if (!data[i].isEmpty()) |
|
|
|
if (!data[i].isEmpty()) { |
|
|
|
|
|
|
|
if(i == 4 && !data[5].isEmpty()){ |
|
|
|
|
|
|
|
inMod.values.add(data[i] + " " + data[5]); |
|
|
|
|
|
|
|
}else { |
|
|
|
inMod.values.add(data[i]); |
|
|
|
inMod.values.add(data[i]); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |