AvatarFetterLevelReward

This commit is contained in:
Yazawazi
2022-04-23 06:08:37 +08:00
committed by GitHub
parent 48db644692
commit 7ccecda07c
6 changed files with 116 additions and 0 deletions

View File

@@ -92,6 +92,8 @@ public class GenshinAvatar {
private int fetterLevel = 1;
private int fetterExp;
private int nameCardRewardId;
public GenshinAvatar() {
// Morhpia only!
@@ -110,6 +112,7 @@ public class GenshinAvatar {
public GenshinAvatar(AvatarData data) {
this();
this.avatarId = data.getId();
this.nameCardRewardId = data.getNameCardRewardId();
this.data = data;
this.bornTime = (int) (System.currentTimeMillis() / 1000);
this.flyCloak = 140001;
@@ -172,6 +175,14 @@ public class GenshinAvatar {
this.satiation = satiation;
}
public int getNameCardRewardId() {
return nameCardRewardId;
}
public void setNameCardRewardId(int nameCardRewardId) {
this.nameCardRewardId = nameCardRewardId;
}
public int getSatiationPenalty() {
return satiationPenalty;
}