|
|
@ -151,6 +151,25 @@ public class PowersParser { |
|
|
|
break; |
|
|
|
break; |
|
|
|
case "DESCRIPTION": |
|
|
|
case "DESCRIPTION": |
|
|
|
powerEntry.description.add(lineValues[1].trim()); |
|
|
|
powerEntry.description.add(lineValues[1].trim()); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "CATEGORY": |
|
|
|
|
|
|
|
powerEntry.description.add(lineValues[1].trim()); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "CURVE": |
|
|
|
|
|
|
|
arguments = lineValues[1].trim().split(" "); |
|
|
|
|
|
|
|
powerEntry.slopeType = arguments[0]; |
|
|
|
|
|
|
|
powerEntry.curve = mbEnums.CompoundCurveType.valueOf(arguments[1]); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case "SOUNDS": |
|
|
|
|
|
|
|
case "APPLYEFFECTOTHER": |
|
|
|
|
|
|
|
case "FIZZLEOTHER": |
|
|
|
|
|
|
|
case "FIZZLESELF": |
|
|
|
|
|
|
|
case "INITSTRING": |
|
|
|
|
|
|
|
case "SUCCESSOTHER": |
|
|
|
|
|
|
|
case "SUCCESSSELF": |
|
|
|
|
|
|
|
case "WEAROFFEFFECTOTHER": |
|
|
|
|
|
|
|
case "WEAROFFEFFECTSELF": |
|
|
|
|
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
Logger.error("Unhandled variable type:" + key); |
|
|
|
Logger.error("Unhandled variable type:" + key); |
|
|
|
} |
|
|
|
} |
|
|
|