forked from MagicBane/Server
More PowerAction parsing work.
This commit is contained in:
@@ -285,6 +285,11 @@ public class PowerActionParser {
|
||||
case "ROOTFSMID":
|
||||
powerActionEntry.rootFsmID = mbEnums.MobBehaviourType.valueOf(lineValues[1].trim());
|
||||
break;
|
||||
case "SPLASHDAMAGE":
|
||||
arguments = lineValues[1].trim().split("\\s+");
|
||||
powerActionEntry.splashDamageMin = Integer.parseInt(arguments[0]);
|
||||
powerActionEntry.splashDamageMax = Integer.parseInt(arguments[1]);
|
||||
break;
|
||||
case "APPLYEFFECTOTHER":
|
||||
case "APPLYEFFECTSELF":
|
||||
case "WEAROFFEFFECTOTHER": // Keys not parsed go here.
|
||||
|
||||
@@ -46,5 +46,8 @@ public class PowerActionEntry {
|
||||
public boolean destroyOldPet = false;
|
||||
public mbEnums.ItemFlags itemFlag;
|
||||
public mbEnums.MobBehaviourType rootFsmID;
|
||||
public int splashDamageMin;
|
||||
public int splashDamageMax;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user