Commit e9a7032c authored by Melledy's avatar Melledy
Browse files

Fix weapon curve excels and camel case relic affix ecels

parent ef6e16aa
...@@ -230,20 +230,20 @@ public class ItemData extends GameResource { ...@@ -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 { ...@@ -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);
} }
} }
......
...@@ -6,41 +6,41 @@ import emu.grasscutter.game.props.FightProperty; ...@@ -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;
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment