From 0453f387acd938f6c7f5747bad0116671778a282 Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Sat, 28 May 2022 21:36:56 -0700 Subject: [PATCH] Fixed constellation issues from new binout --- src/main/java/emu/grasscutter/data/ResourceLoader.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/emu/grasscutter/data/ResourceLoader.java b/src/main/java/emu/grasscutter/data/ResourceLoader.java index 1c1e61c90..b0892b28f 100644 --- a/src/main/java/emu/grasscutter/data/ResourceLoader.java +++ b/src/main/java/emu/grasscutter/data/ResourceLoader.java @@ -11,6 +11,7 @@ import emu.grasscutter.utils.Utils; import org.reflections.Reflections; import com.google.gson.JsonElement; +import com.google.gson.annotations.SerializedName; import com.google.gson.reflect.TypeToken; import emu.grasscutter.Grasscutter; @@ -434,8 +435,14 @@ public class ResourceLoader { public static class OpenConfigData { public String $type; public String abilityName; + + @SerializedName(value="talentIndex", alternate={"OJOFFKLNAHN"}) public int talentIndex; + + @SerializedName(value="skillID", alternate={"overtime"}) public int skillID; + + @SerializedName(value="pointDelta", alternate={"IGEBKIHPOIF"}) public int pointDelta; } }