forked from MagicBane/Server
More powerAction work.
This commit is contained in:
@@ -114,10 +114,15 @@ public class PowersParser {
|
|||||||
String lineValue = iterator.next();
|
String lineValue = iterator.next();
|
||||||
String[] linevalues = lineValue.split("=");
|
String[] linevalues = lineValue.split("=");
|
||||||
String key = linevalues[0].trim();
|
String key = linevalues[0].trim();
|
||||||
|
PowerAction powerAction;
|
||||||
|
String[] arguments;
|
||||||
|
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case "ACTION":
|
case "ACTION":
|
||||||
PowerAction powerAction = new PowerAction();
|
powerAction = new PowerAction();
|
||||||
|
arguments = linevalues[1].split(" ");
|
||||||
|
powerAction.effect_id = arguments[0];
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user