mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-25 12:52:57 +08:00
Fix avatar skill behavior when changing elements
This commit is contained in:
parent
3224bbeb4f
commit
ae56b33265
@ -328,6 +328,7 @@ public class Avatar {
|
||||
|
||||
// Set skill depot
|
||||
this.setSkillDepotData(skillDepot, notify);
|
||||
this.recalcStats(true);
|
||||
// Set element.
|
||||
this.getPlayer().setMainCharacterElement(elementTypeToChange);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user