2024-08-13 12:06:24 -04:00
|
|
|
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
|
|
|
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
|
|
|
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
|
|
|
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
|
|
|
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
|
|
|
|
// Magicbane Emulator Project © 2013 - 2024
|
|
|
|
|
// www.magicbane.com
|
|
|
|
|
|
2024-08-17 16:33:20 -04:00
|
|
|
package engine.wpak.data;
|
2024-08-13 12:06:24 -04:00
|
|
|
|
2024-08-17 15:58:48 -04:00
|
|
|
import engine.mbEnums;
|
|
|
|
|
|
2024-08-17 14:51:18 -04:00
|
|
|
import java.util.ArrayList;
|
2024-08-19 07:53:19 -04:00
|
|
|
import java.util.EnumSet;
|
2024-08-19 11:10:55 -04:00
|
|
|
import java.util.HashMap;
|
2024-08-13 12:06:24 -04:00
|
|
|
|
2024-08-17 14:51:18 -04:00
|
|
|
public class PowerEntry {
|
2024-08-14 16:36:07 -04:00
|
|
|
public String power_id;
|
2024-08-17 15:13:32 -04:00
|
|
|
public String power;
|
2024-08-17 14:51:18 -04:00
|
|
|
public ArrayList<PowerData> powers = new ArrayList<>();
|
2024-08-17 16:07:47 -04:00
|
|
|
public mbEnums.PowerTargetType target_type;
|
2024-08-14 17:00:19 -04:00
|
|
|
public int range;
|
2024-08-17 16:16:00 -04:00
|
|
|
public mbEnums.AreaType areaType;
|
2024-08-16 12:36:54 -04:00
|
|
|
public int areaRange;
|
2024-08-17 16:20:21 -04:00
|
|
|
public mbEnums.ExcludeType excludeType;
|
2024-08-17 15:58:48 -04:00
|
|
|
public mbEnums.CostType costType;
|
2024-08-15 16:01:50 -04:00
|
|
|
public float cost;
|
2024-08-17 15:23:12 -04:00
|
|
|
public float difficulty;
|
|
|
|
|
public float precision;
|
2024-08-16 12:36:54 -04:00
|
|
|
public float init_time;
|
|
|
|
|
public float release_time;
|
2024-08-14 17:29:13 -04:00
|
|
|
public float recycle_time;
|
2024-08-16 12:36:54 -04:00
|
|
|
public int hitRollYN;
|
2024-08-17 16:24:25 -04:00
|
|
|
public mbEnums.CastingModeType castingMode;
|
2024-08-16 12:36:54 -04:00
|
|
|
public int initAmin;
|
|
|
|
|
public int releaseAnim;
|
2024-08-17 16:24:25 -04:00
|
|
|
public mbEnums.TargetSelectType targetSelect;
|
2024-08-18 16:18:45 -04:00
|
|
|
|
|
|
|
|
// Additional key/value type power entries
|
|
|
|
|
|
2024-08-19 11:24:37 -04:00
|
|
|
public ArrayList<ActionEntry> actionEntries = new ArrayList<>();
|
2024-08-18 16:18:45 -04:00
|
|
|
public int maxLevel;
|
|
|
|
|
public int hateValue;
|
2024-08-19 06:15:50 -04:00
|
|
|
public mbEnums.CompoundCurveType hateCurve = mbEnums.CompoundCurveType.DefaultFlat;
|
2024-08-18 16:18:45 -04:00
|
|
|
public int loopAnimID;
|
|
|
|
|
public String grantOverrideVar;
|
2024-08-19 05:42:04 -04:00
|
|
|
public ArrayList<String> description = new ArrayList<>();
|
2024-08-18 16:38:06 -04:00
|
|
|
public String slopeType;
|
2024-08-18 16:18:45 -04:00
|
|
|
public mbEnums.CompoundCurveType curve;
|
2024-08-18 16:38:06 -04:00
|
|
|
public String category;
|
2024-08-19 06:01:52 -04:00
|
|
|
public boolean canCastWhileMoving = false;
|
2024-08-19 06:04:01 -04:00
|
|
|
public boolean bladeTrails = false;
|
2024-08-19 13:13:54 -04:00
|
|
|
public ArrayList<EffectDescription> effectPreReqs = new ArrayList<>();
|
2024-08-19 06:45:37 -04:00
|
|
|
public EquipmentPreReq equipmentPreReq;
|
2024-08-19 07:57:32 -04:00
|
|
|
public EnumSet<mbEnums.MonsterType> monsterRestricts = EnumSet.noneOf(mbEnums.MonsterType.class);
|
2024-08-19 08:00:53 -04:00
|
|
|
public EnumSet<mbEnums.MonsterType> monsterPrereqs = EnumSet.noneOf(mbEnums.MonsterType.class);
|
2024-08-19 07:56:04 -04:00
|
|
|
public boolean shouldCheckPath = false;
|
2024-08-19 08:02:35 -04:00
|
|
|
public boolean sticky = false;
|
2024-08-19 08:06:09 -04:00
|
|
|
public int pulseCycle;
|
|
|
|
|
public int pulseDuration;
|
2024-08-19 08:08:32 -04:00
|
|
|
public int maxMobTargets;
|
|
|
|
|
public int maxPlayerTargets;
|
2024-08-19 08:10:13 -04:00
|
|
|
public boolean isAdminPower = false;
|
2024-08-19 08:12:18 -04:00
|
|
|
public int casterPulseParticle;
|
2024-08-19 13:13:54 -04:00
|
|
|
public ArrayList<EffectDescription> targetEffectPrereqs = new ArrayList<>();
|
2024-08-19 08:23:17 -04:00
|
|
|
public boolean canCastWhileFlying = false;
|
2024-08-19 08:29:07 -04:00
|
|
|
public boolean isProjectile = false;
|
2024-08-19 11:10:55 -04:00
|
|
|
public HashMap<String, Float> conditions = new HashMap<>();
|
2024-08-19 08:06:09 -04:00
|
|
|
|
2024-08-13 12:06:24 -04:00
|
|
|
}
|