Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
c51f7610
Commit
c51f7610
authored
Oct 22, 2022
by
AnimeGitB
Browse files
Save avatar in forceConstellationLevel (closes #1881)
parent
c331a7f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/avatar/Avatar.java
View file @
c51f7610
...
...
@@ -809,12 +809,14 @@ public class Avatar {
if
(
level
<
0
)
{
// Special case for resetConst to remove inactive depots too
this
.
talentIdList
.
clear
();
this
.
recalcStats
();
this
.
save
();
return
;
}
this
.
talentIdList
.
removeAll
(
this
.
getTalentIdList
());
// Only remove constellations from active depot
for
(
int
i
=
0
;
i
<
level
;
i
++)
this
.
unlockConstellation
(
true
);
this
.
recalcStats
();
this
.
save
();
}
public
boolean
sendSkillExtraChargeMap
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment