mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-20 02:45:52 +01:00
49 lines
958 B
Java
49 lines
958 B
Java
package emu.grasscutter.data.def;
|
|
|
|
import emu.grasscutter.data.GameResource;
|
|
import emu.grasscutter.data.ResourceType;
|
|
import emu.grasscutter.game.props.FightProperty;
|
|
|
|
@ResourceType(name = "ReliquaryAffixExcelConfigData.json")
|
|
public class ReliquaryAffixData extends GameResource {
|
|
private int Id;
|
|
|
|
private int DepotId;
|
|
private int GroupId;
|
|
private String PropType;
|
|
private float PropValue;
|
|
private int Weight;
|
|
private int UpgradeWeight;
|
|
|
|
private FightProperty fightProp;
|
|
|
|
@Override
|
|
public int getId() {
|
|
return Id;
|
|
}
|
|
public int getDepotId() {
|
|
return DepotId;
|
|
}
|
|
public int getGroupId() {
|
|
return GroupId;
|
|
}
|
|
public float getPropValue() {
|
|
return PropValue;
|
|
}
|
|
public int getWeight() {
|
|
return Weight;
|
|
}
|
|
public int getUpgradeWeight() {
|
|
return UpgradeWeight;
|
|
}
|
|
|
|
public FightProperty getFightProp() {
|
|
return fightProp;
|
|
}
|
|
|
|
@Override
|
|
public void onLoad() {
|
|
this.fightProp = FightProperty.getPropByName(this.PropType);
|
|
}
|
|
}
|