StatTransfer pojo created.

This commit is contained in:
2024-08-20 16:26:57 -04:00
parent 465736912b
commit ee431510fb
2 changed files with 29 additions and 2 deletions
+5 -2
View File
@@ -14,9 +14,14 @@ import java.util.ArrayList;
public class PowerActionEntry {
// Header values
public String action_id;
public String action_type;
public ArrayList<EffectDescription> effects = new ArrayList<>();
public int petLevel;
public int petRace;
public StatTransfer statTransfer;
// Additional variables after header go here.
@@ -32,8 +37,6 @@ public class PowerActionEntry {
public mbEnums.DamageType damageType;
public boolean applyEffectBlank = false;
public boolean wearOffEffectBlank = false;
public int petLevel;
public int petRace;
public boolean removeAll;
}
+24
View File
@@ -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;
}