privateint[][]poolBalanceWeights4={{1,255},{17,255},{21,10455}};// Used to ensure that players won't go too many rolls without getting something from pool 1 (avatar) or pool 2 (weapon)
Grasscutter.getLogger().error("Deprecated field found in Banners config: "+name+" was replaced back in early May 2022, use "+replacement+" instead. You MUST remove this field from your config.");
Grasscutter.getLogger().error("Deprecated field found in Banners config: "+name+" was replaced back in early May 2022, use "+replacement+" instead. You MUST remove this field from your config.");
Grasscutter.getLogger().error("Redundant field found in Banners config: previewPrefabPath does not need to be specified if it is identical to prefabPath prefixed with \"UI_Tab_\".");
Grasscutter.getLogger().error("Redundant field found in Banners config: previewPrefabPath does not need to be specified if it is identical to prefabPath prefixed with \"UI_Tab_\".");
EVENT(301,223,DEFAULT_WEIGHTS_4,DEFAULT_WEIGHTS_5_CHARACTER,50,50,DEFAULT_FALLBACK_ITEMS_5_POOL_1,DEFAULT_FALLBACK_ITEMS_5_POOL_2),// Legacy value for CHARACTER
@@ -76,8 +76,14 @@ public class GachaSystem extends BaseGameSystem {
...
@@ -76,8 +76,14 @@ public class GachaSystem extends BaseGameSystem {
banner.onLoad();
banner.onLoad();
if(banner.isDeprecated()){
if(banner.isDeprecated()){
Grasscutter.getLogger().error("A Banner has not been loaded because it contains one or more deprecated fields. Remove the fields mentioned above and reload.");
Grasscutter.getLogger().error("A Banner has not been loaded because it contains one or more deprecated fields. Remove the fields mentioned above and reload.");
}elseif(banner.isDisabled()){
Grasscutter.getLogger().debug("A Banner has not been loaded because it is disabled.");