forked from MagicBane/Server
StatTransfer pojo created.
This commit is contained in:
@@ -14,9 +14,14 @@ import java.util.ArrayList;
|
|||||||
|
|
||||||
public class PowerActionEntry {
|
public class PowerActionEntry {
|
||||||
|
|
||||||
|
// Header values
|
||||||
|
|
||||||
public String action_id;
|
public String action_id;
|
||||||
public String action_type;
|
public String action_type;
|
||||||
public ArrayList<EffectDescription> effects = new ArrayList<>();
|
public ArrayList<EffectDescription> effects = new ArrayList<>();
|
||||||
|
public int petLevel;
|
||||||
|
public int petRace;
|
||||||
|
public StatTransfer statTransfer;
|
||||||
|
|
||||||
// Additional variables after header go here.
|
// Additional variables after header go here.
|
||||||
|
|
||||||
@@ -32,8 +37,6 @@ public class PowerActionEntry {
|
|||||||
public mbEnums.DamageType damageType;
|
public mbEnums.DamageType damageType;
|
||||||
public boolean applyEffectBlank = false;
|
public boolean applyEffectBlank = false;
|
||||||
public boolean wearOffEffectBlank = false;
|
public boolean wearOffEffectBlank = false;
|
||||||
public int petLevel;
|
|
||||||
public int petRace;
|
|
||||||
public boolean removeAll;
|
public boolean removeAll;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
|
||||||
|
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
|
||||||
|
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
|
||||||
|
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
|
||||||
|
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
|
||||||
|
// Magicbane Emulator Project © 2013 - 2024
|
||||||
|
// www.magicbane.com
|
||||||
|
|
||||||
|
package engine.wpak.data;
|
||||||
|
|
||||||
|
import engine.mbEnums;
|
||||||
|
|
||||||
|
public class StatTransfer {
|
||||||
|
public mbEnums.CostType fromStat;
|
||||||
|
public int fromStatValue;
|
||||||
|
public mbEnums.CompoundCurveType fromCurve;
|
||||||
|
public mbEnums.CostType toStat;
|
||||||
|
public int toStatValue;
|
||||||
|
public mbEnums.CompoundCurveType toCurve;
|
||||||
|
public boolean fromStatBool;
|
||||||
|
public boolean toStatBool;
|
||||||
|
public String transfer_action;
|
||||||
|
public int effect_duration;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user