Fix avatar skill behavior when changing elements

This commit is contained in:
KingRainbow44 2023-04-14 01:54:43 -04:00
parent 3224bbeb4f
commit ae56b33265
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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;