修复rush重开跳转常规模式的bug;删除主页作战手册;手里剑电弧频率x3(pulse20->7);奇点炮牵引60->88/爆炸40->62/射程100->160帧

This commit is contained in:
JOJO 2026-08-05 22:07:40 +08:00
parent 3c1c996c87
commit 9cb99fb050
3 changed files with 4 additions and 24 deletions

View File

@ -24,7 +24,6 @@
<button class="btn gold" id="b-hangar">✦ 机库强化</button>
<button class="btn" id="b-codex">❖ 军械图鉴</button>
<button class="btn danger" id="b-rush">☠ BOSS 挑战</button>
<button class="btn" id="b-help">? 作战手册</button>
</div>
<div class="small" style="margin-top:8px">键盘 WASD/方向键 移动 · 自动射击 · 超频充满自动暴走<br>SHIFT 精密移动 · P 暂停 · M 音乐</div>
</div>
@ -74,23 +73,6 @@
<button class="btn" id="b-back2" style="margin-top:6px">返回</button>
</div>
<!-- 帮助 -->
<div class="ovl hide" id="o-help">
<div class="h2">— 作战手册 —</div>
<div class="panel help-list">
<b>移动</b> WASD / 方向键 / 触屏拖动<br>
<b>射击</b> 全自动,无需按键<br>
<b>暴走</b> 超频槽充满后自动触发火力×1.7<br>
<b>武器</b> 主武器无限叠加,抽到即入列<br>
<b>精密</b> SHIFT低速移动并显示判定点<br>
<b>擦弹</b> 贴近敌弹掠过可充能超频<br>
<b>结构值</b> 中弹扣血,归零才损失一条命<br>
<b>判定点</b> 仅机身中心 3 像素!<br>
<b>升级</b> 拾取经验宝石,三选一强化<br>
<b>星币</b> 击坠获得,局外永久强化
</div>
<button class="btn" id="b-back3">返回</button>
</div>
<!-- 升级三选一 -->
<div class="ovl hide" id="o-cards">

View File

@ -46,7 +46,7 @@ const WEAPONS={
boomerang:{name:"回旋镖",spr:"boomer",rare:0,beh:"boom",ds:"亮蓝回旋刃,远射贯穿后回旋返航",
lvl:w=>({n:1+Math.floor(w/2),dmg:7*(1+.22*(w-1)),int:21,spd:4.8})},
singularity:{name:"奇点炮",spr:"sing",rare:2,beh:"sing",ds:"发射微型黑洞,牵引后剧烈坍缩",
lvl:w=>({dmg:40*(1+.3*(w-1)),int:200,pull:60,aoe:40,fuse:100})},
lvl:w=>({dmg:40*(1+.3*(w-1)),int:200,pull:88,aoe:62,fuse:160})}, // 牵引/爆炸范围与射程增强
wavecannon:{name:"波动炮",spr:"waveb",rare:2,beh:"wave",ds:"蓄力斩出贯穿敌阵的剑气弧光",
lvl:w=>({dmg:32*(1+.3*(w-1)),charge:100-8*w,spd:5,width:14+6*w})},
holy:{name:"圣光弹",spr:"holyo",rare:2,beh:"holy",ds:"爆裂为旋转生长的圣光十字",
@ -54,7 +54,7 @@ const WEAPONS={
thundercall:{name:"落雷术",spr:"thnd",rare:1,beh:"thunder",ds:"呼唤天雷轰击前方区域",
lvl:w=>({n:2+Math.floor(w/2),dmg:12*(1+.25*(w-1)),int:90-4*w,aoe:13})},
arcshu:{name:"电弧手里剑",spr:"shuri",rare:2,beh:"shuriken",ds:"旋转雷刃一路放电,贯穿全场",
lvl:w=>({dmg:6*(1+.22*(w-1)),int:95-4*w,spd:2.2,zapDmg:5*(1+.25*(w-1)),pulse:20})},
lvl:w=>({dmg:6*(1+.22*(w-1)),int:95-4*w,spd:2.2,zapDmg:5*(1+.25*(w-1)),pulse:7})}, // 电弧释放速度×3
volt:{name:"电能机炮",spr:"voltb",rare:1,beh:"volt",ds:"高频电能弹,命中后电弧连锁跳跃",
lvl:w=>({n:1+Math.floor(w/3),dmg:3.2*(1+.2*(w-1)),int:5,spd:6.2,gap:5,chain:2+Math.floor(w/2)})},
dawn:{name:"黎明重炮",spr:"dawnsh",rare:2,beh:"dawn",ds:"长蓄力重炮,一炮轰出黎明",

View File

@ -1,6 +1,6 @@
"use strict";
/* ================= 界面流转 ================= */
const OVLS=["o-title","o-setup","o-hangar","o-help","o-cards","o-pause","o-over","o-codex","o-demo","o-rush","o-slot"];
const OVLS=["o-title","o-setup","o-hangar","o-cards","o-pause","o-over","o-codex","o-demo","o-rush","o-slot"];
function show(id){for(const o of OVLS)$(o).classList.toggle("hide",o!==id);}
const SETUP={mode:"stage",ship:"falcon",diff:0};
function bestLine(){
@ -8,8 +8,6 @@ function bestLine(){
$("best-line").textContent=`无尽纪录 ${Math.max(b.e0,b.e1)} · 闯关进度 ${b.stage}/6`;
}
$("b-go").onclick=()=>{AU.init();buildSetup();show("o-setup");};
$("b-help").onclick=()=>show("o-help");
$("b-back3").onclick=()=>show("o-title");
$("b-back1").onclick=()=>show("o-title");
$("b-back2").onclick=()=>show("o-title");
$("b-hangar").onclick=()=>{AU.init();buildShop();show("o-hangar");};
@ -21,7 +19,7 @@ $("b-back5").onclick=exitDemoSim;
$("b-start").onclick=()=>startGame();
if("ontouchstart" in window){const pb=$("tb-pause");pb.style.display="block";pb.onclick=()=>togglePause();}
$("b-resume").onclick=()=>togglePause();
$("b-restart").onclick=()=>{show("");startGame();};
$("b-restart").onclick=()=>{show("");if(G&&G.mode==="rush")startRush(G.rushIdx);else startGame();}; // Boss挑战重开仍在挑战模式
$("b-quit").onclick=()=>{bank();G=null;MUS.stop();UI="title";bestLine();show("o-title");};
$("b-again").onclick=()=>startGame();
$("b-home").onclick=()=>{UI="title";bestLine();show("o-title");};