From ae56b33265cebf399e044918ea00ccc7965f8d61 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Fri, 14 Apr 2023 01:54:43 -0400 Subject: [PATCH] Fix avatar skill behavior when changing elements --- src/main/java/emu/grasscutter/game/avatar/Avatar.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/emu/grasscutter/game/avatar/Avatar.java b/src/main/java/emu/grasscutter/game/avatar/Avatar.java index a5c4466f9..4e622497e 100644 --- a/src/main/java/emu/grasscutter/game/avatar/Avatar.java +++ b/src/main/java/emu/grasscutter/game/avatar/Avatar.java @@ -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;