diff --git a/Deep_Dungeon/Eureka_Orthos.cs b/Deep_Dungeon/Eureka_Orthos.cs index 997a5d3..1eaf177 100644 --- a/Deep_Dungeon/Eureka_Orthos.cs +++ b/Deep_Dungeon/Eureka_Orthos.cs @@ -31,7 +31,7 @@ public class Eureka_Orthos { 严重错误:暂未支持【缓速】【形态变化】【石化】【眩晕】【催眠】等限制 怪物死亡也暂时没有销毁绘图,先拯救ARR完再说[?] """; - + //对应怪物死亡、眩晕、催眠、石化1511、无法发动技能1113等状态都需要销毁绘图,缓速3493需要额外注意没有omen的技能 // 71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速 diff --git a/Deep_Dungeon/the_Palace_of_the_Dead.cs b/Deep_Dungeon/the_Palace_of_the_Dead.cs index 0b1fe59..9fdb8f9 100644 --- a/Deep_Dungeon/the_Palace_of_the_Dead.cs +++ b/Deep_Dungeon/the_Palace_of_the_Dead.cs @@ -576,7 +576,7 @@ public class the_Palace_of_the_Dead var dp = accessory.Data.GetDefaultDrawProperties(); dp.Name = "熔岩爆弹怪_震撼弹预测"; - dp.Color = new Vector4(0f, 0f, 1f, 1f); + dp.Color = new Vector4(0f, 0f, 1f, 1.5f); dp.Scale = new Vector2(7.2f); dp.Delay = 45000; dp.DestoryAt = 9000; diff --git a/OnlineRepo.json b/OnlineRepo.json index 9ae0464..f384b98 100644 --- a/OnlineRepo.json +++ b/OnlineRepo.json @@ -4,6 +4,7 @@ "Guid": "d3d532f1-0707-427f-ac04-871a22022c11", "Version": "0.0.0.1", "Author": "南雲鉄虎", + "TerritoryIds": [292], "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/02-A-Realm-Reborn/the_Bowl_of_Embers(Hard).cs", "UpdateInfo": "" }, @@ -13,6 +14,7 @@ "Guid": "d32d7489-a1bb-4117-98dd-ee895390804d", "Version": "0.0.0.1", "Author": "南雲鉄虎", + "TerritoryIds": [369], "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/02-A-Realm-Reborn/the_Hydra.cs", "UpdateInfo": "" }, @@ -22,6 +24,7 @@ "Guid": "8a526afb-eefd-44ec-a105-7dc8fcd28e47", "Version": "0.0.0.1", "Author": "南雲鉄虎", + "TerritoryIds": [1140], "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/06-EndWalker/the_Voidcast_Dais.cs", "UpdateInfo": "" }, @@ -31,6 +34,7 @@ "Guid": "038e00e8-d378-4f43-89ab-e27df5561d5a", "Version": "0.0.0.1", "Author": "南雲鉄虎", + "TerritoryIds": [943], "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/05-Eden/Normal/E10n.cs", "UpdateInfo": "" }, @@ -40,6 +44,7 @@ "Guid": "4210c323-eba4-4d67-a7e7-b90799494729", "Version": "0.0.0.1", "Author": "南雲鉄虎", + "TerritoryIds": [561,562,563,564,565,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607], "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/Deep_Dungeon/the_Palace_of_the_Dead.cs", "UpdateInfo": "" @@ -50,6 +55,7 @@ "Guid": "7703f1a9-5698-4896-8908-bb8e415c1321", "Version": "0.0.0.1", "Author": "南雲鉄虎", + "TerritoryIds": [796], "DownloadUrl": "https://raw.githubusercontent.com/Hibiya615/TetoraKAScript/refs/heads/main/Celestium/18-Midsummer_Night's_Explosion.cs", "UpdateInfo": "" diff --git a/TetoraKodakkuScript.csproj b/TetoraKodakkuScript.csproj index cae46c0..5ca4d59 100644 --- a/TetoraKodakkuScript.csproj +++ b/TetoraKodakkuScript.csproj @@ -1,4 +1,5 @@ - + + net8.0-windows @@ -10,7 +11,7 @@ $(appdata)\XIVLauncherCN\addon\Hooks\dev\ - $(appdata)\XIVLauncherCN\installedPlugins\KodakkuAssist\0.1.15.0\ + $(appdata)\XIVLauncherCN\installedPlugins\KodakkuAssist\0.1.17.0\ @@ -47,4 +48,4 @@ - + \ No newline at end of file diff --git a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs b/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs index 71bac3f..e48b0eb 100644 --- a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs +++ b/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfo.cs @@ -13,7 +13,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("TetoraKodakkuScript")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+95222e0dd36789d7fdd37bff20f033a47b0e3bff")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7e461be45d2c27be6f6d047d6b474302abc2396f")] [assembly: System.Reflection.AssemblyProductAttribute("TetoraKodakkuScript")] [assembly: System.Reflection.AssemblyTitleAttribute("TetoraKodakkuScript")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache b/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache index 0efa351..6fadd04 100644 --- a/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache +++ b/obj/Debug/net8.0-windows/TetoraKodakkuScript.AssemblyInfoInputs.cache @@ -1 +1 @@ -0d2c11b90053c3fd2a4bb09abf9e70c4d9d2d031e732d14a20d6d123534622e5 +2f2d257148330ad249e2c70c3912ba5fa928b7551ef2772237c79fb3df98ce27 diff --git a/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache b/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache index bb3a3a6..5faea27 100644 Binary files a/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache and b/obj/Debug/net8.0-windows/TetoraKodakkuScript.csproj.AssemblyReference.cache differ diff --git a/update.bat b/update.bat new file mode 100644 index 0000000..736ce0f --- /dev/null +++ b/update.bat @@ -0,0 +1,4 @@ +@echo off +cd /d "%~dp0" +python update_csproj.py +pause diff --git a/update_csproj.py b/update_csproj.py new file mode 100644 index 0000000..7876792 --- /dev/null +++ b/update_csproj.py @@ -0,0 +1,42 @@ +import os +import re +import xml.etree.ElementTree as ET + +APPDATA = os.getenv('APPDATA') +KODAKKU_PATH = os.path.join(APPDATA, "XIVLauncherCN", "installedPlugins", "KodakkuAssist") + +if not os.path.exists(KODAKKU_PATH): + print(f"❌ 目录不存在: {KODAKKU_PATH}") + exit(1) + +versions = [d for d in os.listdir(KODAKKU_PATH) if re.match(r'^\d+\.\d+\.\d+\.\d+$', d)] +if not versions: + print("❌ 未找到任何 KodakkuAssist 版本文件夹") + exit(1) + +latest_version = sorted(versions, key=lambda v: list(map(int, v.split('.'))), reverse=True)[0] +print(f"✅ 发现最新版本: {latest_version}") + +#下面改成你的csproj文件名 +CSPROJ_FILE = "TetoraKodakkuScript.csproj" +if not os.path.exists(CSPROJ_FILE): + print(f"❌ 未找到 .csproj 文件: {CSPROJ_FILE}") + exit(1) + +tree = ET.parse(CSPROJ_FILE) +root = tree.getroot() + +ns = {"msbuild": "http://schemas.microsoft.com/developer/msbuild/2003"} +ET.register_namespace('', ns["msbuild"]) + +for prop_group in root.findall("PropertyGroup", ns): + kodakku_elem = prop_group.find("KodakkuLibPath", ns) + if kodakku_elem is not None: + old_path = kodakku_elem.text + new_path = f"$(appdata)\\XIVLauncherCN\\installedPlugins\\KodakkuAssist\\{latest_version}\\" + kodakku_elem.text = new_path + print(f"🔄 替换路径: \n旧 -> {old_path}\n新 -> {new_path}") + break + +tree.write(CSPROJ_FILE, encoding="utf-8", xml_declaration=True) +print(f"✅ 更新成功: {CSPROJ_FILE}")