mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 12:42:52 +08:00
Merge remote-tracking branch 'origin/unstable-quests' into unstable-quests
This commit is contained in:
commit
5fcfea2b11
@ -895,6 +895,7 @@ public class Avatar {
|
|||||||
|
|
||||||
public boolean unlockConstellation(boolean skipPayment) {
|
public boolean unlockConstellation(boolean skipPayment) {
|
||||||
int currentTalentLevel = this.getCoreProudSkillLevel();
|
int currentTalentLevel = this.getCoreProudSkillLevel();
|
||||||
|
if (currentTalentLevel < 0) return false;
|
||||||
int talentId = this.skillDepot.getTalents().get(currentTalentLevel);
|
int talentId = this.skillDepot.getTalents().get(currentTalentLevel);
|
||||||
return this.unlockConstellation(talentId, skipPayment);
|
return this.unlockConstellation(talentId, skipPayment);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user