|
|
@ -130,8 +130,14 @@ public class EffectsParser { |
|
|
|
|
|
|
|
|
|
|
|
public static void GenerateModValues(Mod inMod, String[] data) { |
|
|
|
public static void GenerateModValues(Mod inMod, String[] data) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int maxValue = 5; |
|
|
|
int maxValue = 5; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(inMod.type != null && inMod.type.name().equals("Health")){ |
|
|
|
|
|
|
|
maxValue = 7; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(data.length < maxValue) |
|
|
|
if(data.length < maxValue) |
|
|
|
maxValue = data.length; |
|
|
|
maxValue = data.length; |
|
|
|
|
|
|
|
|
|
|
|