修复合并ハミダシクリエイティブ时出错的问题

This commit is contained in:
Chenx221 2024-07-28 18:57:57 +08:00
parent 3139302ef9
commit 9f8d44250c

View File

@ -1,5 +1,6 @@
using ImageMagick; using ImageMagick;
using NLua; using NLua;
using System.Reflection.Metadata.Ecma335;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace ArtemisFgTools namespace ArtemisFgTools
{ {
@ -18,7 +19,7 @@ namespace ArtemisFgTools
Console.WriteLine("请输入立绘fg文件夹的所在路径无需\"\""); Console.WriteLine("请输入立绘fg文件夹的所在路径无需\"\"");
string? fgImagePath = Console.ReadLine(); string? fgImagePath = Console.ReadLine();
Console.WriteLine("请输入exlist.ipt的文件路径:"); Console.WriteLine("请输入exlist的文件路径:");
string? luaFilePath = Console.ReadLine(); string? luaFilePath = Console.ReadLine();
Console.WriteLine("请输入保存位置:"); Console.WriteLine("请输入保存位置:");
@ -82,6 +83,11 @@ namespace ArtemisFgTools
{ {
Parallel.ForEach(fgObject.Fuku, fuku => Parallel.ForEach(fgObject.Fuku, fuku =>
{ {
//💢 skip //For ハミダシクリエイティブ
if (fuku == "99")
{
return;
}
bool special = false; bool special = false;
string special_text=""; string special_text="";
string fuku_current = fuku; string fuku_current = fuku;
@ -116,6 +122,11 @@ namespace ArtemisFgTools
{ {
Parallel.ForEach(fgObject.Fuku, fuku => Parallel.ForEach(fgObject.Fuku, fuku =>
{ {
//💢 skip //For ハミダシクリエイティブ
if (fuku == "99")
{
return;
}
bool special = false; bool special = false;
string special_text = ""; string special_text = "";
string fuku_current = fuku; string fuku_current = fuku;