PowerAction work started.
This commit is contained in:
@@ -216,7 +216,7 @@ public class PowersParser {
|
||||
powerEntry.bladeTrails = Boolean.parseBoolean(lineValues[1].trim());
|
||||
break;
|
||||
case "EFFECTPREREQ":
|
||||
effectDescription effectPreReq = new effectDescription();
|
||||
EffectDescription effectPreReq = new EffectDescription();
|
||||
arguments = lineValues[1].trim().split("\\s+");
|
||||
effectPreReq.effect_id = arguments[9];
|
||||
effectPreReq.level = Integer.parseInt(arguments[1]);
|
||||
@@ -260,7 +260,7 @@ public class PowersParser {
|
||||
powerEntry.casterPulseParticle = Integer.parseInt(lineValues[1].trim());
|
||||
break;
|
||||
case "TARGETEFFECTPREREQS_ORED":
|
||||
effectDescription preReq = new effectDescription();
|
||||
EffectDescription preReq = new EffectDescription();
|
||||
arguments = lineValues[1].trim().split("\\s+");
|
||||
preReq.effect_id = arguments[0];
|
||||
preReq.level = Integer.parseInt(arguments[1]);
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
package engine.wpak.data;
|
||||
|
||||
public class effectDescription {
|
||||
public class EffectDescription {
|
||||
public String effect_id;
|
||||
public int level;
|
||||
public String message;
|
||||
@@ -13,6 +13,6 @@ import java.util.ArrayList;
|
||||
public class PowerActionEntry {
|
||||
public String action_id;
|
||||
public String action_type;
|
||||
public ArrayList<effectDescription> effects;
|
||||
public ArrayList<EffectDescription> effects;
|
||||
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class PowerEntry {
|
||||
public String category;
|
||||
public boolean canCastWhileMoving = false;
|
||||
public boolean bladeTrails = false;
|
||||
public ArrayList<effectDescription> effectPreReqs = new ArrayList<>();
|
||||
public ArrayList<EffectDescription> effectPreReqs = new ArrayList<>();
|
||||
public EquipmentPreReq equipmentPreReq;
|
||||
public EnumSet<mbEnums.MonsterType> monsterRestricts = EnumSet.noneOf(mbEnums.MonsterType.class);
|
||||
public EnumSet<mbEnums.MonsterType> monsterPrereqs = EnumSet.noneOf(mbEnums.MonsterType.class);
|
||||
@@ -62,7 +62,7 @@ public class PowerEntry {
|
||||
public int maxPlayerTargets;
|
||||
public boolean isAdminPower = false;
|
||||
public int casterPulseParticle;
|
||||
public ArrayList<effectDescription> targetEffectPrereqs = new ArrayList<>();
|
||||
public ArrayList<EffectDescription> targetEffectPrereqs = new ArrayList<>();
|
||||
public boolean canCastWhileFlying = false;
|
||||
public boolean isProjectile = false;
|
||||
public HashMap<String, Float> conditions = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user