Refactored poweractions

This commit is contained in:
MagicBot committed 2024-09-05 15:25:29 -04:00
1 parent 0fd6dfb648
commit 82cefce424
3 files changed
+8 -17

No files matched your search

+1 -1
View File
@@ -93,8 +93,8 @@ public class PowerActionParser {
powerAction.effects.add(effect);
break;
case "CreateMob":
powerAction.petLevel = Integer.parseInt(headerIterator.next());
powerAction.petRace = Integer.parseInt(headerIterator.next());
powerAction.petLevel = Integer.parseInt(headerIterator.next());
break;
case "DamageOverTime":
effect = new Effect();