forked from MagicBane/Server
More PowerEntry parsing work.
This commit is contained in:
@@ -210,6 +210,9 @@ public class PowersParser {
|
|||||||
case "CANCASTWHILEMOVING":
|
case "CANCASTWHILEMOVING":
|
||||||
powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim());
|
powerEntry.canCastWhileMoving = Boolean.parseBoolean(lineValues[1].trim());
|
||||||
break;
|
break;
|
||||||
|
case "CANCASTWHILEFLYING":
|
||||||
|
powerEntry.canCastWhileFlying = Boolean.parseBoolean(lineValues[1].trim());
|
||||||
|
break;
|
||||||
case "BLADETRAILS":
|
case "BLADETRAILS":
|
||||||
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim());
|
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim());
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -62,5 +62,6 @@ public class PowerEntry {
|
|||||||
public boolean isAdminPower = false;
|
public boolean isAdminPower = false;
|
||||||
public int casterPulseParticle;
|
public int casterPulseParticle;
|
||||||
public ArrayList<EffectPreReq> targetEffectPrereqs = new ArrayList<>();
|
public ArrayList<EffectPreReq> targetEffectPrereqs = new ArrayList<>();
|
||||||
|
public boolean canCastWhileFlying = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user