forked from MagicBane/Server
PowerActionEntry parsing work.
This commit is contained in:
@@ -109,6 +109,12 @@ public class PowerActionParser {
|
|||||||
for (String bodyPart : arguments)
|
for (String bodyPart : arguments)
|
||||||
powerActionEntry.femaleBodyParts.add(Integer.parseInt(bodyPart));
|
powerActionEntry.femaleBodyParts.add(Integer.parseInt(bodyPart));
|
||||||
break;
|
break;
|
||||||
|
case "SCALEFACTOR":
|
||||||
|
arguments = lineValues[1].trim().split("\\s+");
|
||||||
|
|
||||||
|
for (String bodyPart : arguments)
|
||||||
|
powerActionEntry.scaleFactor.add(Float.parseFloat(bodyPart));
|
||||||
|
break;
|
||||||
case "ISRESISTABLE":
|
case "ISRESISTABLE":
|
||||||
powerActionEntry.isResistable = Boolean.parseBoolean(lineValues[1].trim());
|
powerActionEntry.isResistable = Boolean.parseBoolean(lineValues[1].trim());
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user