|
|
|
@ -103,6 +103,12 @@ public class PowerActionParser {
@@ -103,6 +103,12 @@ public class PowerActionParser {
|
|
|
|
|
for (String bodyPart : arguments) |
|
|
|
|
powerActionEntry.bodyparts.add(Integer.parseInt(bodyPart)); |
|
|
|
|
break; |
|
|
|
|
case "FEMALEBODYPARTS": |
|
|
|
|
arguments = lineValues[1].trim().split("\\s+"); |
|
|
|
|
|
|
|
|
|
for (String bodyPart : arguments) |
|
|
|
|
powerActionEntry.femaleBodyParts.add(Integer.parseInt(bodyPart)); |
|
|
|
|
break; |
|
|
|
|
case "ISRESISTABLE": |
|
|
|
|
powerActionEntry.isResistable = Boolean.parseBoolean(lineValues[1].trim()); |
|
|
|
|
break; |
|
|
|
@ -130,6 +136,9 @@ public class PowerActionParser {
@@ -130,6 +136,9 @@ public class PowerActionParser {
|
|
|
|
|
for (String bodyPart : arguments) |
|
|
|
|
powerActionEntry.attackAnimations.add(Integer.parseInt(bodyPart)); |
|
|
|
|
break; |
|
|
|
|
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
|
|
|
|
|
case "WEAROFFEFFECTSELF": |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
Logger.error("Unhandled variable type:" + key + " for powerAction: " + powerActionEntry.action_id); |
|
|
|
|
} |
|
|
|
|