forked from MagicBane/Server
Teleport bool parsed
This commit is contained in:
@@ -186,9 +186,12 @@ public class PowerActionParser {
|
|||||||
trackEntry.max = Integer.parseInt(headerIterator.next());
|
trackEntry.max = Integer.parseInt(headerIterator.next());
|
||||||
powerAction.trackEntry = trackEntry;
|
powerAction.trackEntry = trackEntry;
|
||||||
break;
|
break;
|
||||||
|
case "Teleport":
|
||||||
|
if (headerIterator.hasNext())
|
||||||
|
powerAction.ignoreNoTeleSpire = Boolean.parseBoolean(headerIterator.next());
|
||||||
|
break;
|
||||||
case "Recall": // No arguments for these tags or not parsed
|
case "Recall": // No arguments for these tags or not parsed
|
||||||
case "Summon":
|
case "Summon":
|
||||||
case "Teleport":
|
|
||||||
case "TreeChoke":
|
case "TreeChoke":
|
||||||
case "SimpleDamage":
|
case "SimpleDamage":
|
||||||
case "MobRecall": // One argument always zero
|
case "MobRecall": // One argument always zero
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ public class PowerAction {
|
|||||||
public mbEnums.MobBehaviourType rootFsmID;
|
public mbEnums.MobBehaviourType rootFsmID;
|
||||||
public int splashDamageMin;
|
public int splashDamageMin;
|
||||||
public int splashDamageMax;
|
public int splashDamageMax;
|
||||||
|
public boolean ignoreNoTeleSpire = false;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user