|
|
@ -43,7 +43,7 @@ public class EffectsParser { |
|
|
|
|
|
|
|
|
|
|
|
while (matcher.find()) { |
|
|
|
while (matcher.find()) { |
|
|
|
EffectEntry effectEntry = parseEffectEntry(matcher.group()); |
|
|
|
EffectEntry effectEntry = parseEffectEntry(matcher.group()); |
|
|
|
effect_data.put(effectEntry.id, effectEntry); |
|
|
|
effect_data.put(effectEntry.effect_id, effectEntry); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -73,9 +73,9 @@ public class EffectsParser { |
|
|
|
while (matcher.find()) |
|
|
|
while (matcher.find()) |
|
|
|
effectHeader.add(matcher.group().trim()); |
|
|
|
effectHeader.add(matcher.group().trim()); |
|
|
|
|
|
|
|
|
|
|
|
effectEntry.id = effectHeader.get(0); |
|
|
|
effectEntry.effect_id = effectHeader.get(0); |
|
|
|
effectEntry.name = effectHeader.get(1); |
|
|
|
effectEntry.effect_name = effectHeader.get(1); |
|
|
|
effectEntry.name = effectEntry.name.replaceAll("\"", ""); |
|
|
|
effectEntry.effect_name = effectEntry.effect_name.replaceAll("\"", ""); |
|
|
|
|
|
|
|
|
|
|
|
// Some effect mods have no icon
|
|
|
|
// Some effect mods have no icon
|
|
|
|
// (SEEINVIS-SHADE "See Invis")
|
|
|
|
// (SEEINVIS-SHADE "See Invis")
|
|
|
|