mirror of
https://github.com/Hibiya615/TetoraKAScript.git
synced 2025-12-17 15:24:41 +08:00
版本更新
This commit is contained in:
@@ -31,7 +31,7 @@ public class Eureka_Orthos {
|
||||
严重错误:暂未支持【缓速】【形态变化】【石化】【眩晕】【催眠】等限制
|
||||
怪物死亡也暂时没有销毁绘图,先拯救ARR完再说[?]
|
||||
""";
|
||||
|
||||
|
||||
//对应怪物死亡、眩晕、催眠、石化1511、无法发动技能1113等状态都需要销毁绘图,缓速3493需要额外注意没有omen的技能
|
||||
// 71~79层 【正统狼獾 杀人爪】【正统雷兽 尾镰】【正统雷兽 电火花】均未支持缓速
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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": ""
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
@@ -10,7 +11,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<DalamudLibPath>$(appdata)\XIVLauncherCN\addon\Hooks\dev\</DalamudLibPath>
|
||||
<KodakkuLibPath>$(appdata)\XIVLauncherCN\installedPlugins\KodakkuAssist\0.1.15.0\</KodakkuLibPath>
|
||||
<KodakkuLibPath>$(appdata)\XIVLauncherCN\installedPlugins\KodakkuAssist\0.1.17.0\</KodakkuLibPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -47,4 +48,4 @@
|
||||
<Folder Include="05-Eden\Savage\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
@@ -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")]
|
||||
|
||||
@@ -1 +1 @@
|
||||
0d2c11b90053c3fd2a4bb09abf9e70c4d9d2d031e732d14a20d6d123534622e5
|
||||
2f2d257148330ad249e2c70c3912ba5fa928b7551ef2772237c79fb3df98ce27
|
||||
|
||||
Binary file not shown.
4
update.bat
Normal file
4
update.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
python update_csproj.py
|
||||
pause
|
||||
42
update_csproj.py
Normal file
42
update_csproj.py
Normal file
@@ -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}")
|
||||
Reference in New Issue
Block a user