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 ef6e16aaf5
commit e9a7032c4d
2 changed files with 21 additions and 21 deletions

View File

@ -230,20 +230,20 @@ public class ItemData extends GameResource {
public static class WeaponProperty { public static class WeaponProperty {
private FightProperty fightProp; private FightProperty fightProp;
private String PropType; private String propType;
private float InitValue; private float initValue;
private String Type; private String type;
public String getPropType(){ public String getPropType(){
return this.PropType; return this.propType;
} }
public float getInitValue(){ public float getInitValue(){
return this.InitValue; return this.initValue;
} }
public String getType(){ public String getType(){
return this.Type; return this.type;
} }
public FightProperty getFightProp() { public FightProperty getFightProp() {
@ -251,7 +251,7 @@ public class ItemData extends GameResource {
} }
public void onLoad() { 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") @ResourceType(name = "ReliquaryAffixExcelConfigData.json")
public class ReliquaryAffixData extends GameResource { public class ReliquaryAffixData extends GameResource {
private int Id; private int id;
private int DepotId; private int depotId;
private int GroupId; private int groupId;
private FightProperty PropType; private FightProperty propType;
private float PropValue; private float propValue;
private int Weight; private int weight;
private int UpgradeWeight; private int upgradeWeight;
@Override @Override
public int getId() { public int getId() {
return Id; return id;
} }
public int getDepotId() { public int getDepotId() {
return DepotId; return depotId;
} }
public int getGroupId() { public int getGroupId() {
return GroupId; return groupId;
} }
public float getPropValue() { public float getPropValue() {
return PropValue; return propValue;
} }
public int getWeight() { public int getWeight() {
return Weight; return weight;
} }
public int getUpgradeWeight() { public int getUpgradeWeight() {
return UpgradeWeight; return upgradeWeight;
} }
public FightProperty getFightProp() { public FightProperty getFightProp() {
return PropType; return propType;
} }
} }