forked from MagicBane/Server
More poweraction parsing work.
This commit is contained in:
@@ -221,6 +221,9 @@ public class PowerActionParser {
|
||||
powerActionEntry.levelCap = Integer.parseInt(arguments[0]);
|
||||
powerActionEntry.levelCurve = mbEnums.CompoundCurveType.valueOf(arguments[1]);
|
||||
break;
|
||||
case "CLEARAGGRO":
|
||||
powerActionEntry.clearAggro = Boolean.parseBoolean(lineValues[1].trim());
|
||||
break;
|
||||
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
|
||||
case "WEAROFFEFFECTSELF":
|
||||
break;
|
||||
|
||||
@@ -39,6 +39,7 @@ public class PowerActionEntry {
|
||||
public mbEnums.DamageType damageType;
|
||||
public boolean applyEffectBlank = false;
|
||||
public boolean wearOffEffectBlank = false;
|
||||
public boolean removeAll;
|
||||
public boolean removeAll = false;
|
||||
public boolean clearAggro = false;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user