您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Parse Ranked War Report, value caches via Torn API, subtract faction cut, divide by hits to estimate pay per hit for both teams.
// --------------------------- NOTES & REQUIREMENTS ---------------------------
// • Reads team cache rewards and sums Attacks from the two member tables.
// • Values caches using Torn items endpoint (market_value). Cached 24h in storage.
// • Configurable faction cut (%) and API key via Tampermonkey menu.
// • If API fetch fails or times out, prints on-screen note to refresh in ~1 min.
// • Caches recognized: Armor Cache, Heavy Arms Cache, Medium Arms Cache, Melee Cache, Small Arms Cache.
// • All math: (Sum(cache_value) * qty) → subtotal; then subtract faction_cut% → pool; pool / total_hits(team) = pay_per_hit.
// • This is an estimator. Torn UI and endpoints can change; script is defensive where possible.
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址