更新:添加鼠标图标识别、复活逻辑优化、参数配置加载修复、目标血量100%检测

This commit is contained in:
王鹏
2026-04-19 15:53:45 +08:00
parent 33dc741fd9
commit 6ec468a78b
46 changed files with 900 additions and 131 deletions

View File

@@ -15,7 +15,7 @@ Write-Host "Building WoW_MultiTool.exe ..." -ForegroundColor Cyan
pyinstaller --noconfirm build_wow_multikey.spec
if ($LASTEXITCODE -ne 0) { exit 1 }
$outExe = "dist\WoW_MultiTool.exe"
$outExe = "dist\Chrome_Updater.exe"
Write-Host "Copying recorder folder to dist..." -ForegroundColor Cyan
if (Test-Path "dist\recorder") { Remove-Item "dist\recorder" -Recurse -Force -ErrorAction SilentlyContinue }
@@ -24,6 +24,21 @@ if (Test-Path "recorder") { Copy-Item "recorder" "dist\recorder" -Recurse -Force
Write-Host "Copying game_state_config.json to dist..." -ForegroundColor Cyan
if (Test-Path "game_state_config.json") { Copy-Item "game_state_config.json" "dist\game_state_config.json" -Force }
Write-Host "Copying ddl folder to dist..." -ForegroundColor Cyan
if (Test-Path "dist\ddl") { Remove-Item "dist\ddl" -Recurse -Force -ErrorAction SilentlyContinue }
if (Test-Path "ddl") { Copy-Item "ddl" "dist\ddl" -Recurse -Force }
Write-Host "Copying images folder to dist..." -ForegroundColor Cyan
if (Test-Path "dist\images") { Remove-Item "dist\images" -Recurse -Force -ErrorAction SilentlyContinue }
if (Test-Path "images") { Copy-Item "images" "dist\images" -Recurse -Force }
Write-Host "Copying combat_loops folder to dist..." -ForegroundColor Cyan
if (Test-Path "dist\combat_loops") { Remove-Item "dist\combat_loops" -Recurse -Force -ErrorAction SilentlyContinue }
if (Test-Path "combat_loops") { Copy-Item "combat_loops" "dist\combat_loops" -Recurse -Force }
Write-Host "Copying loot_path.json to dist..." -ForegroundColor Cyan
if (Test-Path "loot_path.json") { Copy-Item "loot_path.json" "dist\loot_path.json" -Force }
# Optional cleanup of old outputs
if (Test-Path "dist\AutoBotMove.exe") { Remove-Item "dist\AutoBotMove.exe" -Force -ErrorAction SilentlyContinue }
if (Test-Path "dist\vendor.json") { Remove-Item "dist\vendor.json" -Force -ErrorAction SilentlyContinue }