mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 17:05:20 +01:00
Fix avatar skill behavior when changing elements
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user