prts-moonlit 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gacha.html +10 -5
- package/index.html +14 -9
- package/ledger.html +11 -6
- package/package.json +2 -2
package/gacha.html
CHANGED
|
@@ -1030,11 +1030,16 @@ document.addEventListener('pointerdown',function(){ac()},{once:true});
|
|
|
1030
1030
|
function kick(){if(ctx&&ctx.state!=='running'&&ctx.resume){try{ctx.resume()}catch(e){}}if(!want||playing())return;if(bURL)ensure();else pend=1}
|
|
1031
1031
|
document.addEventListener('pointerdown',kick,true);
|
|
1032
1032
|
au.addEventListener('playing',function(){document.removeEventListener('pointerdown',kick,true)});
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1033
|
+
var _ld=0;
|
|
1034
|
+
function loadBgm(){if(_ld)return;_ld=1;
|
|
1035
|
+
fetch('bgm.mp3').then(function(r){return r.arrayBuffer()}).then(function(a){
|
|
1036
|
+
abuf=a;bURL=URL.createObjectURL(new Blob([a],{type:'audio/mpeg'}));
|
|
1037
|
+
if(elemTried&&want){warmOnly=1;toWA()}
|
|
1038
|
+
if(want&&!playing()){pend=0;ensure()}
|
|
1039
|
+
}).catch(function(){});
|
|
1040
|
+
}
|
|
1041
|
+
setTimeout(loadBgm,2500);
|
|
1042
|
+
document.addEventListener('pointerdown',loadBgm,true);
|
|
1038
1043
|
if(want){setTimeout(function(){if(!playing()&&bURL){ensure()}},400)}
|
|
1039
1044
|
window.__bgmFade=function(){savePos();try{if(node&&gn){var g0=gn.gain.value,t0=Date.now();var iv=setInterval(function(){var k=Math.max(0,1-(Date.now()-t0)/500);gn.gain.value=g0*k;if(k<=0)clearInterval(iv)},60)}}catch(e){}};
|
|
1040
1045
|
})();
|
package/index.html
CHANGED
|
@@ -679,11 +679,16 @@ img.av{filter:saturate(1.1) contrast(1.05) -webkit-user-drag:none}
|
|
|
679
679
|
function kick(){if(ctx&&ctx.state!=='running'&&ctx.resume){try{ctx.resume()}catch(e){}}if(!want||playing())return;if(bURL)ensure();else pend=1}
|
|
680
680
|
document.addEventListener('pointerdown',kick,true);
|
|
681
681
|
au.addEventListener('playing',function(){document.removeEventListener('pointerdown',kick,true)});
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
682
|
+
var _ld=0;
|
|
683
|
+
function loadBgm(){if(_ld)return;_ld=1;
|
|
684
|
+
fetch('bgm.mp3').then(function(r){return r.arrayBuffer()}).then(function(a){
|
|
685
|
+
abuf=a;bURL=URL.createObjectURL(new Blob([a],{type:'audio/mpeg'}));
|
|
686
|
+
if(elemTried&&want){warmOnly=1;toWA()}
|
|
687
|
+
if(want&&!playing()){pend=0;ensure()}
|
|
688
|
+
}).catch(function(){});
|
|
689
|
+
}
|
|
690
|
+
setTimeout(loadBgm,2500);
|
|
691
|
+
document.addEventListener('pointerdown',loadBgm,true);
|
|
687
692
|
if(want){setTimeout(function(){if(!playing()&&bURL){ensure()}},400)}
|
|
688
693
|
window.__bgmFade=function(){savePos();try{if(node&&gn){var g0=gn.gain.value,t0=Date.now();var iv=setInterval(function(){var k=Math.max(0,1-(Date.now()-t0)/500);gn.gain.value=g0*k;if(k<=0)clearInterval(iv)},60)}}catch(e){}};
|
|
689
694
|
})();
|
|
@@ -2250,8 +2255,8 @@ V.ledger=function(){LG.load();LG.paint()};
|
|
|
2250
2255
|
/* ================= 战绩数据(WHALE_STATS)=================
|
|
2251
2256
|
本块由 /var/minis/shared/whale/sync_record_stats.py 从 战绩簿 自动生成。
|
|
2252
2257
|
更新流程:改 shared/whale/战绩.md → 跑 sync_record_stats.py → 本块自动重写 */
|
|
2253
|
-
/*WHALE_STATS:BEGIN —— 由 sync_record_stats.py 自动生成于 2026-09-27
|
|
2254
|
-
var WHALE_STATS={"updated":"2026-09-27","stats":[["报备次数","
|
|
2258
|
+
/*WHALE_STATS:BEGIN —— 由 sync_record_stats.py 自动生成于 2026-09-27 02:16;改数据请改 战绩.md 后重跑本脚本 */
|
|
2259
|
+
var WHALE_STATS={"updated":"2026-09-27","stats":[["报备次数","6"],["累计抽数","22,613"],["累计六星","681"],["综合出率","3.012%"],["违约","0 次"],["单发最欧","1 抽"]],"reports":[{"d":"2026-09-26","pool":"池子未确认(主人「好像半周年」)","n":"10,000","six":"288","rate":"2.88%","gap":"34.7 抽","note":"✅ 数据有效——6★ 基础率与池子无关;理论 2.889% / 34.61 抽,偏差仅 −0.009pp ✅ 后来由数字反推:2.88% 更贴近非联动池(2.889%)而非联动池(3.00%)→ 主人的直觉正确"},{"d":"2026-09-26","pool":"彩虹六号联动(井 5/120)","n":"10,000","six":"321","rate":"3.21%","gap":"31.1 抽","note":"联动池理论 ~3.02%(含 120 硬保底),+1.1σ ✓ 正常;最欧 1 抽(一发入魂);5★ 767 个 = 7.67%(理论 8%,−3.7σ ⚠️ 偏门样本或抄录误差;20 万抽对照实测 7.985%,系统无问题)"},{"d":"2026-09-26","pool":"标准寻访(模拟器一键报备)","n":"13","six":"1","rate":"7.69%","gap":"13.0 抽","note":"🍀 唯一一彩恰落第 13 抽(未触软保底,纯运气);期望 0.26~0.38 个 → +1~1.5σ 小欧;5★×2(期望 1.04)"},{"d":"2026-09-26","pool":"P3R 联动(井 15/120)","n":"600","six":"16","rate":"2.67%","gap":"36.6 抽","note":"联动池理论 ~3.02%(含 120 硬保底);期望 18.12 个 → −0.51σ 正常波动(略非);5★ 45 个 = 7.50%(理论 8%,−0.45σ);最非 66 抽(未触软保底)· 最欧 4 抽;注:16 个六星里若有 UP 需主人补报是哪位干员"},{"d":"2026-09-27","pool":"标准寻访(模拟器)","n":"1,500","six":"37","rate":"2.47%","gap":"39.1 抽","note":"标准池理论 ~2.89%(2% 基础+软保底),期望 43.3 个 → −0.97σ 正常偏非;5★ 127 个 = 8.47%(理论 8%,+0.67σ ✓);最非 70 抽(刷新最非记录,前值 66,仍未触 99 硬保底)· 最欧 2 抽(单发总记录仍是 1 抽)"},{"d":"2026-09-27","pool":"Ave Mujica 联动(井 59/120)","n":"500","six":"18","rate":"3.60%","gap":"24.5 抽","note":"联动池理论 ~3.02%(含 120 硬保底),期望 15.1 个 → +0.76σ 正常偏欧;5★ 27 个 = 5.40%(理论 8%,−2.14σ ⚠️ 五星大非号角);最非 58 抽 · 最欧 2 抽(单发总记录仍 1 抽)"},{"d":"2026-09-26","pool":"彩虹六号联动(1 亿抽大样本)","n":"100,000,000","six":"3,036,676","rate":"3.03668%","gap":"—","note":"五批 × 2000 万,共约 76 秒。保底触发 248,381 次(0.248%)。概率再分配账目精确守恒:6★ 多出 +1.03668pp = 5★ −0.0193pp + 4★ −0.13008pp + 3★ −0.8873pp"}],"mine":[{"d":"2026-09-26","pool":"Ave Mujica 联动","n":"120","got":"丰川祥子(6★)","note":"踩中 120 硬保底最后一抽"},{"d":"2026-09-26","pool":"中坚寻访","n":"550","got":"斯卡蒂(6★)","note":"无 UP 无井,纯抽;期望 1660"},{"d":"2026-09-26","pool":"周年限定","n":"70","got":"可露希尔 + 凯尔希·思衡托","note":"70 抽两个六星,全 UP 组"}]};
|
|
2255
2260
|
/*WHALE_STATS:END*/
|
|
2256
2261
|
|
|
2257
2262
|
/* ================= VIEW: RECORDS(战绩)================= */
|
|
@@ -2658,8 +2663,8 @@ document.addEventListener('pointerdown',function(){ac()},{once:true});
|
|
|
2658
2663
|
|
|
2659
2664
|
/* ================= INIT ================= */
|
|
2660
2665
|
$('#home').classList.add('on');applyCrt();
|
|
2661
|
-
['hero','crew','card','boy','fig','face','grn','taro','scene'].forEach(function(n){
|
|
2662
|
-
var i=new Image();i.src='assets/'+n+'.jpg';});
|
|
2666
|
+
setTimeout(function(){['hero','crew','card','boy','fig','face','grn','taro','scene'].forEach(function(n){
|
|
2667
|
+
var i=new Image();i.src='assets/'+n+'.jpg';});},4000);
|
|
2663
2668
|
mkDeco();buildMenu();syncRes();updTopStats();setInterval(updTopStats,5000);pulse();
|
|
2664
2669
|
requestAnimationFrame(loop);
|
|
2665
2670
|
boot();
|
package/ledger.html
CHANGED
|
@@ -793,7 +793,7 @@ window.LEDGER_BACKUP = [];
|
|
|
793
793
|
function goHome() {
|
|
794
794
|
try{window.__bgmFade&&window.__bgmFade()}catch(e){}
|
|
795
795
|
var p = location.pathname || '';
|
|
796
|
-
var u = 'index.html';
|
|
796
|
+
var u = /\/akp3\//.test(p) ? 'index.html' : 'index.html';
|
|
797
797
|
setTimeout(function () { location.href = u; }, 380);
|
|
798
798
|
}
|
|
799
799
|
|
|
@@ -990,11 +990,16 @@ window.LEDGER_BACKUP = [];
|
|
|
990
990
|
function kick(){if(ctx&&ctx.state!=='running'&&ctx.resume){try{ctx.resume()}catch(e){}}if(!want||playing())return;if(bURL)ensure();else pend=1}
|
|
991
991
|
document.addEventListener('pointerdown',kick,true);
|
|
992
992
|
au.addEventListener('playing',function(){document.removeEventListener('pointerdown',kick,true)});
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
993
|
+
var _ld=0;
|
|
994
|
+
function loadBgm(){if(_ld)return;_ld=1;
|
|
995
|
+
fetch('bgm.mp3').then(function(r){return r.arrayBuffer()}).then(function(a){
|
|
996
|
+
abuf=a;bURL=URL.createObjectURL(new Blob([a],{type:'audio/mpeg'}));
|
|
997
|
+
if(elemTried&&want){warmOnly=1;toWA()}
|
|
998
|
+
if(want&&!playing()){pend=0;ensure()}
|
|
999
|
+
}).catch(function(){});
|
|
1000
|
+
}
|
|
1001
|
+
setTimeout(loadBgm,2500);
|
|
1002
|
+
document.addEventListener('pointerdown',loadBgm,true);
|
|
998
1003
|
if(want){setTimeout(function(){if(!playing()&&bURL){ensure()}},400)}
|
|
999
1004
|
window.__bgmFade=function(){savePos();try{if(node&&gn){var g0=gn.gain.value,t0=Date.now();var iv=setInterval(function(){var k=Math.max(0,1-(Date.now()-t0)/500);gn.gain.value=g0*k;if(k<=0)clearInterval(iv)},60)}}catch(e){}};
|
|
1000
1005
|
})();
|
package/package.json
CHANGED