4 Commits

Author SHA1 Message Date
Yue-bin
498ed5729c docs(README): 添加刷枪档位参照表和详细说明
添加了刷枪档位参照表,包含所有档位的刷枪间隔、开局刷枪时延和连续刷枪概率
详细说明了刷枪机制的工作原理,包括开局刷枪时延、刷枪间隔和连续刷枪概率的
作用方式,帮助用户更好地理解不同档位的差异和使用方法
2026-06-12 01:26:31 +08:00
Yue-bin
63b0ab1393 chore(ci): 配置.NET构建工作流代理设置
All checks were successful
Publish Release / build (push) Successful in 33s
为解决依赖包还原问题,在Gitea工作流中添加HTTP/HTTPS代理配置,
包括代理服务器地址和本地网络排除规则。
2026-06-11 02:11:04 +08:00
Yue-bin
c3f48b9fde chore(workflow): another try
Some checks failed
Publish Release / build (push) Failing after 3m54s
2026-06-11 01:56:00 +08:00
Yue-bin
7c203f130a chore(workflow): 配置华为云和腾讯云NuGet镜像以提升包恢复速度
Some checks failed
Publish Release / build (push) Failing after 4m16s
# 华为云和腾讯云的 NuGet 镜像配置
- 替换原有的网络诊断步骤为NuGet镜像配置
- 添加华为云和腾讯云的NuGet源到nuget.config文件
- 修改dotnet restore命令使用配置文件而非直接指定源地址
2026-06-10 17:41:36 +08:00
2 changed files with 22 additions and 13 deletions

View File

@@ -18,20 +18,14 @@ jobs:
uses: http://MonBianG.lan:3000/action/setup-dotnet@v4.3.0
with:
dotnet-version: 8.0.x
- name: Diagnose network
run: |
echo "=== DNS test ==="
nslookup api.nuget.org || dig api.nuget.org || echo "DNS failed"
echo "=== Curl test (nuget.org) ==="
curl -v --connect-timeout 10 https://api.nuget.org/v3/index.json 2>&1 || echo "curl failed"
echo "=== Curl test (huawei mirror) ==="
curl -v --connect-timeout 10 https://repo.huaweicloud.com/repository/nuget/v3/index.json 2>&1 || echo "curl failed"
echo "=== Proxy env ==="
env | grep -i proxy || echo "no proxy set"
- name: Restore dependencies
run: dotnet restore --source "https://repo.huaweicloud.com/repository/nuget/v3/index.json"
run: dotnet restore
# 直接加代理得了
env:
http_proxy: "http://172.17.0.1:7890"
https_proxy: "http://172.17.0.1:7890"
no_proxy: "localhost,127.0.0.1,*.lan"
- name: Build
run: dotnet build --no-restore --configuration Release

View File

@@ -2,6 +2,21 @@
嫌high刷枪频率刷的不够快
## 刷枪档位参照表
*其中斜体为本mod新增档位*
| 选项 | 刷枪间隔 | 开局刷枪时延 | 连续刷枪概率 |
| :-----: | :------: | :----------: | :----------: |
| NONE | - | - | - |
| LOW | 8-12s | 4-8s | 10% |
| NORMAL | 5-8s | 2-4s | 10% |
| HIGH | 3-5s | 0.5-1s | 10% |
| *XHIGH* | 1-3s | 0.3s | 10% |
| *MAX* | 0.5-1s | 0s | 10% |
在每局开局`开局刷枪时延`结束后会刷第一把枪,随后每隔`刷枪间隔`会刷一把枪,每次刷枪均有`连续刷枪概率`的概率会连续刷枪,注意连续刷枪可以不仅一次刷两把枪,每次连续刷枪概率均为`连续刷枪概率`
## 功能
* 添加xhigh和max两档更高的刷枪频率