More poweraction parsing work.
This commit is contained in:
@@ -240,6 +240,9 @@ public class PowerActionParser {
|
|||||||
case "TARGETBECOMESPET":
|
case "TARGETBECOMESPET":
|
||||||
powerActionEntry.targetBecomesPet = Boolean.parseBoolean(lineValues[1].trim());
|
powerActionEntry.targetBecomesPet = Boolean.parseBoolean(lineValues[1].trim());
|
||||||
break;
|
break;
|
||||||
|
case "DESTROYOLDPET":
|
||||||
|
powerActionEntry.destroyOldPet = Boolean.parseBoolean(lineValues[1].trim());
|
||||||
|
break;
|
||||||
case "APPLYEFFECTOTHER":
|
case "APPLYEFFECTOTHER":
|
||||||
case "APPLYEFFECTSELF":
|
case "APPLYEFFECTSELF":
|
||||||
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
|
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
|
||||||
|
|||||||
@@ -42,5 +42,6 @@ public class PowerActionEntry {
|
|||||||
public boolean removeAll = false;
|
public boolean removeAll = false;
|
||||||
public boolean clearAggro = false;
|
public boolean clearAggro = false;
|
||||||
public boolean targetBecomesPet = false;
|
public boolean targetBecomesPet = false;
|
||||||
|
public boolean destroyOldPet = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user