feedback3 WJ: 高台 only for elite 歌蕾蒂娅 with HOK-Y

The trait line is on every hookmaster and is not trusted. Placement is the loadout at place time: golden 歌蕾蒂娅 carrying uniequip_003_glady may use a ranged tile; everyone else stays on the ground.
This commit is contained in:
sganggs committed 2026-10-04 20:31:46 +08:00
1 parent d5b945f14b
commit 5ef4fac137
23 files changed
+251 -174

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@
import { startServer } from '../../server/index.js';
import { Match } from '../../server/match/Match.js';
import { legalTiles, positionClass, tileKey } from '../../server/match/board.js';
import { legalTiles, placeClass, tileKey } from '../../server/match/board.js';
import { planLayout } from '../../server/match/bot.js';
if (!process.env.NODE_TEST_CONTEXT) {
@@ -104,7 +104,7 @@ if (!process.env.NODE_TEST_CONTEXT) {
const res = ps.move(piece.uid, { area: 'board', row, col }, plan.dirs.get(piece.uid) || 'RIGHT');
if (!res || !res.error) continue;
}
for (const [row, col] of legalTiles(ps.deployMap(), positionClass(this.gd.chess(piece.id)))) {
for (const [row, col] of legalTiles(ps.deployMap(), placeClass(ps, this.gd.chess(piece.id)))) {
if (ps.board.has(tileKey(row, col))) continue;
const res = ps.move(piece.uid, { area: 'board', row, col }, 'RIGHT');
if (!res || !res.error) break;