From a9839efe098c429e222bdddf9766a33a18c87a36 Mon Sep 17 00:00:00 2001 From: minshug Date: Sun, 11 Oct 2020 21:20:56 +0530 Subject: [PATCH] more spellbreak icon generation support --- FModel/Creator/Creator.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/FModel/Creator/Creator.cs b/FModel/Creator/Creator.cs index 4c0c357d..a0b7f9bb 100644 --- a/FModel/Creator/Creator.cs +++ b/FModel/Creator/Creator.cs @@ -27,6 +27,11 @@ namespace FModel.Creator int index = Globals.Game.ActualGame == EGame.Valorant || Globals.Game.ActualGame == EGame.Spellbreak ? 1 : 0; string exportType = exportTypes.Length > index ? exportTypes[index].String : string.Empty; + + if (Globals.Game.ActualGame == EGame.Spellbreak & exportType == "BlueprintGeneratedClass"){ // there should better way to do this + index++; + exportType = exportTypes.Length > index ? exportTypes[index].String : string.Empty; + } switch (exportType) { case "AthenaConsumableEmoteItemDefinition":