Fix weapon curve excels and camel case relic affix ecels

This commit is contained in:
Melledy 2022-05-29 20:39:42 -07:00
parent 310ac82fa2
commit 9e19a5c160
2 changed files with 21 additions and 21 deletions

View File

@ -230,20 +230,20 @@ public class ItemData extends GameResource {
public static class WeaponProperty {
private FightProperty fightProp;
private String PropType;
private float InitValue;
private String Type;
private String propType;
private float initValue;
private String type;
public String getPropType(){
return this.PropType;
return this.propType;
}
public float getInitValue(){
return this.InitValue;
return this.initValue;
}
public String getType(){
return this.Type;
return this.type;
}
public FightProperty getFightProp() {
@ -251,7 +251,7 @@ public class ItemData extends GameResource {
}
public void onLoad() {
this.fightProp = FightProperty.getPropByName(PropType);
this.fightProp = FightProperty.getPropByName(propType);
}
}

View File

@ -6,41 +6,41 @@ import emu.grasscutter.game.props.FightProperty;
@ResourceType(name = "ReliquaryAffixExcelConfigData.json")
public class ReliquaryAffixData extends GameResource {
private int Id;
private int id;
private int DepotId;
private int GroupId;
private FightProperty PropType;
private float PropValue;
private int Weight;
private int UpgradeWeight;
private int depotId;
private int groupId;
private FightProperty propType;
private float propValue;
private int weight;
private int upgradeWeight;
@Override
public int getId() {
return Id;
return id;
}
public int getDepotId() {
return DepotId;
return depotId;
}
public int getGroupId() {
return GroupId;
return groupId;
}
public float getPropValue() {
return PropValue;
return propValue;
}
public int getWeight() {
return Weight;
return weight;
}
public int getUpgradeWeight() {
return UpgradeWeight;
return upgradeWeight;
}
public FightProperty getFightProp() {
return PropType;
return propType;
}
}