More PowerEntry work.
This commit is contained in:
@@ -10,6 +10,7 @@ package engine.wpak;
|
||||
|
||||
import engine.gameManager.ConfigManager;
|
||||
import engine.mbEnums;
|
||||
import engine.wpak.data.EquipmentPreReq;
|
||||
import engine.wpak.data.PowerAction;
|
||||
import engine.wpak.data.PowerData;
|
||||
import engine.wpak.data.PowerEntry;
|
||||
@@ -180,6 +181,14 @@ public class PowersParser {
|
||||
powerEntry.slopeType = arguments[0];
|
||||
powerEntry.curve = mbEnums.CompoundCurveType.valueOf(arguments[1]);
|
||||
break;
|
||||
case "EQPREREQ":
|
||||
EquipmentPreReq equipmentPreReq = new EquipmentPreReq();
|
||||
arguments = lineValues[1].trim().split(" ");
|
||||
|
||||
equipmentPreReq.slot = mbEnums.EquipSlotType.valueOf(arguments[0]);
|
||||
equipmentPreReq.skill = arguments[1].trim();
|
||||
equipmentPreReq.level = Integer.parseInt(lineValues[2].trim());
|
||||
break;
|
||||
case "SOUNDS":
|
||||
case "APPLYEFFECTOTHER":
|
||||
case "FIZZLEOTHER":
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
||||
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
||||
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
||||
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
||||
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
||||
// Magicbane Emulator Project © 2013 - 2024
|
||||
// www.magicbane.com
|
||||
|
||||
package engine.wpak.data;
|
||||
|
||||
import engine.mbEnums;
|
||||
|
||||
public class EquipmentPreReq {
|
||||
|
||||
public static mbEnums.EquipSlotType slot;
|
||||
public static String skill;
|
||||
public static int level;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user